TAO_DynStruct_i Class Reference

#include <DynStruct_i.h>

Inheritance diagram for TAO_DynStruct_i:

Inheritance graph
[legend]
Collaboration diagram for TAO_DynStruct_i:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 TAO_DynStruct_i (void)
 Constructor.
 ~TAO_DynStruct_i (void)
 Destructor.
void init (CORBA::TypeCode_ptr tc ACE_ENV_ARG_DECL)
 Initialize using just a TypeCode.
void init (const CORBA::Any &any ACE_ENV_ARG_DECL)
 Initialize using an Any.
virtual DynamicAny::FieldName current_member_name (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) throw ( CORBA::SystemException, DynamicAny::DynAny::TypeMismatch, DynamicAny::DynAny::InvalidValue )
virtual CORBA::TCKind current_member_kind (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) throw ( CORBA::SystemException, DynamicAny::DynAny::TypeMismatch, DynamicAny::DynAny::InvalidValue )
virtual DynamicAny::NameValuePairSeqget_members (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) throw ( CORBA::SystemException )
virtual void set_members (const DynamicAny::NameValuePairSeq &value ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw ( CORBA::SystemException, DynamicAny::DynAny::TypeMismatch, DynamicAny::DynAny::InvalidValue )
virtual DynamicAny::NameDynAnyPairSeqget_members_as_dyn_any (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) throw ( CORBA::SystemException )
virtual void set_members_as_dyn_any (const DynamicAny::NameDynAnyPairSeq &value ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw ( CORBA::SystemException, DynamicAny::DynAny::TypeMismatch, DynamicAny::DynAny::InvalidValue )
virtual void from_any (const CORBA::Any &value ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw ( CORBA::SystemException, DynamicAny::DynAny::TypeMismatch, DynamicAny::DynAny::InvalidValue )
virtual CORBA::Anyto_any (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) throw ( CORBA::SystemException )
virtual CORBA::Boolean equal (DynamicAny::DynAny_ptr dyn_any ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw ( CORBA::SystemException )
virtual void destroy (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) throw ( CORBA::SystemException )
virtual DynamicAny::DynAny_ptr current_component (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) throw ( CORBA::SystemException, DynamicAny::DynAny::TypeMismatch )

Static Public Member Functions

static TAO_DynStruct_i_narrow (CORBA::Object_ptr obj ACE_ENV_ARG_DECL_WITH_DEFAULTS)

Private Member Functions

void check_typecode (CORBA::TypeCode_ptr tc ACE_ENV_ARG_DECL)
 Check if the typecode is acceptable.
void set_from_any (const CORBA::Any &any ACE_ENV_ARG_DECL)
void init_common (void)
 Called by both versions of init().
 TAO_DynStruct_i (const TAO_DynStruct_i &src)
TAO_DynStruct_ioperator= (const TAO_DynStruct_i &src)

Private Attributes

ACE_Array_Base< DynamicAny::DynAny_varda_members_
 Each component is also a DynAny.

Detailed Description

Implementation of Dynamic Any type for Structs


Constructor & Destructor Documentation

TAO_DynStruct_i::TAO_DynStruct_i void   ) 
 

Constructor.

TAO_DynStruct_i::~TAO_DynStruct_i void   ) 
 

Destructor.

TAO_DynStruct_i::TAO_DynStruct_i const TAO_DynStruct_i src  )  [private]
 


Member Function Documentation

static TAO_DynStruct_i* TAO_DynStruct_i::_narrow CORBA::Object_ptr obj  ACE_ENV_ARG_DECL_WITH_DEFAULTS  )  [static]
 

Reimplemented from CORBA::LocalObject.

void TAO_DynStruct_i::check_typecode CORBA::TypeCode_ptr tc  ACE_ENV_ARG_DECL  )  [private]
 

Check if the typecode is acceptable.

virtual DynamicAny::DynAny_ptr TAO_DynStruct_i::current_component ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS   )  throw ( CORBA::SystemException, DynamicAny::DynAny::TypeMismatch ) [virtual]
 

virtual CORBA::TCKind TAO_DynStruct_i::current_member_kind ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS   )  throw ( CORBA::SystemException, DynamicAny::DynAny::TypeMismatch, DynamicAny::DynAny::InvalidValue ) [virtual]
 

virtual DynamicAny::FieldName TAO_DynStruct_i::current_member_name ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS   )  throw ( CORBA::SystemException, DynamicAny::DynAny::TypeMismatch, DynamicAny::DynAny::InvalidValue ) [virtual]
 

virtual void TAO_DynStruct_i::destroy ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS   )  throw ( CORBA::SystemException ) [virtual]
 

virtual CORBA::Boolean TAO_DynStruct_i::equal DynamicAny::DynAny_ptr dyn_any  ACE_ENV_ARG_DECL_WITH_DEFAULTS  )  throw ( CORBA::SystemException ) [virtual]
 

virtual void TAO_DynStruct_i::from_any const CORBA::Any &value  ACE_ENV_ARG_DECL_WITH_DEFAULTS  )  throw ( CORBA::SystemException, DynamicAny::DynAny::TypeMismatch, DynamicAny::DynAny::InvalidValue ) [virtual]
 

virtual DynamicAny::NameValuePairSeq* TAO_DynStruct_i::get_members ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS   )  throw ( CORBA::SystemException ) [virtual]
 

virtual DynamicAny::NameDynAnyPairSeq* TAO_DynStruct_i::get_members_as_dyn_any ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS   )  throw ( CORBA::SystemException ) [virtual]
 

void TAO_DynStruct_i::init const CORBA::Any &any  ACE_ENV_ARG_DECL  ) 
 

Initialize using an Any.

void TAO_DynStruct_i::init CORBA::TypeCode_ptr tc  ACE_ENV_ARG_DECL  ) 
 

Initialize using just a TypeCode.

void TAO_DynStruct_i::init_common void   )  [private]
 

Called by both versions of init().

TAO_DynStruct_i& TAO_DynStruct_i::operator= const TAO_DynStruct_i src  )  [private]
 

void TAO_DynStruct_i::set_from_any const CORBA::Any &any  ACE_ENV_ARG_DECL  )  [private]
 

Code common to the constructor from an Any arg and the member function from_any().

virtual void TAO_DynStruct_i::set_members const DynamicAny::NameValuePairSeq &value  ACE_ENV_ARG_DECL_WITH_DEFAULTS  )  throw ( CORBA::SystemException, DynamicAny::DynAny::TypeMismatch, DynamicAny::DynAny::InvalidValue ) [virtual]
 

virtual void TAO_DynStruct_i::set_members_as_dyn_any const DynamicAny::NameDynAnyPairSeq &value  ACE_ENV_ARG_DECL_WITH_DEFAULTS  )  throw ( CORBA::SystemException, DynamicAny::DynAny::TypeMismatch, DynamicAny::DynAny::InvalidValue ) [virtual]
 

virtual CORBA::Any* TAO_DynStruct_i::to_any ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS   )  throw ( CORBA::SystemException ) [virtual]
 


Member Data Documentation

ACE_Array_Base<DynamicAny::DynAny_var> TAO_DynStruct_i::da_members_ [private]
 

Each component is also a DynAny.


The documentation for this class was generated from the following files:
Generated on Wed Nov 23 16:14:48 2005 for TAO_DynamicAny by  doxygen 1.4.5