TAO_DynamicAny
2.1.2
|
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) |
![]() | |
virtual void | set_boxed_value (const ::CORBA::Any &boxed)=0 |
virtual void | set_boxed_value_as_dyn_any (::DynamicAny::DynAny_ptr boxed)=0 |
virtual ::CORBA::Boolean | _is_a (const char *type_id) |
virtual const char * | _interface_repository_id (void) const |
virtual ::CORBA::Boolean | marshal (TAO_OutputCDR &cdr) |
![]() | |
TAO_DynValueCommon_i (CORBA::Boolean allow_truncation=true) | |
Constructor. | |
~TAO_DynValueCommon_i (void) | |
Destructor. | |
void | init_common (void) |
Called by DynValue and DynValueBox init() functions. | |
virtual CORBA::Boolean | is_null (void) |
virtual void | set_to_null (void) |
Static Public Member Functions | |
static TAO_DynValueBox_i * | _narrow (CORBA::Object_ptr obj) |
![]() | |
static void | _tao_any_destructor (void *) |
static DynValueBox_ptr | _duplicate (DynValueBox_ptr obj) |
static void | _tao_release (DynValueBox_ptr obj) |
static DynValueBox_ptr | _narrow (::CORBA::Object_ptr obj) |
static DynValueBox_ptr | _unchecked_narrow (::CORBA::Object_ptr obj) |
static DynValueBox_ptr | _nil (void) |
![]() | |
static DynValueCommon_ptr | _duplicate (DynValueCommon_ptr obj) |
static void | _tao_release (DynValueCommon_ptr obj) |
![]() | |
static DynAny_ptr | _duplicate (DynAny_ptr obj) |
static void | _tao_release (DynAny_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. |
Additional Inherited Members | |
![]() | |
typedef DynValueBox_ptr | _ptr_type |
typedef DynValueBox_var | _var_type |
typedef DynValueBox_out | _out_type |
![]() | |
![]() | |
![]() | |
![]() | |
DynValueBox (void) | |
virtual | ~DynValueBox (void) |
![]() | |
DynValueCommon (void) | |
virtual | ~DynValueCommon (void) |
![]() | |
DynAny (void) | |
virtual | ~DynAny (void) |
![]() | |
CORBA::Boolean | is_null_ |
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.
|
private |
|
static |
Reimplemented from TAO_DynValueCommon_i.
|
privatevirtual |
Check if the typecode is acceptable.
Implements TAO_DynValueCommon_i.
|
virtual |
Reimplemented from TAO_DynAny_i.
|
virtual |
Reimplemented from TAO_DynAny_i.
|
virtual |
Reimplemented from TAO_DynAny_i.
|
virtual |
Reimplemented from TAO_DynAny_i.
|
virtual |
Implements DynamicAny::DynValueBox.
|
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.
|
private |
|
virtual |
|
virtual |
|
private |
Code common to the constructor from an Any arg and the member function from_any().
|
virtual |
Implements TAO_DynValueCommon_i.
|
virtual |
Reimplemented from TAO_DynAny_i.
|
private |
The boxed component of DynValueBox is another DynAny.