Classes | Typedefs | Functions | Variables

TAO::TypeCode Namespace Reference

Classes

class  Alias
 CORBA::TypeCode implementation for an OMG IDL typedef. More...
class  Alias< char const *, CORBA::TypeCode_ptr const *, TAO::Null_RefCount_Policy >
class  Empty_Param
 CORBA::TypeCode implementation for OMG IDL types with empty parameter lists. More...
class  Enum
 CORBA::TypeCode implementation for an OMG IDL enum. More...
class  Enum< char const *, char const *const *, TAO::Null_RefCount_Policy >
class  Fixed
 CORBA::TypeCode implementation for the OMG IDL fixed types. More...
class  Objref
 CORBA::TypeCode implementation for an OMG IDL object and object-like types. More...
class  Objref< char const *, TAO::Null_RefCount_Policy >
class  Recursive_Type
 Recursive type TypeCode decorator template. More...
class  Sequence
 CORBA::TypeCode implementation for OMG IDL sequence and array types. More...
class  Sequence< CORBA::TypeCode_ptr const *, TAO::Null_RefCount_Policy >
class  String
 CORBA::TypeCode implementation for OMG IDL string types. More...
class  String< TAO::Null_RefCount_Policy >
class  Struct
 CORBA::TypeCode implementation for an OMG IDL struct or exception. More...
class  Struct< char const *, CORBA::TypeCode_ptr const *, Struct_Field< char const *, CORBA::TypeCode_ptr const * > const *, TAO::Null_RefCount_Policy >
class  Base_Attributes
 Attributes contained by most TypeCodes with complex parameter lists. More...
class  Case
 Abstract base class for that represents an IDL union case/member. More...
class  Case_Enum_T
 Representation of an OMG IDL defined union case for unions with Enum discriminators. More...
struct  Case_Traits
struct  Case_Traits< CORBA::Boolean >
struct  Case_Traits< CORBA::Char >
class  Case_T
 Representation of an OMG IDL defined union case. More...
struct  Struct_Field
 Name/type pair for fields of an OMG IDL defined structure or exception. More...
struct  Traits< STATIC_TYPECODE >
struct  Traits< DYNAMIC_TYPECODE >
struct  Traits< Traits< STATIC_TYPECODE >::typecode_type >
struct  Traits< Traits< DYNAMIC_TYPECODE >::typecode_type >
struct  Value_Field
 Name/type/visibility tuple fields of an OMG IDL defined valuetype or eventtype. More...
class  Union
 CORBA::TypeCode implementation for an OMG IDL union. More...
class  Union< char const *, CORBA::TypeCode_ptr const *, Case< char const *, CORBA::TypeCode_ptr const * > const *const *, TAO::Null_RefCount_Policy >
class  Value
 CORBA::TypeCode implementation for an OMG IDL valuetype or event. More...
class  Value< char const *, CORBA::TypeCode_ptr const *, Value_Field< char const *, CORBA::TypeCode_ptr const * > const *, TAO::Null_RefCount_Policy >

Typedefs

typedef TAO::TypeCode::Struct
< char const
*, CORBA::TypeCode_ptr const
*, TAO::TypeCode::Struct_Field
< char const
*, CORBA::TypeCode_ptr const * >
const
*, TAO::Null_RefCount_Policy > 
tc_SystemException
typedef Case
< CORBA::String_var,
CORBA::TypeCode_var
Case_Dynamic
typedef char const * STATIC_TYPECODE
typedef CORBA::String_var DYNAMIC_TYPECODE

Functions

TAO_AnyTypeCode_Export bool marshal (TAO_OutputCDR &cdr, CORBA::TypeCode_ptr tc, CORBA::ULong offset)
TAO_AnyTypeCode_Export CORBA::ULong aligned_offset (CORBA::ULong offset)
 Return offset aligned on the appropriate CDR boundary.

Variables

