Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes

TAO_DynUnion_i Class Reference

#include <DynUnion_i.h>

Inheritance diagram for TAO_DynUnion_i:
Inheritance graph
Collaboration diagram for TAO_DynUnion_i:
Collaboration graph

List of all members.

Public Member Functions

 TAO_DynUnion_i (void)
 ~TAO_DynUnion_i (void)
void init (const CORBA::Any &any)
 Constructor taking an Any argument.
void init (CORBA::TypeCode_ptr tc)
 Constructor taking a typecode argument.
virtual DynamicAny::DynAny_ptr get_discriminator (void)
virtual void set_discriminator (DynamicAny::DynAny_ptr d)
virtual void set_to_default_member (void)
virtual void set_to_no_active_member (void)
virtual CORBA::Boolean has_no_active_member (void)
virtual CORBA::TCKind discriminator_kind (void)
virtual DynamicAny::DynAny_ptr member (void)
virtual char * member_name (void)
virtual CORBA::TCKind member_kind (void)
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_DynUnion_i_narrow (CORBA::Object_ptr obj)

Private Member Functions

void set_from_any (const CORBA::Any &any)
void init_common (void)
 Called by both versions of init().
CORBA::Boolean label_match (const CORBA::Any &my_any, const CORBA::Any &other_any)
 Iterative check for label value match.
 TAO_DynUnion_i (const TAO_DynUnion_i &src)
 Use copy() or assign() instead of these.
TAO_DynUnion_ioperator= (const TAO_DynUnion_i &src)

Private Attributes

DynamicAny::DynAny_var member_
 Just two components.
DynamicAny::DynAny_var discriminator_
CORBA::ULong member_slot_
 The active member's slot in the union type code.

Detailed Description

Implementation of Dynamic Any type for Unions.

Constructor & Destructor Documentation

TAO_DynUnion_i::TAO_DynUnion_i ( void   ) 


TAO_DynUnion_i::~TAO_DynUnion_i ( void   ) 


TAO_DynUnion_i::TAO_DynUnion_i ( const TAO_DynUnion_i src  )  [private]

Use copy() or assign() instead of these.

Member Function Documentation

TAO_DynUnion_i * TAO_DynUnion_i::_narrow ( CORBA::Object_ptr  obj  )  [static]

Reimplemented from CORBA::LocalObject.

DynamicAny::DynAny_ptr TAO_DynUnion_i::current_component ( void   )  [virtual]
void TAO_DynUnion_i::destroy ( void   )  [virtual]
CORBA::TCKind TAO_DynUnion_i::discriminator_kind ( void   )  [virtual]
CORBA::Boolean TAO_DynUnion_i::equal ( DynamicAny::DynAny_ptr  dyn_any  )  [virtual]
void TAO_DynUnion_i::from_any ( const CORBA::Any &  value  )  [virtual]
DynamicAny::DynAny_ptr TAO_DynUnion_i::get_discriminator ( void   )  [virtual]
CORBA::Boolean TAO_DynUnion_i::has_no_active_member ( void   )  [virtual]
void TAO_DynUnion_i::init ( CORBA::TypeCode_ptr  tc  ) 

Constructor taking a typecode argument.

void TAO_DynUnion_i::init ( const CORBA::Any &  any  ) 

Constructor taking an Any argument.

void TAO_DynUnion_i::init_common ( void   )  [private]

Called by both versions of init().

CORBA::Boolean TAO_DynUnion_i::label_match ( const CORBA::Any &  my_any,
const CORBA::Any &  other_any 
) [private]

Iterative check for label value match.

DynamicAny::DynAny_ptr TAO_DynUnion_i::member ( void   )  [virtual]
CORBA::TCKind TAO_DynUnion_i::member_kind ( void   )  [virtual]
char * TAO_DynUnion_i::member_name ( void   )  [virtual]
TAO_DynUnion_i& TAO_DynUnion_i::operator= ( const TAO_DynUnion_i src  )  [private]
void TAO_DynUnion_i::set_discriminator ( DynamicAny::DynAny_ptr  d  )  [virtual]
void TAO_DynUnion_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_DynUnion_i::set_to_default_member ( void   )  [virtual]
void TAO_DynUnion_i::set_to_no_active_member ( void   )  [virtual]
CORBA::Any_ptr TAO_DynUnion_i::to_any ( void   )  [virtual]

Member Data Documentation

DynamicAny::DynAny_var TAO_DynUnion_i::discriminator_ [private]
DynamicAny::DynAny_var TAO_DynUnion_i::member_ [private]

Just two components.

The active member's slot in the union type code.

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