TAO_DynamicAny
2.0.8
|
#include <DynStruct_i.h>
Public Member Functions | |
TAO_DynStruct_i (CORBA::Boolean allow_truncation=true) | |
Constructor. | |
~TAO_DynStruct_i (void) | |
Destructor. | |
void | init (CORBA::TypeCode_ptr tc) |
Initialize using just a TypeCode. | |
void | init (const CORBA::Any &any) |
Initialize using an Any. | |
virtual DynamicAny::FieldName | current_member_name (void) |
virtual CORBA::TCKind | current_member_kind (void) |
virtual DynamicAny::NameValuePairSeq * | get_members (void) |
virtual void | set_members (const DynamicAny::NameValuePairSeq &value) |
virtual DynamicAny::NameDynAnyPairSeq * | get_members_as_dyn_any (void) |
virtual void | set_members_as_dyn_any (const DynamicAny::NameDynAnyPairSeq &value) |
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_DynStruct_i * | _narrow (CORBA::Object_ptr obj) |
Private Member Functions | |
void | check_typecode (CORBA::TypeCode_ptr tc) |
Check if the typecode is acceptable. | |
void | set_from_any (const CORBA::Any &any) |
void | init_common (void) |
Called by both versions of init(). | |
TAO_DynStruct_i (const TAO_DynStruct_i &src) | |
TAO_DynStruct_i & | operator= (const TAO_DynStruct_i &src) |
Private Attributes | |
ACE_Array_Base < DynamicAny::DynAny_var > | da_members_ |
Each component is also a DynAny. |
Implementation of Dynamic Any type for Structs
TAO_DynStruct_i::TAO_DynStruct_i | ( | CORBA::Boolean | allow_truncation = true | ) |
Constructor.
TAO_DynStruct_i::~TAO_DynStruct_i | ( | void | ) |
Destructor.
TAO_DynStruct_i::TAO_DynStruct_i | ( | const TAO_DynStruct_i & | src | ) | [private] |
TAO_DynStruct_i * TAO_DynStruct_i::_narrow | ( | CORBA::Object_ptr | obj | ) | [static] |
Reimplemented from CORBA::LocalObject.
void TAO_DynStruct_i::check_typecode | ( | CORBA::TypeCode_ptr | tc | ) | [private] |
Check if the typecode is acceptable.
DynamicAny::DynAny_ptr TAO_DynStruct_i::current_component | ( | void | ) | [virtual] |
Implements DynamicAny::DynAny.
CORBA::TCKind TAO_DynStruct_i::current_member_kind | ( | void | ) | [virtual] |
Implements DynamicAny::DynStruct.
DynamicAny::FieldName TAO_DynStruct_i::current_member_name | ( | void | ) | [virtual] |
Implements DynamicAny::DynStruct.
void TAO_DynStruct_i::destroy | ( | void | ) | [virtual] |
Implements DynamicAny::DynAny.
CORBA::Boolean TAO_DynStruct_i::equal | ( | DynamicAny::DynAny_ptr | dyn_any | ) | [virtual] |
void TAO_DynStruct_i::from_any | ( | const CORBA::Any & | value | ) | [virtual] |
DynamicAny::NameValuePairSeq * TAO_DynStruct_i::get_members | ( | void | ) | [virtual] |
Implements DynamicAny::DynStruct.
DynamicAny::NameDynAnyPairSeq * TAO_DynStruct_i::get_members_as_dyn_any | ( | void | ) | [virtual] |
Implements DynamicAny::DynStruct.
void TAO_DynStruct_i::init | ( | CORBA::TypeCode_ptr | tc | ) |
Initialize using just a TypeCode.
void TAO_DynStruct_i::init | ( | const CORBA::Any & | any | ) |
Initialize using an Any.
void TAO_DynStruct_i::init_common | ( | void | ) | [private] |
Called by both versions of init().
TAO_DynStruct_i& TAO_DynStruct_i::operator= | ( | const TAO_DynStruct_i & | src | ) | [private] |
void TAO_DynStruct_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_DynStruct_i::set_members | ( | const DynamicAny::NameValuePairSeq & | value | ) | [virtual] |
void TAO_DynStruct_i::set_members_as_dyn_any | ( | const DynamicAny::NameDynAnyPairSeq & | value | ) | [virtual] |
CORBA::Any_ptr TAO_DynStruct_i::to_any | ( | void | ) | [virtual] |
Implements DynamicAny::DynAny.
Each component is also a DynAny.