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

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


Detailed Description

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

Definition at line 48 of file TypeCode_Traits.h.


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.

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.


Member Function Documentation

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

Definition at line 63 of file TypeCode_Traits.h.

00064       {
00065         return str;
00066       }

static 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().

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


The documentation for this struct was generated from the following file:
Generated on Tue Feb 2 17:40:32 2010 for TAO_AnyTypeCode by  doxygen 1.4.7