#include <TypeCode.h>
Inheritance diagram for CORBA::TypeCode:
Public Types | |
typedef CORBA::TypeCode_var | _var_type |
Public Member Functions | |
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 (void)=0 |
Increase the reference count on this TypeCode . | |
virtual void | tao_release (void)=0 |
Decrease the reference count on this object. | |
@c CORBA::TypeCode Methods | |
These methods are part of the public interface of CORBA::TypeCode class, as defined by the OMG CORBA specification and C++ mapping.
The C++ mapping does not declare the methods in the public | |
Boolean | equal (TypeCode_ptr tc ACE_ENV_ARG_DECL) const |
Equality of two TypeCodes . | |
Boolean | equivalent (TypeCode_ptr tc ACE_ENV_ARG_DECL) const |
Equivalence of two TypeCodes . | |
TCKind | kind (ACE_ENV_SINGLE_ARG_DECL) const |
The kind of TypeCode . | |
TypeCode_ptr | get_compact_typecode (ACE_ENV_SINGLE_ARG_DECL) const |
char const * | id (ACE_ENV_SINGLE_ARG_DECL) const |
The RepositoryId globally identifying the type. | |
char const * | name (ACE_ENV_SINGLE_ARG_DECL) const |
ULong | member_count (ACE_ENV_SINGLE_ARG_DECL) const |
The type member count. | |
char const * | member_name (ULong index ACE_ENV_ARG_DECL) const |
The type member name. | |
TypeCode_ptr | member_type (ULong index ACE_ENV_ARG_DECL) const |
The type member TypeCode . | |
Any * | member_label (ULong index ACE_ENV_ARG_DECL) const |
The union member label. | |
TypeCode_ptr | discriminator_type (ACE_ENV_SINGLE_ARG_DECL) const |
The type of all non-default union member labels. | |
Long | default_index (ACE_ENV_SINGLE_ARG_DECL) const |
The index of the default union member. | |
ULong | length (ACE_ENV_SINGLE_ARG_DECL) const |
The length of the type. | |
TypeCode_ptr | content_type (ACE_ENV_SINGLE_ARG_DECL) const |
The underlying content type. | |
UShort | fixed_digits (ACE_ENV_SINGLE_ARG_DECL) const |
The number of significant digits. | |
UShort | fixed_scale (ACE_ENV_SINGLE_ARG_DECL) const |
The scale factor. | |
Visibility | member_visibility (ULong index ACE_ENV_ARG_DECL) const |
ValueModifier | type_modifier (ACE_ENV_SINGLE_ARG_DECL) const |
TypeCode_ptr | concrete_base_type (ACE_ENV_SINGLE_ARG_DECL) const |
Static Public Member Functions | |
CORBA::TypeCode_ptr | _duplicate (CORBA::TypeCode_ptr tc) |
Duplicate this TypeCode . | |
CORBA::TypeCode_ptr | _nil (void) |
Returns a NULL typecode. | |
void | _tao_any_destructor (void *x) |
Destruction callback for Anys. | |
Static Public Attributes | |
CORBA::TypeCode_ptr const | _tc_Bounds |
CORBA::TypeCode_ptr const | _tc_BadKind |
Protected Member Functions | |
TypeCode (CORBA::TCKind kind) | |
Constructor. | |
virtual | ~TypeCode (void) |
Destructor. | |
@c TypeCode Template Methods | |
Methods that must be implemented by CORBA::TypeCode subclasses if valid for those subclasses.
The default implementations of the non-pure virtual methods throw the
The | |
virtual Boolean | equal_i (TypeCode_ptr tc ACE_ENV_ARG_DECL) const =0 |
virtual Boolean | equivalent_i (TypeCode_ptr tc ACE_ENV_ARG_DECL) const =0 |
virtual TypeCode_ptr | get_compact_typecode_i (ACE_ENV_SINGLE_ARG_DECL) const =0 |
virtual char const * | id_i (ACE_ENV_SINGLE_ARG_DECL) const |
virtual char const * | name_i (ACE_ENV_SINGLE_ARG_DECL) const |
virtual ULong | member_count_i (ACE_ENV_SINGLE_ARG_DECL) const |
virtual char const * | member_name_i (ULong index ACE_ENV_ARG_DECL) const |
virtual TypeCode_ptr | member_type_i (ULong index ACE_ENV_ARG_DECL) const |
virtual Any * | member_label_i (ULong index ACE_ENV_ARG_DECL) const |
virtual TypeCode_ptr | discriminator_type_i (ACE_ENV_SINGLE_ARG_DECL) const |
virtual Long | default_index_i (ACE_ENV_SINGLE_ARG_DECL) const |
virtual ULong | length_i (ACE_ENV_SINGLE_ARG_DECL) const |
virtual TypeCode_ptr | content_type_i (ACE_ENV_SINGLE_ARG_DECL) const |
virtual UShort | fixed_digits_i (ACE_ENV_SINGLE_ARG_DECL) const |
virtual UShort | fixed_scale_i (ACE_ENV_SINGLE_ARG_DECL) const |
virtual Visibility | member_visibility_i (ULong index ACE_ENV_ARG_DECL) const |
virtual ValueModifier | type_modifier_i (ACE_ENV_SINGLE_ARG_DECL) const |
virtual TypeCode_ptr | concrete_base_type_i (ACE_ENV_SINGLE_ARG_DECL) const |
Protected Attributes | |
TCKind const | kind_ |
The kind of TypeCode. | |
Private Member Functions | |
TypeCode (TypeCode const &) | |
void | operator= (TypeCode const &) |
TypeCodes
are primarily used by CORBA::Anys
, the CORBA Interface Repository and the CORBA Dynamic Invocation Interface.
|
|
|
Constructor.
|
|
Destructor. Protected destructor to enforce proper memory management through the reference counting mechanism. |
|
|
|
Duplicate this
Statically instantiated
Dynamically instantiated |
|
Returns a NULL typecode.
|
|
Destruction callback for Anys.
|
|
This method is valid for the following kinds of
|
|
|
The underlying content type.
This method is valid for the following kinds of
|
|
|
The index of the default union member.
This method is valid for the following kinds of
|
|
|
The type of all non-default union member labels.
This method is valid for the following kinds of
|
|
|
Equality of two
|
|
|
|
Equivalence of two
Equivalence of two
|
|
|
|
The number of significant digits.
This method is valid for the following kinds of
|
|
Reimplemented in TAO::TypeCode::Fixed< RefCountPolicy >. |
|
The scale factor.
This method is valid for the following kinds of
|
|
Reimplemented in TAO::TypeCode::Fixed< RefCountPolicy >. |
|
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 .
|
|
|
The
This method is valid for the following kinds of
|
|
|
The kind of
|
|
The length of the type.
This method is valid for the following kinds of
|
|
|
The type member count.
This method is valid for the following kinds of
|
|
|
The union member label.
This method is valid for the following kinds of
|
|
|
|
The type member name.
This method is valid for the following kinds of
|
|
|
|
The type member
This method is valid for the following kinds of
|
|
|
|
This method is valid for the following kinds of
|
|
|
|
This method is valid for the following kinds of
|
|
|
|
|
|
|
Marshal the
|
|
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::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 >. |
|
This method is valid for the following kinds of
|
|
Reimplemented in 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 >. |
|
Initial value: &TAO::TypeCode::tc_BadKind |
|
Initial value: &TAO::TypeCode::tc_Bounds |
|
The kind of TypeCode.
|