char const *const enumerators_CORBA_CompletionStatus []
Enum< char const *, char const
*const
*, TAO::Null_RefCount_Policy > 
tc_CompletionStatus ("IDL:omg.org/CORBA/CompletionStatus:1.0","CompletionStatus", enumerators_CORBA_CompletionStatus, 3)
Struct_Field< char const
*, CORBA::TypeCode_ptr const * >
const 
fields_CORBA_SystemException []
Empty_Param tc_null (CORBA::tk_null)
Empty_Param tc_void (CORBA::tk_void)
Empty_Param tc_boolean (CORBA::tk_boolean)
Empty_Param tc_char (CORBA::tk_char)
Empty_Param tc_wchar (CORBA::tk_wchar)
Empty_Param tc_short (CORBA::tk_short)
Empty_Param tc_ushort (CORBA::tk_ushort)
Empty_Param tc_long (CORBA::tk_long)
Empty_Param tc_ulong (CORBA::tk_ulong)
Empty_Param tc_longlong (CORBA::tk_longlong)
Empty_Param tc_ulonglong (CORBA::tk_ulonglong)
Empty_Param tc_float (CORBA::tk_float)
Empty_Param tc_double (CORBA::tk_double)
Empty_Param tc_longdouble (CORBA::tk_longdouble)
Empty_Param tc_octet (CORBA::tk_octet)
Empty_Param tc_any (CORBA::tk_any)
Empty_Param tc_TypeCode (CORBA::tk_TypeCode)
Empty_Param tc_Principal (CORBA::tk_Principal)
String< TAO::Null_RefCount_Policy > tc_string (CORBA::tk_string, 0)
String< TAO::Null_RefCount_Policy > tc_wstring (CORBA::tk_wstring, 0)
char const tc_object_id [] = "IDL:omg.org/CORBA/Object:1.0"
char const tc_object_name [] = "Object"
Objref< char const
*, TAO::Null_RefCount_Policy > 
tc_Object (CORBA::tk_objref, tc_object_id, tc_object_name)
char const tc_component_id [] = "IDL:omg.org/CORBA/CCMObject:1.0"
char const tc_component_name [] = "CCMObject"
Objref< char const
*, TAO::Null_RefCount_Policy > 
tc_Component (CORBA::tk_component, tc_component_id, tc_component_name)
char const tc_home_id [] = "IDL:omg.org/CORBA/CCMHome:1.0"
char const tc_home_name [] = "CCMHome"
Objref< char const
*, TAO::Null_RefCount_Policy > 
tc_Home (CORBA::tk_home, tc_home_id, tc_home_name)
char const tc_bounds_id [] = "IDL:omg.org/CORBA/TypeCode/Bounds:1.0"
char const tc_bounds_name [] = "Bounds"
Struct< char const
*, CORBA::TypeCode_ptr const
*, Struct_Field< char const
*, CORBA::TypeCode_ptr const * >
const
*, TAO::Null_RefCount_Policy > 
tc_Bounds (CORBA::tk_except, tc_bounds_id, tc_bounds_name, 0, 0)
char const tc_bad_kind_id [] = "IDL:omg.org/CORBA/TypeCode/BadKind:1.0"
char const tc_bad_kind_name [] = "BadKind"
Struct< char const
*, CORBA::TypeCode_ptr const
*, Struct_Field< char const
*, CORBA::TypeCode_ptr const * >
const
*, TAO::Null_RefCount_Policy > 
tc_BadKind (CORBA::tk_except, tc_bad_kind_id, tc_bad_kind_name, 0, 0)
Struct_Field< char const
*, CORBA::TypeCode_ptr const * >
const 
fields_CORBA_UnknownUserException []
Struct< char const
*, CORBA::TypeCode_ptr const
*, Struct_Field< char const
*, CORBA::TypeCode_ptr const * >
const
*, TAO::Null_RefCount_Policy > 
tc_UnknownUserException (CORBA::tk_except,"IDL:omg.org/CORBA/UnknownUserException:1.0","UnknownUserException", TAO::TypeCode::fields_CORBA_UnknownUserException, 1)
Objref< char const
*, TAO::Null_RefCount_Policy > 
tc_AbstractBase (CORBA::tk_abstract_interface, tc_object_id, tc_object_name)
char const tc_value_base_id [] = "IDL:omg.org/CORBA/ValueBase:1.0"
char const tc_value_base_name [] = "ValueBase"
Value< char const
*, CORBA::TypeCode_ptr const
*, Value_Field< char const
*, CORBA::TypeCode_ptr const * >
const
*, TAO::Null_RefCount_Policy > 
tc_ValueBase (CORBA::tk_value, tc_value_base_id, tc_value_base_name, CORBA::VM_NONE,&CORBA::_tc_null, 0, 0)
char const tc_event_base_id [] = "IDL:omg.org/CORBA/EventBase:1.0"
char const tc_event_base_name [] = "EventBase"
Value< char const
*, CORBA::TypeCode_ptr const
*, Value_Field< char const
*, CORBA::TypeCode_ptr const * >
const
*, TAO::Null_RefCount_Policy > 
tc_EventBase (CORBA::tk_event, tc_event_base_id, tc_event_base_name, CORBA::VM_NONE,&CORBA::_tc_null, 0, 0)

