TAO_DynamicAny
2.0.8
|
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.
TAO_DynAny_i::TAO_DynAny_i | ( | const TAO_DynAny_i & | src | ) | [private] |
TAO_DynAny_i * TAO_DynAny_i::_narrow | ( | CORBA::Object_ptr | obj | ) | [static] |
Reimplemented from CORBA::LocalObject.
Reimplemented in TAO_DynValue_i, TAO_DynValueBox_i, and TAO_DynValueCommon_i.
void TAO_DynAny_i::check_typecode | ( | CORBA::TypeCode_ptr | tc | ) | [private] |
Check if the typecode is acceptable.
Reimplemented in TAO_DynValue_i, TAO_DynValueBox_i, and TAO_DynValueCommon_i.
DynamicAny::DynAny_ptr TAO_DynAny_i::current_component | ( | void | ) | [virtual] |
Implements DynamicAny::DynAny.
Reimplemented in TAO_DynValue_i, and TAO_DynValueBox_i.
void TAO_DynAny_i::destroy | ( | void | ) | [virtual] |
Implements DynamicAny::DynAny.
Reimplemented in TAO_DynValue_i, and TAO_DynValueBox_i.
CORBA::Boolean TAO_DynAny_i::equal | ( | DynamicAny::DynAny_ptr | dyn_any | ) | [virtual] |
Reimplemented in TAO_DynValue_i, and TAO_DynValueBox_i.
void TAO_DynAny_i::from_any | ( | const CORBA::Any & | value | ) | [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.
void TAO_DynAny_i::init_common | ( | void | ) | [private] |
Called by both versions of init().
Reimplemented in TAO_DynValueCommon_i.
TAO_DynAny_i& TAO_DynAny_i::operator= | ( | const TAO_DynAny_i & | src | ) | [private] |
void TAO_DynAny_i::set_to_default_value | ( | CORBA::TypeCode_ptr | tc | ) | [private] |
Used when we are created from a typecode.
CORBA::Any_ptr TAO_DynAny_i::to_any | ( | void | ) | [virtual] |
Implements DynamicAny::DynAny.
Reimplemented in TAO_DynValue_i, and TAO_DynValueBox_i.