TAO_DynamicAny
2.0.8
|
#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.
TAO_DynArray_i::TAO_DynArray_i | ( | const TAO_DynArray_i & | src | ) | [private] |
TAO_DynArray_i * TAO_DynArray_i::_narrow | ( | CORBA::Object_ptr | obj | ) | [static] |
Reimplemented from CORBA::LocalObject.
DynamicAny::DynAny_ptr TAO_DynArray_i::current_component | ( | void | ) | [virtual] |
Implements DynamicAny::DynAny.
void TAO_DynArray_i::destroy | ( | void | ) | [virtual] |
Implements DynamicAny::DynAny.
CORBA::Boolean TAO_DynArray_i::equal | ( | DynamicAny::DynAny_ptr | dyn_any | ) | [virtual] |
void TAO_DynArray_i::from_any | ( | const CORBA::Any & | value | ) | [virtual] |
CORBA::TypeCode_ptr TAO_DynArray_i::get_element_type | ( | void | ) | [private] |
Returns the type of elements contained in the array.
DynamicAny::AnySeq * TAO_DynArray_i::get_elements | ( | void | ) | [virtual] |
Implements DynamicAny::DynArray.
DynamicAny::DynAnySeq * TAO_DynArray_i::get_elements_as_dyn_any | ( | void | ) | [virtual] |
Implements DynamicAny::DynArray.
CORBA::ULong TAO_DynArray_i::get_tc_length | ( | CORBA::TypeCode_ptr | tc | ) | [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.
void TAO_DynArray_i::init_common | ( | void | ) | [private] |
Called by both versions of init().
TAO_DynArray_i& TAO_DynArray_i::operator= | ( | const TAO_DynArray_i & | src | ) | [private] |
void TAO_DynArray_i::set_elements | ( | const DynamicAny::AnySeq & | value | ) | [virtual] |
void TAO_DynArray_i::set_elements_as_dyn_any | ( | const DynamicAny::DynAnySeq & | value | ) | [virtual] |
CORBA::Any_ptr TAO_DynArray_i::to_any | ( | void | ) | [virtual] |
Implements DynamicAny::DynAny.
Each component is also a DynAny.