TAO_DynamicAny
2.1.2
|
Implementation of the basic Dynamic Any datatype. More...
#include <DynAny_i.h>
Public Member Functions | |
TAO_DynAny_i (CORBA::Boolean allow_truncation=true) | |
Constructor. | |
~TAO_DynAny_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 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_DynAny_i * | _narrow (CORBA::Object_ptr obj) |
Private Member Functions | |
void | check_typecode (CORBA::TypeCode_ptr tc) |
Check if the typecode is acceptable. | |
void | set_to_default_value (CORBA::TypeCode_ptr tc) |
Used when we are created from a typecode. | |
void | init_common (void) |
Called by both versions of init(). | |
TAO_DynAny_i (const TAO_DynAny_i &src) | |
TAO_DynAny_i & | operator= (const TAO_DynAny_i &src) |
Implementation of the basic Dynamic Any datatype.
TAO_DynAny_i::TAO_DynAny_i | ( | CORBA::Boolean | allow_truncation = true | ) |
Constructor.
TAO_DynAny_i::~TAO_DynAny_i | ( | void | ) |
Destructor.
|
private |
|
static |
Reimplemented from CORBA::LocalObject.
Reimplemented in TAO_DynValue_i, TAO_DynValueBox_i, and TAO_DynValueCommon_i.
|
private |
Check if the typecode is acceptable.
Reimplemented in TAO_DynValue_i, TAO_DynValueBox_i, and TAO_DynValueCommon_i.
|
virtual |
Implements DynamicAny::DynAny.
Reimplemented in TAO_DynValue_i, and TAO_DynValueBox_i.
|
virtual |
Implements DynamicAny::DynAny.
Reimplemented in TAO_DynValue_i, and TAO_DynValueBox_i.
|
virtual |
Reimplemented in TAO_DynValue_i, and TAO_DynValueBox_i.
|
virtual |
Reimplemented in TAO_DynValue_i, and TAO_DynValueBox_i.
void TAO_DynAny_i::init | ( | CORBA::TypeCode_ptr | tc | ) |
Initialize using just a TypeCode.
Reimplemented in TAO_DynValue_i, and TAO_DynValueBox_i.
void TAO_DynAny_i::init | ( | const CORBA::Any & | any | ) |
Initialize using an Any.
Reimplemented in TAO_DynValueBox_i, and TAO_DynValue_i.
|
private |
Called by both versions of init().
Reimplemented in TAO_DynValueCommon_i.
|
private |
|
private |
Used when we are created from a typecode.
|
virtual |
Implements DynamicAny::DynAny.
Reimplemented in TAO_DynValue_i, and TAO_DynValueBox_i.