TAO_DynamicAny  2.1.2
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes
TAO_DynValueBox_i Class Reference

Implementation of the DynValueBox class. More...

#include <DynValueBox_i.h>

Inheritance diagram for TAO_DynValueBox_i:
Inheritance graph
[legend]

List of all members.

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)
- Public Member Functions inherited from DynamicAny::DynValueBox
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)
- Public Member Functions inherited from TAO_DynValueCommon_i
 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 Public Member Functions inherited from DynamicAny::DynValueBox
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 Public Member Functions inherited from DynamicAny::DynValueCommon
static DynValueCommon_ptr _duplicate (DynValueCommon_ptr obj)
static void _tao_release (DynValueCommon_ptr obj)
- Static Public Member Functions inherited from DynamicAny::DynAny
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_ioperator= (const TAO_DynValueBox_i &src)

Private Attributes

DynamicAny::DynAny_var boxed_
 The boxed component of DynValueBox is another DynAny.

Additional Inherited Members

- Public Types inherited from DynamicAny::DynValueBox
typedef DynValueBox_ptr _ptr_type
typedef DynValueBox_var _var_type
typedef DynValueBox_out _out_type
- Public Types inherited from DynamicAny::DynValueCommon
- Public Types inherited from DynamicAny::DynAny
- Public Types inherited from CORBA::Object
- Protected Member Functions inherited from DynamicAny::DynValueBox
 DynValueBox (void)
virtual ~DynValueBox (void)
- Protected Member Functions inherited from DynamicAny::DynValueCommon
 DynValueCommon (void)
virtual ~DynValueCommon (void)
- Protected Member Functions inherited from DynamicAny::DynAny
 DynAny (void)
virtual ~DynAny (void)
- Protected Attributes inherited from TAO_DynValueCommon_i
CORBA::Boolean is_null_

Detailed Description

Implementation of the DynValueBox class.


Constructor & Destructor Documentation

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

Member Function Documentation

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)
privatevirtual

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
DynamicAny::DynAny_ptr TAO_DynValueBox_i::get_boxed_value_as_dyn_any ( void  )
virtual
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.


Member Data Documentation

DynamicAny::DynAny_var TAO_DynValueBox_i::boxed_
private

The boxed component of DynValueBox is another DynAny.


The documentation for this class was generated from the following files: