TAO_DynamicAny
2.0.8
|
#include <DynUnion_i.h>
Public Member Functions | |
TAO_DynUnion_i (CORBA::Boolean allow_truncation=true) | |
Constructor. | |
~TAO_DynUnion_i (void) | |
Destructor. | |
void | init (const CORBA::Any &any) |
Constructor taking an Any argument. | |
void | init (CORBA::TypeCode_ptr tc) |
Constructor taking a typecode argument. | |
virtual DynamicAny::DynAny_ptr | get_discriminator (void) |
virtual void | set_discriminator (DynamicAny::DynAny_ptr d) |
virtual void | set_to_default_member (void) |
virtual void | set_to_no_active_member (void) |
virtual CORBA::Boolean | has_no_active_member (void) |
virtual CORBA::TCKind | discriminator_kind (void) |
virtual DynamicAny::DynAny_ptr | member (void) |
virtual char * | member_name (void) |
virtual CORBA::TCKind | member_kind (void) |
virtual void | from_any (const CORBA::Any &value) |
virtual CORBA::Any * | to_any (void) |
virtual CORBA::Boolean | equal (DynamicAny::DynAny_ptr dyn_any) |
virtual void | destroy (void) |
virtual DynamicAny::DynAny_ptr | current_component (void) |
Static Public Member Functions | |
static TAO_DynUnion_i * | _narrow (CORBA::Object_ptr obj) |
Private Member Functions | |
void | set_from_any (const CORBA::Any &any) |
void | init_common (void) |
Called by both versions of init(). | |
CORBA::Boolean | label_match (const CORBA::Any &my_any, const CORBA::Any &other_any) |
Iterative check for label value match. | |
TAO_DynUnion_i (const TAO_DynUnion_i &src) | |
Use copy() or assign() instead of these. | |
TAO_DynUnion_i & | operator= (const TAO_DynUnion_i &src) |
Private Attributes | |
DynamicAny::DynAny_var | member_ |
Just two components. | |
DynamicAny::DynAny_var | discriminator_ |
CORBA::ULong | member_slot_ |
The active member's slot in the union type code. |
Implementation of Dynamic Any type for Unions.
TAO_DynUnion_i::TAO_DynUnion_i | ( | CORBA::Boolean | allow_truncation = true | ) |
Constructor.
TAO_DynUnion_i::~TAO_DynUnion_i | ( | void | ) |
Destructor.
TAO_DynUnion_i::TAO_DynUnion_i | ( | const TAO_DynUnion_i & | src | ) | [private] |
TAO_DynUnion_i * TAO_DynUnion_i::_narrow | ( | CORBA::Object_ptr | obj | ) | [static] |
Reimplemented from CORBA::LocalObject.
DynamicAny::DynAny_ptr TAO_DynUnion_i::current_component | ( | void | ) | [virtual] |
Implements DynamicAny::DynAny.
void TAO_DynUnion_i::destroy | ( | void | ) | [virtual] |
Implements DynamicAny::DynAny.
CORBA::TCKind TAO_DynUnion_i::discriminator_kind | ( | void | ) | [virtual] |
Implements DynamicAny::DynUnion.
CORBA::Boolean TAO_DynUnion_i::equal | ( | DynamicAny::DynAny_ptr | dyn_any | ) | [virtual] |
void TAO_DynUnion_i::from_any | ( | const CORBA::Any & | value | ) | [virtual] |
DynamicAny::DynAny_ptr TAO_DynUnion_i::get_discriminator | ( | void | ) | [virtual] |
Implements DynamicAny::DynUnion.
CORBA::Boolean TAO_DynUnion_i::has_no_active_member | ( | void | ) | [virtual] |
Implements DynamicAny::DynUnion.
void TAO_DynUnion_i::init | ( | const CORBA::Any & | any | ) |
Constructor taking an Any argument.
void TAO_DynUnion_i::init | ( | CORBA::TypeCode_ptr | tc | ) |
Constructor taking a typecode argument.
void TAO_DynUnion_i::init_common | ( | void | ) | [private] |
Called by both versions of init().
CORBA::Boolean TAO_DynUnion_i::label_match | ( | const CORBA::Any & | my_any, |
const CORBA::Any & | other_any | ||
) | [private] |
Iterative check for label value match.
DynamicAny::DynAny_ptr TAO_DynUnion_i::member | ( | void | ) | [virtual] |
Implements DynamicAny::DynUnion.
CORBA::TCKind TAO_DynUnion_i::member_kind | ( | void | ) | [virtual] |
Implements DynamicAny::DynUnion.
char * TAO_DynUnion_i::member_name | ( | void | ) | [virtual] |
Implements DynamicAny::DynUnion.
TAO_DynUnion_i& TAO_DynUnion_i::operator= | ( | const TAO_DynUnion_i & | src | ) | [private] |
void TAO_DynUnion_i::set_discriminator | ( | DynamicAny::DynAny_ptr | d | ) | [virtual] |
void TAO_DynUnion_i::set_from_any | ( | const CORBA::Any & | any | ) | [private] |
Code common to the constructor from an Any arg and the member function from_any().
void TAO_DynUnion_i::set_to_default_member | ( | void | ) | [virtual] |
Implements DynamicAny::DynUnion.
void TAO_DynUnion_i::set_to_no_active_member | ( | void | ) | [virtual] |
Implements DynamicAny::DynUnion.
CORBA::Any_ptr TAO_DynUnion_i::to_any | ( | void | ) | [virtual] |
Implements DynamicAny::DynAny.
Just two components.
CORBA::ULong TAO_DynUnion_i::member_slot_ [private] |
The active member's slot in the union type code.