summaryrefslogtreecommitdiff
path: root/TAO/tests/LongDouble/LongDoubleTest.cpp
blob: 8544f922c22e436ebfcbd3063a1250c08eb5b902 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// $Id$

#include "LongDoubleTest.h"
#include "Global.h"

LongDoubleTest::LongDoubleTest (CORBA::ORB_ptr orb)
  : orb_ (CORBA::ORB::_duplicate (orb))
{
}

CORBA::LongDouble
LongDoubleTest::get_long_double ()
{
  CORBA::LongDouble ld;
  ACE_CDR_LONG_DOUBLE_ASSIGNMENT (ld, Global::get_long_double ());
  return ld;
}

void
LongDoubleTest::shutdown ()
{
  this->orb_->shutdown (0);
}