Typedef Documentation

Definition at line 154 of file TypeCode_Case_Base_T.h.

Definition at line 42 of file TypeCode_Traits.h.

typedef char const* TAO::TypeCode::STATIC_TYPECODE

Definition at line 41 of file TypeCode_Traits.h.

typedef TAO::TypeCode::Struct<char const *, CORBA::TypeCode_ptr const *, TAO::TypeCode::Struct_Field<char const *, CORBA::TypeCode_ptr const *> const *, TAO::Null_RefCount_Policy> TAO::TypeCode::tc_SystemException

Definition at line 115 of file SystemExceptionA.cpp.


Function Documentation

CORBA::ULong TAO::TypeCode::aligned_offset ( CORBA::ULong  offset  ) 

Return offset aligned on the appropriate CDR boundary.

Definition at line 339 of file TypeCode.cpp.

{
  ptrdiff_t const unaligned_offset =
    static_cast<ptrdiff_t> (offset);

  return
    static_cast<CORBA::ULong> (ACE_align_binary (unaligned_offset,
                                                 ACE_CDR::LONG_ALIGN));
}

bool TAO::TypeCode::marshal ( TAO_OutputCDR cdr,
CORBA::TypeCode_ptr  tc,
CORBA::ULong  offset 
)

Marshal the TypeCode tc in to the output CDR stream cdr.

See also:
TypeCode::tao_marshal() description for details.

Definition at line 323 of file TypeCode.cpp.

{
  // Marshal the TypeCode TCKind and TypeCode body.
  //
  // Update the offset value in case a recursive TypeCode is being
  // marshaled.

  return
    tc != 0
    && tc->tao_marshal_kind (cdr)
    && tc->tao_marshal (cdr, aligned_offset (offset) + sizeof (CORBA::ULong));
}


Variable Documentation

Initial value:
      {
        "COMPLETED_YES",
        "COMPLETED_NO",
        "COMPLETED_MAYBE"
      }

Definition at line 75 of file SystemExceptionA.cpp.

Initial value:
      {
        { "minor",     &CORBA::_tc_ulong },
        { "completed", &CORBA::_tc_CompletionStatus }
      }

Definition at line 105 of file SystemExceptionA.cpp.

Initial value:
      {
        { "exception", &CORBA::_tc_any }
      }

Definition at line 117 of file Unknown_User_Exception.cpp.

Objref<char const *, TAO::Null_RefCount_Policy> TAO::TypeCode::tc_AbstractBase(CORBA::tk_abstract_interface, tc_object_id, tc_object_name)
char const TAO::TypeCode::tc_bad_kind_id[] = "IDL:omg.org/CORBA/TypeCode/BadKind:1.0"

Definition at line 33 of file TypeCodeA.cpp.

char const TAO::TypeCode::tc_bad_kind_name[] = "BadKind"

Definition at line 34 of file TypeCodeA.cpp.

Struct<char const *, CORBA::TypeCode_ptr const *, Struct_Field<char const *, CORBA::TypeCode_ptr const *> const *, TAO::Null_RefCount_Policy> TAO::TypeCode::tc_BadKind(CORBA::tk_except, tc_bad_kind_id, tc_bad_kind_name, 0, 0)
Struct<char const *, CORBA::TypeCode_ptr const *, Struct_Field<char const *, CORBA::TypeCode_ptr const *> const *, TAO::Null_RefCount_Policy> TAO::TypeCode::tc_Bounds(CORBA::tk_except, tc_bounds_id, tc_bounds_name, 0, 0)
char const TAO::TypeCode::tc_bounds_id[] = "IDL:omg.org/CORBA/TypeCode/Bounds:1.0"

