TAO::CreateDynAnyUtils< DA_IMPL, ANY_TC > Struct Template Reference

#include <DynAnyUtils_T.h>

List of all members.

Static Public Member Functions

static DynamicAny::DynAny_ptr create_dyn_any_t (ANY_TC any_tc)


Detailed Description

template<typename DA_IMPL, typename ANY_TC>
struct TAO::CreateDynAnyUtils< DA_IMPL, ANY_TC >

Definition at line 61 of file DynAnyUtils_T.h.


Member Function Documentation

template<typename DA_IMPL, typename ANY_TC>
DynamicAny::DynAny_ptr TAO::CreateDynAnyUtils< DA_IMPL, ANY_TC >::create_dyn_any_t ( ANY_TC  any_tc  )  [static]

Definition at line 110 of file DynAnyUtils_T.cpp.

References ACE_NEW_THROW_EX, and ACE_Auto_Basic_Ptr< X >::release().

00111   {
00112     DA_IMPL *p = 0;
00113     ACE_NEW_THROW_EX (p,
00114                       DA_IMPL,
00115                       CORBA::NO_MEMORY ());
00116 
00117     ACE_Auto_Basic_Ptr<DA_IMPL> dp (p);
00118     p->init (any_tc);
00119 
00120     return dp.release ();
00121   }


The documentation for this struct was generated from the following files:
Generated on Tue Feb 2 17:43:14 2010 for TAO_DynamicAny by  doxygen 1.4.7