Merge pull request #1551 from DOCGroup/plm_jira_333
[ACE_TAO.git] / TAO / orbsvcs / tests / Trading / Simple_Dynamic.cpp
blobfbd6b915254aa74cafedc760b043dd2e97023b43
1 #ifndef TAO_SIMPLE_DYNAMIC_C
2 #define TAO_SIMPLE_DYNAMIC_C
4 #include "Simple_Dynamic.h"
8 template <class T>
9 TAO_Simple_Dynamic_Property<T>::TAO_Simple_Dynamic_Property (const T& dp)
10 : dp_ (dp)
14 template <class T> CORBA::Any*
15 TAO_Simple_Dynamic_Property<T>::evalDP (const char*,
16 CORBA::TypeCode_ptr,
17 const CORBA::Any&)
19 CORBA::Any* return_value = 0;
20 ACE_NEW_RETURN (return_value, CORBA::Any, 0);
22 (*return_value) <<= this->dp_;
23 return return_value;
26 #endif /* TAO_SIMPLE_DYNAMIC_C */