TAO_DynamicAny  2.0.8
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes
TAO_DynEnum_i Class Reference

#include <DynEnum_i.h>

Inheritance diagram for TAO_DynEnum_i:
Inheritance graph
[legend]
Collaboration diagram for TAO_DynEnum_i:
Collaboration graph
[legend]

List of all members.

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_ioperator= (const TAO_DynEnum_i &src)

Private Attributes

CORBA::ULong value_
 Current numeric value of the enum.

Detailed Description

Implementation of Dynamic Any type for enums


Constructor & Destructor Documentation

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]

Member Function Documentation

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.


Member Data Documentation

Current numeric value of the enum.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Defines