diff options
| author | Abdullah Sowayan <sowayan@users.noreply.github.com> | 2007-03-18 22:22:42 +0000 |
|---|---|---|
| committer | Abdullah Sowayan <sowayan@users.noreply.github.com> | 2007-03-18 22:22:42 +0000 |
| commit | d66fcc9b4aaec8e88eeb83fc578fdf8a3cc963de (patch) | |
| tree | d4dc0749f83b47a918ca45ffebea0f2c0170c468 /TAO/tests/LongDouble/LongDoubleTest.cpp | |
| parent | e34168a8b5966b1c5ae3f0ac26a1795119b26472 (diff) | |
| download | ATCD-d66fcc9b4aaec8e88eeb83fc578fdf8a3cc963de.tar.gz | |
Diffstat (limited to 'TAO/tests/LongDouble/LongDoubleTest.cpp')
| -rw-r--r-- | TAO/tests/LongDouble/LongDoubleTest.cpp | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/TAO/tests/LongDouble/LongDoubleTest.cpp b/TAO/tests/LongDouble/LongDoubleTest.cpp new file mode 100644 index 00000000000..1980e729449 --- /dev/null +++ b/TAO/tests/LongDouble/LongDoubleTest.cpp @@ -0,0 +1,26 @@ +// +// $Id$ +// +#include "LongDoubleTest.h" +#include "Global.h" + +ACE_RCSID (LongDoubleTest, LongDoubleTest, "$Id$") + +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); +} |
