TAO_AnyTypeCode  2.0.8
Public Types | Static Public Member Functions
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)

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


Member Typedef Documentation

typedef TAO::Null_RefCount_Policy TAO::TypeCode::Traits< STATIC_TYPECODE >::refcount_policy_type
typedef char const* TAO::TypeCode::Traits< STATIC_TYPECODE >::string_type
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.


Member Function Documentation

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

The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Defines