TAO_DynamicAny
2.1.2
|
#include <DynArray_i.h>
Public Member Functions | |
TAO_DynArray_i (CORBA::Boolean allow_truncation=true) | |
Constructor. | |
~TAO_DynArray_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::AnySeq * | get_elements (void) |
virtual void | set_elements (const DynamicAny::AnySeq &value) |
virtual DynamicAny::DynAnySeq * | get_elements_as_dyn_any (void) |
virtual void | set_elements_as_dyn_any (const DynamicAny::DynAnySeq &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_DynArray_i * | _narrow (CORBA::Object_ptr obj) |
Private Member Functions | |
CORBA::TypeCode_ptr | get_element_type (void) |
Returns the type of elements contained in the array. | |
CORBA::ULong | get_tc_length (CORBA::TypeCode_ptr tc) |
Gets the length of the array from the typecode. | |
void | init_common (void) |
Called by both versions of init(). | |
TAO_DynArray_i (const TAO_DynArray_i &src) | |
TAO_DynArray_i & | operator= (const TAO_DynArray_i &src) |
Private Attributes | |
ACE_Array_Base < DynamicAny::DynAny_var > | da_members_ |
Each component is also a DynAny. |
Implementation of Dynamic Any type for arrays
TAO_DynArray_i::TAO_DynArray_i | ( | CORBA::Boolean | allow_truncation = true | ) |
Constructor.
TAO_DynArray_i::~TAO_DynArray_i | ( | void | ) |
Destructor.
|
private |
|
static |
Reimplemented from CORBA::LocalObject.
|
virtual |
Implements DynamicAny::DynAny.
|
virtual |
Implements DynamicAny::DynAny.
|
virtual |
|
virtual |
|
private |
Returns the type of elements contained in the array.
|
virtual |
Implements DynamicAny::DynArray.
|
virtual |
Implements DynamicAny::DynArray.
|
private |
Gets the length of the array from the typecode.
void TAO_DynArray_i::init | ( | CORBA::TypeCode_ptr | tc | ) |
Initialize using just a TypeCode.
void TAO_DynArray_i::init | ( | const CORBA::Any & | any | ) |
Initialize using an Any.
|
private |
Called by both versions of init().
|
private |
|
virtual |
|
virtual |
|
virtual |
Implements DynamicAny::DynAny.
Each component is also a DynAny.