TAO_DynamicAny
2.0.8
|
#include <DynEnum_i.h>
Public Member Functions | |
TAO_DynEnum_i (CORBA::Boolean allow_truncation=true) | |
Constructor. | |
~TAO_DynEnum_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 char * | get_as_string (void) |
virtual void | set_as_string (const char *value) |
virtual CORBA::ULong | get_as_ulong (void) |
virtual void | set_as_ulong (CORBA::ULong value) |
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_DynEnum_i * | _narrow (CORBA::Object_ptr obj) |
Private Member Functions | |
void | init_common (void) |
TAO_DynEnum_i (const TAO_DynEnum_i &src) | |
TAO_DynEnum_i & | operator= (const TAO_DynEnum_i &src) |
Private Attributes | |
CORBA::ULong | value_ |
Current numeric value of the enum. |
Implementation of Dynamic Any type for enums
TAO_DynEnum_i::TAO_DynEnum_i | ( | CORBA::Boolean | allow_truncation = true | ) |
Constructor.
TAO_DynEnum_i::~TAO_DynEnum_i | ( | void | ) |
Destructor.
TAO_DynEnum_i::TAO_DynEnum_i | ( | const TAO_DynEnum_i & | src | ) | [private] |
TAO_DynEnum_i * TAO_DynEnum_i::_narrow | ( | CORBA::Object_ptr | obj | ) | [static] |
Reimplemented from CORBA::LocalObject.
DynamicAny::DynAny_ptr TAO_DynEnum_i::current_component | ( | void | ) | [virtual] |
Implements DynamicAny::DynAny.
void TAO_DynEnum_i::destroy | ( | void | ) | [virtual] |
Implements DynamicAny::DynAny.
CORBA::Boolean TAO_DynEnum_i::equal | ( | DynamicAny::DynAny_ptr | dyn_any | ) | [virtual] |
void TAO_DynEnum_i::from_any | ( | const CORBA::Any & | value | ) | [virtual] |
char * TAO_DynEnum_i::get_as_string | ( | void | ) | [virtual] |
Implements DynamicAny::DynEnum.
CORBA::ULong TAO_DynEnum_i::get_as_ulong | ( | void | ) | [virtual] |
Implements DynamicAny::DynEnum.
void TAO_DynEnum_i::init | ( | CORBA::TypeCode_ptr | tc | ) |
Initialize using just a TypeCode.
void TAO_DynEnum_i::init | ( | const CORBA::Any & | any | ) |
Initialize using an Any.
void TAO_DynEnum_i::init_common | ( | void | ) | [private] |
TAO_DynEnum_i& TAO_DynEnum_i::operator= | ( | const TAO_DynEnum_i & | src | ) | [private] |
void TAO_DynEnum_i::set_as_string | ( | const char * | value | ) | [virtual] |
Implements DynamicAny::DynEnum.
void TAO_DynEnum_i::set_as_ulong | ( | CORBA::ULong | value | ) | [virtual] |
CORBA::Any_ptr TAO_DynEnum_i::to_any | ( | void | ) | [virtual] |
Implements DynamicAny::DynAny.
CORBA::ULong TAO_DynEnum_i::value_ [private] |
Current numeric value of the enum.