Definition at line 21 of file TypeCodeA.cpp.

char const TAO::TypeCode::tc_bounds_name[] = "Bounds"

Definition at line 22 of file TypeCodeA.cpp.

Enum<char const *, char const * const *, TAO::Null_RefCount_Policy> TAO::TypeCode::tc_CompletionStatus("IDL:omg.org/CORBA/CompletionStatus:1.0","CompletionStatus", enumerators_CORBA_CompletionStatus, 3)
Objref<char const *, TAO::Null_RefCount_Policy> TAO::TypeCode::tc_Component(CORBA::tk_component, tc_component_id, tc_component_name)
char const TAO::TypeCode::tc_component_id[] = "IDL:omg.org/CORBA/CCMObject:1.0"

Definition at line 60 of file TypeCode_Constants.cpp.

char const TAO::TypeCode::tc_component_name[] = "CCMObject"

Definition at line 61 of file TypeCode_Constants.cpp.

char const TAO::TypeCode::tc_event_base_id[] = "IDL:omg.org/CORBA/EventBase:1.0"

Definition at line 1308 of file ValueBase.cpp.

char const TAO::TypeCode::tc_event_base_name[] = "EventBase"

Definition at line 1309 of file ValueBase.cpp.

Value<char const *, CORBA::TypeCode_ptr const *, Value_Field<char const *, CORBA::TypeCode_ptr const *> const *, TAO::Null_RefCount_Policy> TAO::TypeCode::tc_EventBase(CORBA::tk_event, tc_event_base_id, tc_event_base_name, CORBA::VM_NONE,&CORBA::_tc_null, 0,0)
Objref<char const *, TAO::Null_RefCount_Policy> TAO::TypeCode::tc_Home(CORBA::tk_home, tc_home_id, tc_home_name)
char const TAO::TypeCode::tc_home_id[] = "IDL:omg.org/CORBA/CCMHome:1.0"

Definition at line 67 of file TypeCode_Constants.cpp.

char const TAO::TypeCode::tc_home_name[] = "CCMHome"

Definition at line 68 of file TypeCode_Constants.cpp.

Objref<char const *, TAO::Null_RefCount_Policy> TAO::TypeCode::tc_Object(CORBA::tk_objref, tc_object_id, tc_object_name)
char const TAO::TypeCode::tc_object_id = "IDL:omg.org/CORBA/Object:1.0"

Definition at line 53 of file TypeCode_Constants.cpp.

char const TAO::TypeCode::tc_object_name = "Object"

Definition at line 54 of file TypeCode_Constants.cpp.

String<TAO::Null_RefCount_Policy> TAO::TypeCode::tc_string(CORBA::tk_string, 0)
Struct<char const *, CORBA::TypeCode_ptr const *, Struct_Field<char const *, CORBA::TypeCode_ptr const *> const *, TAO::Null_RefCount_Policy> TAO::TypeCode::tc_UnknownUserException(CORBA::tk_except,"IDL:omg.org/CORBA/UnknownUserException:1.0","UnknownUserException", TAO::TypeCode::fields_CORBA_UnknownUserException, 1)
char const TAO::TypeCode::tc_value_base_id[] = "IDL:omg.org/CORBA/ValueBase:1.0"

Definition at line 1295 of file ValueBase.cpp.

char const TAO::TypeCode::tc_value_base_name[] = "ValueBase"

Definition at line 1296 of file ValueBase.cpp.

Value<char const *, CORBA::TypeCode_ptr const *, Value_Field<char const *, CORBA::TypeCode_ptr const *> const *, TAO::Null_RefCount_Policy> TAO::TypeCode::tc_ValueBase(CORBA::tk_value, tc_value_base_id, tc_value_base_name, CORBA::VM_NONE,&CORBA::_tc_null, 0,0)
String<TAO::Null_RefCount_Policy> TAO::TypeCode::tc_wstring(CORBA::tk_wstring, 0)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines