union
case/member.
More...
#include <TypeCode_Case.h>
Inheritance diagram for TAO::TypeCode::Case< StringType, TypeCodeType >:
Public Member Functions | |
Case (char const *name, TypeCodeType tc) | |
Constructor. | |
Case (void) | |
Constructor. | |
virtual | ~Case (void) |
Destructor. | |
virtual Case * | clone (void) const =0 |
Cloning/copying operation. | |
virtual CORBA::Any * | label (ACE_ENV_SINGLE_ARG_DECL) const =0 |
char const * | name (void) const |
Get the name of the union case/member. | |
void | name (char const *the_name) |
Set the name of the union case/member. | |
CORBA::TypeCode_ptr | type (void) const |
Get the CORBA::TypeCode of the union case/member. | |
void | type (CORBA::TypeCode_ptr tc) |
Set the CORBA::TypeCode of the union case/member. | |
bool | marshal (TAO_OutputCDR &cdr, CORBA::ULong offset) const |
bool | equal (CORBA::ULong index, CORBA::TypeCode_ptr tc ACE_ENV_ARG_DECL) const |
bool | equivalent (CORBA::ULong index, CORBA::TypeCode_ptr tc ACE_ENV_ARG_DECL) const |
Protected Member Functions | |
virtual bool | marshal_label (TAO_OutputCDR &cdr) const =0 |
virtual bool | equal_label (CORBA::ULong index, CORBA::TypeCode_ptr tc ACE_ENV_ARG_DECL) const =0 |
Verify equality of member labels. | |
Private Attributes | |
StringType | name_ |
The name of the case. | |
TypeCodeType | type_ |
Pointer to the CORBA::TypeCode of the case. |
union
case/member.
This class hides the actual IDL union
member label value from the TAO::TypeCode::Union
class by relying on a CORBA::Any return value that corresponds to the CORBA::TypeCode::member_label()
return type. It also allows the TAO::TypeCode::Union
class to marshal the member label values into a CDR stream without knowledge of the underlying member label values.
|
Constructor.
Constructor used when creating static |
|
Constructor.
Constructor used when creating dynamic |
|
Destructor.
|
|
Cloning/copying operation.
Implemented in TAO::TypeCode::Case_T< DiscriminatorType, StringType, TypeCodeType >. |
|
Check for equality of the |
|
Verify equality of member labels.
Performing member label equality comparisons in the
Implemented in TAO::TypeCode::Case_T< DiscriminatorType, StringType, TypeCodeType >. |
|
Check for equivalence of the |
|
Return the IDL Implemented in TAO::TypeCode::Case_T< DiscriminatorType, StringType, TypeCodeType >. |
|
Marshal this IDL |
|
Marshal the IDL Implemented in TAO::TypeCode::Case_T< DiscriminatorType, StringType, TypeCodeType >. |
|
Set the name of the
|
|
Get the name of the
|
|
Set the
|
|
Get the
|
|
The name of the case.
|
|
Pointer to the
A pointer to the
|