TAO_DynamicAny
2.0.8
|
Implementation of the DynValueBox class. More...
#include <DynValueBox_i.h>
Public Member Functions | |
TAO_DynValueBox_i (CORBA::Boolean allow_truncation=true) | |
Constructor. | |
~TAO_DynValueBox_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 CORBA::Any * | get_boxed_value (void) |
virtual void | set_boxed_value (const CORBA::Any &boxed) |
virtual DynamicAny::DynAny_ptr | get_boxed_value_as_dyn_any (void) |
virtual void | set_boxed_value_as_dyn_any (DynamicAny::DynAny_ptr boxed) |
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) |
virtual void | set_to_value (void) |
Static Public Member Functions | |
static TAO_DynValueBox_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) |
TAO_DynValueBox_i (const TAO_DynValueBox_i &src) | |
TAO_DynValueBox_i & | operator= (const TAO_DynValueBox_i &src) |
Private Attributes | |
DynamicAny::DynAny_var | boxed_ |
The boxed component of DynValueBox is another DynAny. |
Implementation of the DynValueBox class.
TAO_DynValueBox_i::TAO_DynValueBox_i | ( | CORBA::Boolean | allow_truncation = true | ) |
Constructor.
TAO_DynValueBox_i::~TAO_DynValueBox_i | ( | void | ) |
Destructor.
TAO_DynValueBox_i::TAO_DynValueBox_i | ( | const TAO_DynValueBox_i & | src | ) | [private] |
TAO_DynValueBox_i * TAO_DynValueBox_i::_narrow | ( | CORBA::Object_ptr | obj | ) | [static] |
Reimplemented from TAO_DynValueCommon_i.
void TAO_DynValueBox_i::check_typecode | ( | CORBA::TypeCode_ptr | tc | ) | [private, virtual] |
Check if the typecode is acceptable.
Implements TAO_DynValueCommon_i.
DynamicAny::DynAny_ptr TAO_DynValueBox_i::current_component | ( | void | ) | [virtual] |
Reimplemented from TAO_DynAny_i.
void TAO_DynValueBox_i::destroy | ( | void | ) | [virtual] |
Reimplemented from TAO_DynAny_i.
CORBA::Boolean TAO_DynValueBox_i::equal | ( | DynamicAny::DynAny_ptr | dyn_any | ) | [virtual] |
Reimplemented from TAO_DynAny_i.
void TAO_DynValueBox_i::from_any | ( | const CORBA::Any & | value | ) | [virtual] |
Reimplemented from TAO_DynAny_i.
CORBA::Any * TAO_DynValueBox_i::get_boxed_value | ( | void | ) | [virtual] |
Implements DynamicAny::DynValueBox.
DynamicAny::DynAny_ptr TAO_DynValueBox_i::get_boxed_value_as_dyn_any | ( | void | ) | [virtual] |
Implements DynamicAny::DynValueBox.
void TAO_DynValueBox_i::init | ( | CORBA::TypeCode_ptr | tc | ) |
Initialize using just a TypeCode.
Reimplemented from TAO_DynAny_i.
void TAO_DynValueBox_i::init | ( | const CORBA::Any & | any | ) |
Initialize using an Any.
Reimplemented from TAO_DynAny_i.
TAO_DynValueBox_i& TAO_DynValueBox_i::operator= | ( | const TAO_DynValueBox_i & | src | ) | [private] |
void TAO_DynValueBox_i::set_boxed_value | ( | const CORBA::Any & | boxed | ) | [virtual] |
void TAO_DynValueBox_i::set_boxed_value_as_dyn_any | ( | DynamicAny::DynAny_ptr | boxed | ) | [virtual] |
void TAO_DynValueBox_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_DynValueBox_i::set_to_value | ( | void | ) | [virtual] |
Implements TAO_DynValueCommon_i.
CORBA::Any_ptr TAO_DynValueBox_i::to_any | ( | void | ) | [virtual] |
Reimplemented from TAO_DynAny_i.
The boxed component of DynValueBox is another DynAny.