TAO::TypeCode::Traits< STATIC_TYPECODE > Struct Template Reference

#include <TypeCode_Traits.h>

List of all members.

Public Types

typedef char const * string_type
typedef CORBA::TypeCode_ptr
const * 
typecode_type
typedef TAO::Null_RefCount_Policy refcount_policy_type

Static Public Member Functions

char const * get_string (string_type const &str)
CORBA::TypeCode_ptr get_typecode (typecode_type const &tc)

template<>
struct TAO::TypeCode::Traits< STATIC_TYPECODE >


Member Typedef Documentation

typedef TAO::Null_RefCount_Policy TAO::TypeCode::Traits< STATIC_TYPECODE >::refcount_policy_type
 

Definition at line 61 of file TypeCode_Traits.h.

typedef char const* TAO::TypeCode::Traits< STATIC_TYPECODE >::string_type
 

Definition at line 50 of file TypeCode_Traits.h.

Referenced by get_string().

typedef CORBA::TypeCode_ptr const* TAO::TypeCode::Traits< STATIC_TYPECODE >::typecode_type
 

A pointer to the CORBA::TypeCode_ptr rather than the CORBA::TypeCode_ptr itself is stored since that address is well-defined. We may not know the value of the CORBA::TypeCode_ptr when creating a static object that refers to it, hence the indirection.

Definition at line 59 of file TypeCode_Traits.h.

Referenced by get_typecode().


Member Function Documentation

char const* TAO::TypeCode::Traits< STATIC_TYPECODE >::get_string string_type const &  str  )  [inline, static]
 

Definition at line 63 of file TypeCode_Traits.h.

References string_type.

00064       {
00065         return str;
00066       }

CORBA::TypeCode_ptr TAO::TypeCode::Traits< STATIC_TYPECODE >::get_typecode typecode_type const &  tc  )  [inline, static]
 

Definition at line 68 of file TypeCode_Traits.h.

References CORBA::TypeCode::_nil(), and typecode_type.

00069       {
00070         return (tc == 0 ? CORBA::TypeCode::_nil () : *tc);
00071       }


The documentation for this struct was generated from the following file:
Generated on Sun Jan 27 13:22:15 2008 for TAO_AnyTypeCode by doxygen 1.3.6