TAO_AnyTypeCode  2.1.7
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Macros Pages
Public Types | Static Public Member Functions
TAO::TypeCode::Traits< STATIC_TYPECODE > Struct Template Reference

#include <TypeCode_Traits.h>

Collaboration diagram for TAO::TypeCode::Traits< STATIC_TYPECODE >:
Collaboration graph

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)

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)
inlinestatic
static CORBA::TypeCode_ptr TAO::TypeCode::Traits< STATIC_TYPECODE >::get_typecode ( typecode_type const &  tc)
inlinestatic

The documentation for this struct was generated from the following file: