TAO_AnyTypeCode 4.0.1
|
A representation of the structure of a given OMG IDL-declared type. More...
#include <TypeCode.h>
Classes | |
class | BadKind |
Invalid TypeCode operation exception. More... | |
class | Bounds |
Out-of-bounds member index exception. More... | |
Static Public Member Functions | |
static CORBA::TypeCode_ptr | _duplicate (CORBA::TypeCode_ptr tc) |
Duplicate this TypeCode . | |
static CORBA::TypeCode_ptr | _nil () |
Returns a NULL typecode. | |
Static Public Attributes | |
static CORBA::TypeCode_ptr const | _tc_Bounds |
static CORBA::TypeCode_ptr const | _tc_BadKind |
@c CORBA::TypeCode Methods | |
These methods are part of the public interface of The C++ mapping does not declare the methods in the public | |
typedef CORBA::TypeCode_ptr | _ptr_type |
Destruction callback for Anys. | |
typedef CORBA::TypeCode_var | _var_type |
Destruction callback for Anys. | |
typedef CORBA::TypeCode_out | _out_type |
Destruction callback for Anys. | |
static void | _tao_any_destructor (void *x) |
Destruction callback for Anys. | |
Boolean | equal (TypeCode_ptr tc) const |
Equality of two TypeCodes . | |
Boolean | equivalent (TypeCode_ptr tc) const |
Equivalence of two TypeCodes . | |
TCKind | kind () const |
The kind of TypeCode . | |
TypeCode_ptr | get_compact_typecode () const |
char const * | id () const |
The RepositoryId globally identifying the type. | |
char const * | name () const |
ULong | member_count () const |
The type member count. | |
char const * | member_name (ULong index) const |
The type member name. | |
TypeCode_ptr | member_type (ULong index) const |
The type member TypeCode . | |
Any * | member_label (ULong index) const |
The union member label. | |
TypeCode_ptr | discriminator_type () const |
The type of all non-default union member labels. | |
Long | default_index () const |
The index of the default union member. | |
ULong | length () const |
The length of the type. | |
TypeCode_ptr | content_type () const |
The underlying content type. | |
UShort | fixed_digits () const |
The number of significant digits. | |
UShort | fixed_scale () const |
The scale factor. | |
Visibility | member_visibility (ULong index) const |
ValueModifier | type_modifier () const |
TypeCode_ptr | concrete_base_type () const |
virtual bool | tao_marshal_kind (TAO_OutputCDR &cdr) const |
Marshal the TypeCode TCKind . | |
virtual bool | tao_marshal (TAO_OutputCDR &cdr, CORBA::ULong offset) const =0 |
Marshal this TypeCode into a CDR output stream. | |
virtual void | tao_duplicate ()=0 |
Increase the reference count on this TypeCode . | |
virtual void | tao_release ()=0 |
Decrease the reference count on this object. | |
TypeCode (CORBA::TCKind kind) | |
Constructor. | |
virtual | ~TypeCode () |
Destructor. | |
@c TypeCode Template Methods | |
Methods that must be implemented by The default implementations of the non-pure virtual methods throw the The | |
TCKind const | kind_ |
The kind of TypeCode. | |
virtual Boolean | equal_i (TypeCode_ptr tc) const =0 |
The kind of TypeCode. | |
virtual Boolean | equivalent_i (TypeCode_ptr tc) const =0 |
The kind of TypeCode. | |
virtual TypeCode_ptr | get_compact_typecode_i () const =0 |
The kind of TypeCode. | |
virtual char const * | id_i () const |
The kind of TypeCode. | |
virtual char const * | name_i () const |
The kind of TypeCode. | |
virtual ULong | member_count_i () const |
The kind of TypeCode. | |
virtual char const * | member_name_i (ULong index) const |
The kind of TypeCode. | |
virtual TypeCode_ptr | member_type_i (ULong index) const |
The kind of TypeCode. | |
virtual Any * | member_label_i (ULong index) const |
The kind of TypeCode. | |
virtual TypeCode_ptr | discriminator_type_i () const |
The kind of TypeCode. | |
virtual Long | default_index_i () const |
The kind of TypeCode. | |
virtual ULong | length_i () const |
The kind of TypeCode. | |
virtual TypeCode_ptr | content_type_i () const |
The kind of TypeCode. | |
virtual UShort | fixed_digits_i () const |
The kind of TypeCode. | |
virtual UShort | fixed_scale_i () const |
The kind of TypeCode. | |
virtual Visibility | member_visibility_i (ULong index) const |
The kind of TypeCode. | |
virtual ValueModifier | type_modifier_i () const |
The kind of TypeCode. | |
virtual TypeCode_ptr | concrete_base_type_i () const |
The kind of TypeCode. | |
TypeCode (TypeCode const &) | |
The kind of TypeCode. | |
void | operator= (TypeCode const &) |
The kind of TypeCode. | |
A representation of the structure of a given OMG IDL-declared type.
TypeCodes
are primarily used by CORBA::Anys
, the CORBA Interface Repository and the CORBA Dynamic Invocation Interface.
Destruction callback for Anys.
Destruction callback for Anys.
Destruction callback for Anys.
|
protected |
Constructor.
|
protectedvirtual |
Destructor.
Protected destructor to enforce proper memory management through the reference counting mechanism.
|
static |
Duplicate this TypeCode
.
Statically instantiated TypeCodes
incur no reference count manipulation, i.e. reference counting is a no-op.
Dynamically instantiated TypeCodes
will have their reference count incremented by one each time this function is called.
|
static |
Returns a NULL typecode.
|
static |
Destruction callback for Anys.
CORBA::TypeCode_ptr CORBA::TypeCode::concrete_base_type | ( | ) | const |
The TypeCode
corresponding to the concrete base valuetype
or eventtype
. This method is valid for the following kinds of TypeCodes:
tk_value
tk_event
TypeCode
corresponding to the concrete base valuetype
or eventtype
. CORBA::TypeCode::_nil()
if no concrete base exists.
|
protectedvirtual |
The kind of TypeCode.
Reimplemented in TAO::TypeCode::Indirected_Type, TAO::TypeCode::Value< StringType, TypeCodeType, FieldArrayType, RefCountPolicy >, and TAO::TypeCode::Value< char const *, CORBA::TypeCode_ptr const *, Value_Field< char const *, CORBA::TypeCode_ptr const * > const *, TAO::Null_RefCount_Policy >.
CORBA::TypeCode_ptr CORBA::TypeCode::content_type | ( | ) | const |
The underlying content type.
This method is valid for the following kinds of TypeCodes:
tk_sequence
tk_array
tk_value_box
tk_alias
|
protectedvirtual |
The kind of TypeCode.
Reimplemented in TAO::TypeCode::Alias< StringType, TypeCodeType, RefCountPolicy >, TAO::TypeCode::Alias< char const *, CORBA::TypeCode_ptr const *, TAO::Null_RefCount_Policy >, TAO::TypeCode::Sequence< TypeCodeType, RefCountPolicy >, and TAO::TypeCode::Sequence< CORBA::TypeCode_ptr const *, TAO::Null_RefCount_Policy >.
CORBA::Long CORBA::TypeCode::default_index | ( | ) | const |
The index of the default union member.
This method is valid for the following kinds of TypeCodes:
tk_union
|
protectedvirtual |
The kind of TypeCode.
Reimplemented in TAO::TypeCode::Indirected_Type, TAO::TypeCode::Union< StringType, TypeCodeType, CaseArrayType, RefCountPolicy >, and TAO::TypeCode::Union< char const *, CORBA::TypeCode_ptr const *, Case< char const *, CORBA::TypeCode_ptr const * > const *const *, TAO::Null_RefCount_Policy >.
CORBA::TypeCode_ptr CORBA::TypeCode::discriminator_type | ( | ) | const |
The type of all non-default union member labels.
This method is valid for the following kinds of TypeCodes:
tk_union
|
protectedvirtual |
The kind of TypeCode.
Reimplemented in TAO::TypeCode::Indirected_Type, TAO::TypeCode::Union< StringType, TypeCodeType, CaseArrayType, RefCountPolicy >, and TAO::TypeCode::Union< char const *, CORBA::TypeCode_ptr const *, Case< char const *, CORBA::TypeCode_ptr const * > const *const *, TAO::Null_RefCount_Policy >.
CORBA::Boolean CORBA::TypeCode::equal | ( | TypeCode_ptr | tc | ) | const |
Equality of two TypeCodes
.
true
if and only if the set of legal operations is the same and invoking any operation on the this TypeCode
and tc returns identical results.
|
protectedpure virtual |
The kind of TypeCode.
Implemented in TAO::TypeCode::Alias< StringType, TypeCodeType, RefCountPolicy >, TAO::TypeCode::Alias< char const *, CORBA::TypeCode_ptr const *, TAO::Null_RefCount_Policy >, TAO::TypeCode::Empty_Param, TAO::TypeCode::Enum< StringType, EnumeratorArrayType, RefCountPolicy >, TAO::TypeCode::Enum< char const *, char const *const *, TAO::Null_RefCount_Policy >, TAO::TypeCode::Fixed< RefCountPolicy >, TAO::TypeCode::Indirected_Type, TAO::TypeCode::Objref< StringType, RefCountPolicy >, TAO::TypeCode::Objref< char const *, TAO::Null_RefCount_Policy >, TAO::TypeCode::Sequence< TypeCodeType, RefCountPolicy >, TAO::TypeCode::Sequence< CORBA::TypeCode_ptr const *, TAO::Null_RefCount_Policy >, TAO::TypeCode::String< RefCountPolicy >, TAO::TypeCode::String< TAO::Null_RefCount_Policy >, TAO::TypeCode::Struct< StringType, TypeCodeType, FieldArrayType, RefCountPolicy >, TAO::TypeCode::Struct< char const *, CORBA::TypeCode_ptr const *, Struct_Field< char const *, CORBA::TypeCode_ptr const * > const *, TAO::Null_RefCount_Policy >, TAO::TypeCode::Union< StringType, TypeCodeType, CaseArrayType, RefCountPolicy >, TAO::TypeCode::Union< char const *, CORBA::TypeCode_ptr const *, Case< char const *, CORBA::TypeCode_ptr const * > const *const *, TAO::Null_RefCount_Policy >, TAO::TypeCode::Value< StringType, TypeCodeType, FieldArrayType, RefCountPolicy >, and TAO::TypeCode::Value< char const *, CORBA::TypeCode_ptr const *, Value_Field< char const *, CORBA::TypeCode_ptr const * > const *, TAO::Null_RefCount_Policy >.
CORBA::Boolean CORBA::TypeCode::equivalent | ( | TypeCode_ptr | tc | ) | const |
Equivalence of two TypeCodes
.
Equivalence of two TypeCodes
satisfies a subset of the requirements necessary for equality.
|
protectedpure virtual |
The kind of TypeCode.
Implemented in TAO::TypeCode::Alias< StringType, TypeCodeType, RefCountPolicy >, TAO::TypeCode::Alias< char const *, CORBA::TypeCode_ptr const *, TAO::Null_RefCount_Policy >, TAO::TypeCode::Empty_Param, TAO::TypeCode::Enum< StringType, EnumeratorArrayType, RefCountPolicy >, TAO::TypeCode::Enum< char const *, char const *const *, TAO::Null_RefCount_Policy >, TAO::TypeCode::Fixed< RefCountPolicy >, TAO::TypeCode::Indirected_Type, TAO::TypeCode::Objref< StringType, RefCountPolicy >, TAO::TypeCode::Objref< char const *, TAO::Null_RefCount_Policy >, TAO::TypeCode::Sequence< TypeCodeType, RefCountPolicy >, TAO::TypeCode::Sequence< CORBA::TypeCode_ptr const *, TAO::Null_RefCount_Policy >, TAO::TypeCode::String< RefCountPolicy >, TAO::TypeCode::String< TAO::Null_RefCount_Policy >, TAO::TypeCode::Struct< StringType, TypeCodeType, FieldArrayType, RefCountPolicy >, TAO::TypeCode::Struct< char const *, CORBA::TypeCode_ptr const *, Struct_Field< char const *, CORBA::TypeCode_ptr const * > const *, TAO::Null_RefCount_Policy >, TAO::TypeCode::Union< StringType, TypeCodeType, CaseArrayType, RefCountPolicy >, TAO::TypeCode::Union< char const *, CORBA::TypeCode_ptr const *, Case< char const *, CORBA::TypeCode_ptr const * > const *const *, TAO::Null_RefCount_Policy >, TAO::TypeCode::Value< StringType, TypeCodeType, FieldArrayType, RefCountPolicy >, and TAO::TypeCode::Value< char const *, CORBA::TypeCode_ptr const *, Value_Field< char const *, CORBA::TypeCode_ptr const * > const *, TAO::Null_RefCount_Policy >.
CORBA::UShort CORBA::TypeCode::fixed_digits | ( | ) | const |
The number of significant digits.
This method is valid for the following kinds of TypeCodes:
tk_fixed
|
protectedvirtual |
The kind of TypeCode.
Reimplemented in TAO::TypeCode::Fixed< RefCountPolicy >.
CORBA::UShort CORBA::TypeCode::fixed_scale | ( | ) | const |
The scale factor.
This method is valid for the following kinds of TypeCodes:
tk_fixed
|
protectedvirtual |
The kind of TypeCode.
Reimplemented in TAO::TypeCode::Fixed< RefCountPolicy >.
CORBA::TypeCode_ptr CORBA::TypeCode::get_compact_typecode | ( | ) | const |
Return TypeCode
stripped of optional name
and member_name
fields.
TypeCode
; the exception being TypeCodes
with empty parameter lists. Those TypeCodes
are already compact, meaning that call this method on such TypeCodes
incurs no additional run-time memory requirements.Unless you need to send compact TypeCodes
"over-the-wire" or your TypeCode
corresponds to a type with a large number of members, try to stick with the existing potentially non-compact TypeCode
.
TypeCodes
may also be generated statically by the TAO_IDL compiler by invoking it with its "-Gt" (i.e. enable optimized TypeCodes) command line option.
|
protectedpure virtual |
The kind of TypeCode.
Implemented in TAO::TypeCode::Alias< StringType, TypeCodeType, RefCountPolicy >, TAO::TypeCode::Alias< char const *, CORBA::TypeCode_ptr const *, TAO::Null_RefCount_Policy >, TAO::TypeCode::Empty_Param, TAO::TypeCode::Enum< StringType, EnumeratorArrayType, RefCountPolicy >, TAO::TypeCode::Enum< char const *, char const *const *, TAO::Null_RefCount_Policy >, TAO::TypeCode::Fixed< RefCountPolicy >, TAO::TypeCode::Indirected_Type, TAO::TypeCode::Objref< StringType, RefCountPolicy >, TAO::TypeCode::Objref< char const *, TAO::Null_RefCount_Policy >, TAO::TypeCode::Sequence< TypeCodeType, RefCountPolicy >, TAO::TypeCode::Sequence< CORBA::TypeCode_ptr const *, TAO::Null_RefCount_Policy >, TAO::TypeCode::String< RefCountPolicy >, TAO::TypeCode::String< TAO::Null_RefCount_Policy >, TAO::TypeCode::Struct< StringType, TypeCodeType, FieldArrayType, RefCountPolicy >, TAO::TypeCode::Struct< char const *, CORBA::TypeCode_ptr const *, Struct_Field< char const *, CORBA::TypeCode_ptr const * > const *, TAO::Null_RefCount_Policy >, TAO::TypeCode::Union< StringType, TypeCodeType, CaseArrayType, RefCountPolicy >, TAO::TypeCode::Union< char const *, CORBA::TypeCode_ptr const *, Case< char const *, CORBA::TypeCode_ptr const * > const *const *, TAO::Null_RefCount_Policy >, TAO::TypeCode::Value< StringType, TypeCodeType, FieldArrayType, RefCountPolicy >, and TAO::TypeCode::Value< char const *, CORBA::TypeCode_ptr const *, Value_Field< char const *, CORBA::TypeCode_ptr const * > const *, TAO::Null_RefCount_Policy >.
char const * CORBA::TypeCode::id | ( | ) | const |
The RepositoryId
globally identifying the type.
This method is valid for the following kinds of TypeCodes:
tk_objref
tk_struct
tk_union
tk_enum
tk_alias
tk_value
tk_value_box
tk_native
tk_abstract_interface
tk_local_interface
tk_except
tk_component
tk_home
tk_event
TypeCode
.
|
protectedvirtual |
The kind of TypeCode.
Reimplemented in TAO::TypeCode::Alias< StringType, TypeCodeType, RefCountPolicy >, TAO::TypeCode::Alias< char const *, CORBA::TypeCode_ptr const *, TAO::Null_RefCount_Policy >, TAO::TypeCode::Enum< StringType, EnumeratorArrayType, RefCountPolicy >, TAO::TypeCode::Enum< char const *, char const *const *, TAO::Null_RefCount_Policy >, TAO::TypeCode::Indirected_Type, TAO::TypeCode::Objref< StringType, RefCountPolicy >, TAO::TypeCode::Objref< char const *, TAO::Null_RefCount_Policy >, TAO::TypeCode::Struct< StringType, TypeCodeType, FieldArrayType, RefCountPolicy >, TAO::TypeCode::Struct< char const *, CORBA::TypeCode_ptr const *, Struct_Field< char const *, CORBA::TypeCode_ptr const * > const *, TAO::Null_RefCount_Policy >, TAO::TypeCode::Union< StringType, TypeCodeType, CaseArrayType, RefCountPolicy >, TAO::TypeCode::Union< char const *, CORBA::TypeCode_ptr const *, Case< char const *, CORBA::TypeCode_ptr const * > const *const *, TAO::Null_RefCount_Policy >, TAO::TypeCode::Value< StringType, TypeCodeType, FieldArrayType, RefCountPolicy >, and TAO::TypeCode::Value< char const *, CORBA::TypeCode_ptr const *, Value_Field< char const *, CORBA::TypeCode_ptr const * > const *, TAO::Null_RefCount_Policy >.
CORBA::TCKind CORBA::TypeCode::kind | ( | ) | const |
The kind of TypeCode
.
CORBA::ULong CORBA::TypeCode::length | ( | ) | const |
The length of the type.
This method is valid for the following kinds of TypeCodes:
tk_string
tk_wstring
tk_sequence
tk_array
|
protectedvirtual |
CORBA::ULong CORBA::TypeCode::member_count | ( | ) | const |
The type member count.
This method is valid for the following kinds of TypeCodes:
tk_struct
tk_union
tk_enum
tk_value
tk_except
tk_event
|
protectedvirtual |
The kind of TypeCode.
Reimplemented in TAO::TypeCode::Enum< StringType, EnumeratorArrayType, RefCountPolicy >, TAO::TypeCode::Enum< char const *, char const *const *, TAO::Null_RefCount_Policy >, TAO::TypeCode::Indirected_Type, TAO::TypeCode::Struct< StringType, TypeCodeType, FieldArrayType, RefCountPolicy >, TAO::TypeCode::Struct< char const *, CORBA::TypeCode_ptr const *, Struct_Field< char const *, CORBA::TypeCode_ptr const * > const *, TAO::Null_RefCount_Policy >, TAO::TypeCode::Union< StringType, TypeCodeType, CaseArrayType, RefCountPolicy >, TAO::TypeCode::Union< char const *, CORBA::TypeCode_ptr const *, Case< char const *, CORBA::TypeCode_ptr const * > const *const *, TAO::Null_RefCount_Policy >, TAO::TypeCode::Value< StringType, TypeCodeType, FieldArrayType, RefCountPolicy >, and TAO::TypeCode::Value< char const *, CORBA::TypeCode_ptr const *, Value_Field< char const *, CORBA::TypeCode_ptr const * > const *, TAO::Null_RefCount_Policy >.
CORBA::Any * CORBA::TypeCode::member_label | ( | ULong | index | ) | const |
The union member label.
This method is valid for the following kinds of TypeCodes:
tk_union
|
protectedvirtual |
The kind of TypeCode.
Reimplemented in TAO::TypeCode::Indirected_Type, TAO::TypeCode::Union< StringType, TypeCodeType, CaseArrayType, RefCountPolicy >, and TAO::TypeCode::Union< char const *, CORBA::TypeCode_ptr const *, Case< char const *, CORBA::TypeCode_ptr const * > const *const *, TAO::Null_RefCount_Policy >.
char const * CORBA::TypeCode::member_name | ( | ULong | index | ) | const |
The type member name.
This method is valid for the following kinds of TypeCodes:
tk_struct
tk_union
tk_enum
tk_value
tk_except
tk_event
TypeCode
.
|
protectedvirtual |
The kind of TypeCode.
Reimplemented in TAO::TypeCode::Enum< StringType, EnumeratorArrayType, RefCountPolicy >, TAO::TypeCode::Enum< char const *, char const *const *, TAO::Null_RefCount_Policy >, TAO::TypeCode::Indirected_Type, TAO::TypeCode::Struct< StringType, TypeCodeType, FieldArrayType, RefCountPolicy >, TAO::TypeCode::Struct< char const *, CORBA::TypeCode_ptr const *, Struct_Field< char const *, CORBA::TypeCode_ptr const * > const *, TAO::Null_RefCount_Policy >, TAO::TypeCode::Union< StringType, TypeCodeType, CaseArrayType, RefCountPolicy >, TAO::TypeCode::Union< char const *, CORBA::TypeCode_ptr const *, Case< char const *, CORBA::TypeCode_ptr const * > const *const *, TAO::Null_RefCount_Policy >, TAO::TypeCode::Value< StringType, TypeCodeType, FieldArrayType, RefCountPolicy >, and TAO::TypeCode::Value< char const *, CORBA::TypeCode_ptr const *, Value_Field< char const *, CORBA::TypeCode_ptr const * > const *, TAO::Null_RefCount_Policy >.
CORBA::TypeCode_ptr CORBA::TypeCode::member_type | ( | ULong | index | ) | const |
The type member TypeCode
.
This method is valid for the following kinds of TypeCodes:
tk_struct
tk_union
tk_value
tk_except
tk_event
|
protectedvirtual |
The kind of TypeCode.
Reimplemented in TAO::TypeCode::Indirected_Type, TAO::TypeCode::Struct< StringType, TypeCodeType, FieldArrayType, RefCountPolicy >, TAO::TypeCode::Struct< char const *, CORBA::TypeCode_ptr const *, Struct_Field< char const *, CORBA::TypeCode_ptr const * > const *, TAO::Null_RefCount_Policy >, TAO::TypeCode::Union< StringType, TypeCodeType, CaseArrayType, RefCountPolicy >, TAO::TypeCode::Union< char const *, CORBA::TypeCode_ptr const *, Case< char const *, CORBA::TypeCode_ptr const * > const *const *, TAO::Null_RefCount_Policy >, TAO::TypeCode::Value< StringType, TypeCodeType, FieldArrayType, RefCountPolicy >, and TAO::TypeCode::Value< char const *, CORBA::TypeCode_ptr const *, Value_Field< char const *, CORBA::TypeCode_ptr const * > const *, TAO::Null_RefCount_Policy >.
CORBA::Visibility CORBA::TypeCode::member_visibility | ( | ULong | index | ) | const |
The Visibility
of the valuetype
or eventtype
member corresponding to index index. This method is valid for the following kinds of TypeCodes:
tk_value
tk_event
|
protectedvirtual |
The kind of TypeCode.
Reimplemented in TAO::TypeCode::Indirected_Type, TAO::TypeCode::Value< StringType, TypeCodeType, FieldArrayType, RefCountPolicy >, and TAO::TypeCode::Value< char const *, CORBA::TypeCode_ptr const *, Value_Field< char const *, CORBA::TypeCode_ptr const * > const *, TAO::Null_RefCount_Policy >.
char const * CORBA::TypeCode::name | ( | ) | const |
The simple name identifying the type within its enclosing scope. This method is valid for the following kinds of TypeCodes:
tk_objref
tk_struct
tk_union
tk_enum
tk_alias
tk_value
tk_value_box
tk_native
tk_abstract_interface
tk_local_interface
tk_except
tk_component
tk_home
tk_event
TypeCode
.
|
protectedvirtual |
The kind of TypeCode.
Reimplemented in TAO::TypeCode::Alias< StringType, TypeCodeType, RefCountPolicy >, TAO::TypeCode::Alias< char const *, CORBA::TypeCode_ptr const *, TAO::Null_RefCount_Policy >, TAO::TypeCode::Enum< StringType, EnumeratorArrayType, RefCountPolicy >, TAO::TypeCode::Enum< char const *, char const *const *, TAO::Null_RefCount_Policy >, TAO::TypeCode::Indirected_Type, TAO::TypeCode::Objref< StringType, RefCountPolicy >, TAO::TypeCode::Objref< char const *, TAO::Null_RefCount_Policy >, TAO::TypeCode::Struct< StringType, TypeCodeType, FieldArrayType, RefCountPolicy >, TAO::TypeCode::Struct< char const *, CORBA::TypeCode_ptr const *, Struct_Field< char const *, CORBA::TypeCode_ptr const * > const *, TAO::Null_RefCount_Policy >, TAO::TypeCode::Union< StringType, TypeCodeType, CaseArrayType, RefCountPolicy >, TAO::TypeCode::Union< char const *, CORBA::TypeCode_ptr const *, Case< char const *, CORBA::TypeCode_ptr const * > const *const *, TAO::Null_RefCount_Policy >, TAO::TypeCode::Value< StringType, TypeCodeType, FieldArrayType, RefCountPolicy >, and TAO::TypeCode::Value< char const *, CORBA::TypeCode_ptr const *, Value_Field< char const *, CORBA::TypeCode_ptr const * > const *, TAO::Null_RefCount_Policy >.
|
pure virtual |
Increase the reference count on this TypeCode
.
Implemented in TAO::TypeCode::Alias< StringType, TypeCodeType, RefCountPolicy >, TAO::TypeCode::Alias< char const *, CORBA::TypeCode_ptr const *, TAO::Null_RefCount_Policy >, TAO::TypeCode::Empty_Param, TAO::TypeCode::Enum< StringType, EnumeratorArrayType, RefCountPolicy >, TAO::TypeCode::Enum< char const *, char const *const *, TAO::Null_RefCount_Policy >, TAO::TypeCode::Fixed< RefCountPolicy >, TAO::TypeCode::Indirected_Type, TAO::TypeCode::Objref< StringType, RefCountPolicy >, TAO::TypeCode::Objref< char const *, TAO::Null_RefCount_Policy >, TAO::TypeCode::Sequence< TypeCodeType, RefCountPolicy >, TAO::TypeCode::Sequence< CORBA::TypeCode_ptr const *, TAO::Null_RefCount_Policy >, TAO::TypeCode::String< RefCountPolicy >, TAO::TypeCode::String< TAO::Null_RefCount_Policy >, TAO::TypeCode::Struct< StringType, TypeCodeType, FieldArrayType, RefCountPolicy >, TAO::TypeCode::Struct< char const *, CORBA::TypeCode_ptr const *, Struct_Field< char const *, CORBA::TypeCode_ptr const * > const *, TAO::Null_RefCount_Policy >, TAO::TypeCode::Union< StringType, TypeCodeType, CaseArrayType, RefCountPolicy >, TAO::TypeCode::Union< char const *, CORBA::TypeCode_ptr const *, Case< char const *, CORBA::TypeCode_ptr const * > const *const *, TAO::Null_RefCount_Policy >, TAO::TypeCode::Value< StringType, TypeCodeType, FieldArrayType, RefCountPolicy >, and TAO::TypeCode::Value< char const *, CORBA::TypeCode_ptr const *, Value_Field< char const *, CORBA::TypeCode_ptr const * > const *, TAO::Null_RefCount_Policy >.
|
pure virtual |
Marshal this TypeCode
into a CDR output stream.
Marshal this TypeCode
into the cdr output CDR stream, excluding the TypeCode
kind. Existing cdr contents will not be altered. The marshaled TypeCode
will be appended to the given cdr CDR output stream.
cdr | Output CDR stream into which the TypeCode will be marshaled. |
offset | Number of bytes currently in the output CDR stream, including the top-level TypeCode TCKind . This argument is useful for recursive TypeCodes . TypeCodes that contain other TypeCodes should pass an updated offset value to the marshaling operation for those contained TypeCodes . |
true
if marshaling was successful.CORBA::TypeCode
interface.Implemented in TAO::TypeCode::Alias< StringType, TypeCodeType, RefCountPolicy >, TAO::TypeCode::Alias< char const *, CORBA::TypeCode_ptr const *, TAO::Null_RefCount_Policy >, TAO::TypeCode::Empty_Param, TAO::TypeCode::Enum< StringType, EnumeratorArrayType, RefCountPolicy >, TAO::TypeCode::Enum< char const *, char const *const *, TAO::Null_RefCount_Policy >, TAO::TypeCode::Fixed< RefCountPolicy >, TAO::TypeCode::Indirected_Type, TAO::TypeCode::Objref< StringType, RefCountPolicy >, TAO::TypeCode::Objref< char const *, TAO::Null_RefCount_Policy >, TAO::TypeCode::Sequence< TypeCodeType, RefCountPolicy >, TAO::TypeCode::Sequence< CORBA::TypeCode_ptr const *, TAO::Null_RefCount_Policy >, TAO::TypeCode::String< RefCountPolicy >, TAO::TypeCode::String< TAO::Null_RefCount_Policy >, TAO::TypeCode::Struct< StringType, TypeCodeType, FieldArrayType, RefCountPolicy >, TAO::TypeCode::Struct< char const *, CORBA::TypeCode_ptr const *, Struct_Field< char const *, CORBA::TypeCode_ptr const * > const *, TAO::Null_RefCount_Policy >, TAO::TypeCode::Union< StringType, TypeCodeType, CaseArrayType, RefCountPolicy >, TAO::TypeCode::Union< char const *, CORBA::TypeCode_ptr const *, Case< char const *, CORBA::TypeCode_ptr const * > const *const *, TAO::Null_RefCount_Policy >, TAO::TypeCode::Value< StringType, TypeCodeType, FieldArrayType, RefCountPolicy >, and TAO::TypeCode::Value< char const *, CORBA::TypeCode_ptr const *, Value_Field< char const *, CORBA::TypeCode_ptr const * > const *, TAO::Null_RefCount_Policy >.
|
virtual |
Marshal the TypeCode
TCKind
.
Reimplemented in TAO::TypeCode::Indirected_Type.
|
pure virtual |
Decrease the reference count on this object.
Implemented in TAO::TypeCode::Alias< StringType, TypeCodeType, RefCountPolicy >, TAO::TypeCode::Alias< char const *, CORBA::TypeCode_ptr const *, TAO::Null_RefCount_Policy >, TAO::TypeCode::Empty_Param, TAO::TypeCode::Enum< StringType, EnumeratorArrayType, RefCountPolicy >, TAO::TypeCode::Enum< char const *, char const *const *, TAO::Null_RefCount_Policy >, TAO::TypeCode::Fixed< RefCountPolicy >, TAO::TypeCode::Indirected_Type, TAO::TypeCode::Objref< StringType, RefCountPolicy >, TAO::TypeCode::Objref< char const *, TAO::Null_RefCount_Policy >, TAO::TypeCode::Sequence< TypeCodeType, RefCountPolicy >, TAO::TypeCode::Sequence< CORBA::TypeCode_ptr const *, TAO::Null_RefCount_Policy >, TAO::TypeCode::String< RefCountPolicy >, TAO::TypeCode::String< TAO::Null_RefCount_Policy >, TAO::TypeCode::Struct< StringType, TypeCodeType, FieldArrayType, RefCountPolicy >, TAO::TypeCode::Struct< char const *, CORBA::TypeCode_ptr const *, Struct_Field< char const *, CORBA::TypeCode_ptr const * > const *, TAO::Null_RefCount_Policy >, TAO::TypeCode::Union< StringType, TypeCodeType, CaseArrayType, RefCountPolicy >, TAO::TypeCode::Union< char const *, CORBA::TypeCode_ptr const *, Case< char const *, CORBA::TypeCode_ptr const * > const *const *, TAO::Null_RefCount_Policy >, TAO::TypeCode::Value< StringType, TypeCodeType, FieldArrayType, RefCountPolicy >, and TAO::TypeCode::Value< char const *, CORBA::TypeCode_ptr const *, Value_Field< char const *, CORBA::TypeCode_ptr const * > const *, TAO::Null_RefCount_Policy >.
CORBA::ValueModifier CORBA::TypeCode::type_modifier | ( | ) | const |
The ValueModifier
of the valuetype
of eventtype
represented by this TypeCode
. This method is valid for the following kinds of TypeCodes:
tk_value
tk_event
|
protectedvirtual |
The kind of TypeCode.
Reimplemented in TAO::TypeCode::Indirected_Type, TAO::TypeCode::Value< StringType, TypeCodeType, FieldArrayType, RefCountPolicy >, and TAO::TypeCode::Value< char const *, CORBA::TypeCode_ptr const *, Value_Field< char const *, CORBA::TypeCode_ptr const * > const *, TAO::Null_RefCount_Policy >.
|
static |
|
static |