#include <DynCommon.h>
Inheritance diagram for TAO_DynCommon:
Public Member Functions | |
TAO_DynCommon (void) | |
Constructor. | |
virtual | ~TAO_DynCommon (void) |
Destructor. | |
virtual CORBA::TypeCode_ptr | type () throw ( CORBA::SystemException ) |
virtual void | assign (DynamicAny::DynAny_ptr dyn_any) throw ( CORBA::SystemException, DynamicAny::DynAny::TypeMismatch ) |
virtual void | insert_boolean (CORBA::Boolean value) throw ( CORBA::SystemException, DynamicAny::DynAny::TypeMismatch, DynamicAny::DynAny::InvalidValue ) |
virtual void | insert_octet (CORBA::Octet value) throw ( CORBA::SystemException, DynamicAny::DynAny::TypeMismatch, DynamicAny::DynAny::InvalidValue ) |
virtual void | insert_char (CORBA::Char value) throw ( CORBA::SystemException, DynamicAny::DynAny::TypeMismatch, DynamicAny::DynAny::InvalidValue ) |
virtual void | insert_short (CORBA::Short value) throw ( CORBA::SystemException, DynamicAny::DynAny::TypeMismatch, DynamicAny::DynAny::InvalidValue ) |
virtual void | insert_ushort (CORBA::UShort value) throw ( CORBA::SystemException, DynamicAny::DynAny::TypeMismatch, DynamicAny::DynAny::InvalidValue ) |
virtual void | insert_long (CORBA::Long value) throw ( CORBA::SystemException, DynamicAny::DynAny::TypeMismatch, DynamicAny::DynAny::InvalidValue ) |
virtual void | insert_ulong (CORBA::ULong value) throw ( CORBA::SystemException, DynamicAny::DynAny::TypeMismatch, DynamicAny::DynAny::InvalidValue ) |
virtual void | insert_float (CORBA::Float value) throw ( CORBA::SystemException, DynamicAny::DynAny::TypeMismatch, DynamicAny::DynAny::InvalidValue ) |
virtual void | insert_double (CORBA::Double value) throw ( CORBA::SystemException, DynamicAny::DynAny::TypeMismatch, DynamicAny::DynAny::InvalidValue ) |
virtual void | insert_string (const char *value) throw ( CORBA::SystemException, DynamicAny::DynAny::TypeMismatch, DynamicAny::DynAny::InvalidValue ) |
virtual void | insert_reference (CORBA::Object_ptr value) throw ( CORBA::SystemException, DynamicAny::DynAny::TypeMismatch, DynamicAny::DynAny::InvalidValue ) |
virtual void | insert_typecode (CORBA::TypeCode_ptr value) throw ( CORBA::SystemException, DynamicAny::DynAny::TypeMismatch, DynamicAny::DynAny::InvalidValue ) |
virtual void | insert_longlong (CORBA::LongLong value) throw ( CORBA::SystemException, DynamicAny::DynAny::TypeMismatch, DynamicAny::DynAny::InvalidValue ) |
virtual void | insert_ulonglong (CORBA::ULongLong value) throw ( CORBA::SystemException, DynamicAny::DynAny::TypeMismatch, DynamicAny::DynAny::InvalidValue ) |
virtual void | insert_longdouble (CORBA::LongDouble value) throw ( CORBA::SystemException, DynamicAny::DynAny::TypeMismatch, DynamicAny::DynAny::InvalidValue ) |
virtual void | insert_wchar (CORBA::WChar value) throw ( CORBA::SystemException, DynamicAny::DynAny::TypeMismatch, DynamicAny::DynAny::InvalidValue ) |
virtual void | insert_wstring (const CORBA::WChar *value) throw ( CORBA::SystemException, DynamicAny::DynAny::TypeMismatch, DynamicAny::DynAny::InvalidValue ) |
virtual void | insert_any (const CORBA::Any &value) throw ( CORBA::SystemException, DynamicAny::DynAny::TypeMismatch, DynamicAny::DynAny::InvalidValue ) |
virtual void | insert_dyn_any (DynamicAny::DynAny_ptr value) throw ( CORBA::SystemException, DynamicAny::DynAny::TypeMismatch, DynamicAny::DynAny::InvalidValue ) |
virtual void | insert_val (CORBA::ValueBase *value) throw ( CORBA::SystemException, DynamicAny::DynAny::TypeMismatch, DynamicAny::DynAny::InvalidValue ) |
virtual CORBA::Boolean | get_boolean () throw ( CORBA::SystemException, DynamicAny::DynAny::TypeMismatch, DynamicAny::DynAny::InvalidValue ) |
virtual CORBA::Octet | get_octet () throw ( CORBA::SystemException, DynamicAny::DynAny::TypeMismatch, DynamicAny::DynAny::InvalidValue ) |
virtual CORBA::Char | get_char () throw ( CORBA::SystemException, DynamicAny::DynAny::TypeMismatch, DynamicAny::DynAny::InvalidValue ) |
virtual CORBA::Short | get_short () throw ( CORBA::SystemException, DynamicAny::DynAny::TypeMismatch, DynamicAny::DynAny::InvalidValue ) |
virtual CORBA::UShort | get_ushort () throw ( CORBA::SystemException, DynamicAny::DynAny::TypeMismatch, DynamicAny::DynAny::InvalidValue ) |
virtual CORBA::Long | get_long () throw ( CORBA::SystemException, DynamicAny::DynAny::TypeMismatch, DynamicAny::DynAny::InvalidValue ) |
virtual CORBA::ULong | get_ulong () throw ( CORBA::SystemException, DynamicAny::DynAny::TypeMismatch, DynamicAny::DynAny::InvalidValue ) |
virtual CORBA::Float | get_float () throw ( CORBA::SystemException, DynamicAny::DynAny::TypeMismatch, DynamicAny::DynAny::InvalidValue ) |
virtual CORBA::Double | get_double () throw ( CORBA::SystemException, DynamicAny::DynAny::TypeMismatch, DynamicAny::DynAny::InvalidValue ) |
virtual char * | get_string () throw ( CORBA::SystemException, DynamicAny::DynAny::TypeMismatch, DynamicAny::DynAny::InvalidValue ) |
virtual CORBA::Object_ptr | get_reference () throw ( CORBA::SystemException, DynamicAny::DynAny::TypeMismatch, DynamicAny::DynAny::InvalidValue ) |
virtual CORBA::TypeCode_ptr | get_typecode () throw ( CORBA::SystemException, DynamicAny::DynAny::TypeMismatch, DynamicAny::DynAny::InvalidValue ) |
virtual CORBA::LongLong | get_longlong () throw ( CORBA::SystemException, DynamicAny::DynAny::TypeMismatch, DynamicAny::DynAny::InvalidValue ) |
virtual CORBA::ULongLong | get_ulonglong () throw ( CORBA::SystemException, DynamicAny::DynAny::TypeMismatch, DynamicAny::DynAny::InvalidValue ) |
virtual CORBA::LongDouble | get_longdouble () throw ( CORBA::SystemException, DynamicAny::DynAny::TypeMismatch, DynamicAny::DynAny::InvalidValue ) |
virtual CORBA::WChar | get_wchar () throw ( CORBA::SystemException, DynamicAny::DynAny::TypeMismatch, DynamicAny::DynAny::InvalidValue ) |
virtual CORBA::WChar * | get_wstring () throw ( CORBA::SystemException, DynamicAny::DynAny::TypeMismatch, DynamicAny::DynAny::InvalidValue ) |
virtual CORBA::Any * | get_any () throw ( CORBA::SystemException, DynamicAny::DynAny::TypeMismatch, DynamicAny::DynAny::InvalidValue ) |
virtual DynamicAny::DynAny_ptr | get_dyn_any () throw ( CORBA::SystemException, DynamicAny::DynAny::TypeMismatch, DynamicAny::DynAny::InvalidValue ) |
virtual CORBA::ValueBase * | get_val () throw ( CORBA::SystemException, DynamicAny::DynAny::TypeMismatch, DynamicAny::DynAny::InvalidValue ) |
virtual CORBA::Boolean | seek (CORBA::Long index) throw ( CORBA::SystemException ) |
virtual void | rewind () throw ( CORBA::SystemException ) |
virtual CORBA::Boolean | next () throw ( CORBA::SystemException ) |
virtual DynamicAny::DynAny_ptr | copy () throw ( CORBA::SystemException ) |
virtual CORBA::ULong | component_count () throw ( CORBA::SystemException ) |
Protected Member Functions | |
void | set_flag (DynamicAny::DynAny_ptr component, CORBA::Boolean destroying) throw ( CORBA::SystemException ) |
Protected Attributes | |
CORBA::Boolean | ref_to_component_ |
Were we created by current_component()? | |
CORBA::Boolean | container_is_destroying_ |
Flag to let destroy() call by container override the flag above. | |
CORBA::Boolean | has_components_ |
Do we contain other Dynamic Anys? | |
CORBA::Boolean | destroyed_ |
Has destroy() been called on us yet? | |
CORBA::Long | current_position_ |
Slot of the current component (if any). | |
CORBA::ULong | component_count_ |
Number of components, as defined by CORBA 2.4.2. | |
CORBA::TypeCode_var | type_ |
Holder for our type code. | |
CORBA::Any | any_ |
Private Member Functions | |
DynamicAny::DynAny_ptr | check_component () throw ( CORBA::SystemException, DynamicAny::DynAny::TypeMismatch, DynamicAny::DynAny::InvalidValue ) |
void | check_type (CORBA::TypeCode_ptr tc) throw ( CORBA::SystemException, DynamicAny::DynAny::TypeMismatch ) |
CORBA::TypeCode_ptr | check_type_and_unalias (CORBA::TypeCode_ptr tc) throw ( CORBA::SystemException, DynamicAny::DynAny::TypeMismatch ) |
TAO_BEGIN_VERSIONED_NAMESPACE_DECL TAO_DynCommon::TAO_DynCommon | ( | void | ) |
Constructor.
TAO_DynCommon::~TAO_DynCommon | ( | void | ) | [virtual] |
Destructor.
void TAO_DynCommon::assign | ( | DynamicAny::DynAny_ptr | dyn_any | ) | throw ( CORBA::SystemException, DynamicAny::DynAny::TypeMismatch ) [virtual] |
DynamicAny::DynAny_ptr TAO_DynCommon::check_component | ( | ) | throw ( CORBA::SystemException, DynamicAny::DynAny::TypeMismatch, DynamicAny::DynAny::InvalidValue ) [private] |
void TAO_DynCommon::check_type | ( | CORBA::TypeCode_ptr | tc | ) | throw ( CORBA::SystemException, DynamicAny::DynAny::TypeMismatch ) [private] |
CORBA::TypeCode_ptr TAO_DynCommon::check_type_and_unalias | ( | CORBA::TypeCode_ptr | tc | ) | throw ( CORBA::SystemException, DynamicAny::DynAny::TypeMismatch ) [private] |
CORBA::ULong TAO_DynCommon::component_count | ( | ) | throw ( CORBA::SystemException ) [virtual] |
Implements DynamicAny::DynAny.
DynamicAny::DynAny_ptr TAO_DynCommon::copy | ( | ) | throw ( CORBA::SystemException ) [virtual] |
Implements DynamicAny::DynAny.
CORBA::Any_ptr TAO_DynCommon::get_any | ( | ) | throw ( CORBA::SystemException, DynamicAny::DynAny::TypeMismatch, DynamicAny::DynAny::InvalidValue ) [virtual] |
Implements DynamicAny::DynAny.
CORBA::Boolean TAO_DynCommon::get_boolean | ( | ) | throw ( CORBA::SystemException, DynamicAny::DynAny::TypeMismatch, DynamicAny::DynAny::InvalidValue ) [virtual] |
Implements DynamicAny::DynAny.
CORBA::Char TAO_DynCommon::get_char | ( | ) | throw ( CORBA::SystemException, DynamicAny::DynAny::TypeMismatch, DynamicAny::DynAny::InvalidValue ) [virtual] |
Implements DynamicAny::DynAny.
CORBA::Double TAO_DynCommon::get_double | ( | ) | throw ( CORBA::SystemException, DynamicAny::DynAny::TypeMismatch, DynamicAny::DynAny::InvalidValue ) [virtual] |
Implements DynamicAny::DynAny.
DynamicAny::DynAny_ptr TAO_DynCommon::get_dyn_any | ( | ) | throw ( CORBA::SystemException, DynamicAny::DynAny::TypeMismatch, DynamicAny::DynAny::InvalidValue ) [virtual] |
Implements DynamicAny::DynAny.
CORBA::Float TAO_DynCommon::get_float | ( | ) | throw ( CORBA::SystemException, DynamicAny::DynAny::TypeMismatch, DynamicAny::DynAny::InvalidValue ) [virtual] |
Implements DynamicAny::DynAny.
CORBA::Long TAO_DynCommon::get_long | ( | ) | throw ( CORBA::SystemException, DynamicAny::DynAny::TypeMismatch, DynamicAny::DynAny::InvalidValue ) [virtual] |
Implements DynamicAny::DynAny.
CORBA::LongDouble TAO_DynCommon::get_longdouble | ( | ) | throw ( CORBA::SystemException, DynamicAny::DynAny::TypeMismatch, DynamicAny::DynAny::InvalidValue ) [virtual] |
Implements DynamicAny::DynAny.
CORBA::LongLong TAO_DynCommon::get_longlong | ( | ) | throw ( CORBA::SystemException, DynamicAny::DynAny::TypeMismatch, DynamicAny::DynAny::InvalidValue ) [virtual] |
Implements DynamicAny::DynAny.
CORBA::Octet TAO_DynCommon::get_octet | ( | ) | throw ( CORBA::SystemException, DynamicAny::DynAny::TypeMismatch, DynamicAny::DynAny::InvalidValue ) [virtual] |
Implements DynamicAny::DynAny.
CORBA::Object_ptr TAO_DynCommon::get_reference | ( | ) | throw ( CORBA::SystemException, DynamicAny::DynAny::TypeMismatch, DynamicAny::DynAny::InvalidValue ) [virtual] |
Implements DynamicAny::DynAny.
CORBA::Short TAO_DynCommon::get_short | ( | ) | throw ( CORBA::SystemException, DynamicAny::DynAny::TypeMismatch, DynamicAny::DynAny::InvalidValue ) [virtual] |
Implements DynamicAny::DynAny.
char * TAO_DynCommon::get_string | ( | ) | throw ( CORBA::SystemException, DynamicAny::DynAny::TypeMismatch, DynamicAny::DynAny::InvalidValue ) [virtual] |
Implements DynamicAny::DynAny.
CORBA::TypeCode_ptr TAO_DynCommon::get_typecode | ( | ) | throw ( CORBA::SystemException, DynamicAny::DynAny::TypeMismatch, DynamicAny::DynAny::InvalidValue ) [virtual] |
Implements DynamicAny::DynAny.
CORBA::ULong TAO_DynCommon::get_ulong | ( | ) | throw ( CORBA::SystemException, DynamicAny::DynAny::TypeMismatch, DynamicAny::DynAny::InvalidValue ) [virtual] |
Implements DynamicAny::DynAny.
CORBA::ULongLong TAO_DynCommon::get_ulonglong | ( | ) | throw ( CORBA::SystemException, DynamicAny::DynAny::TypeMismatch, DynamicAny::DynAny::InvalidValue ) [virtual] |
Implements DynamicAny::DynAny.
CORBA::UShort TAO_DynCommon::get_ushort | ( | ) | throw ( CORBA::SystemException, DynamicAny::DynAny::TypeMismatch, DynamicAny::DynAny::InvalidValue ) [virtual] |
Implements DynamicAny::DynAny.
CORBA::ValueBase * TAO_DynCommon::get_val | ( | ) | throw ( CORBA::SystemException, DynamicAny::DynAny::TypeMismatch, DynamicAny::DynAny::InvalidValue ) [virtual] |
Implements DynamicAny::DynAny.
CORBA::WChar TAO_DynCommon::get_wchar | ( | ) | throw ( CORBA::SystemException, DynamicAny::DynAny::TypeMismatch, DynamicAny::DynAny::InvalidValue ) [virtual] |
Implements DynamicAny::DynAny.
CORBA::WChar * TAO_DynCommon::get_wstring | ( | ) | throw ( CORBA::SystemException, DynamicAny::DynAny::TypeMismatch, DynamicAny::DynAny::InvalidValue ) [virtual] |
Implements DynamicAny::DynAny.
void TAO_DynCommon::insert_any | ( | const CORBA::Any & | value | ) | throw ( CORBA::SystemException, DynamicAny::DynAny::TypeMismatch, DynamicAny::DynAny::InvalidValue ) [virtual] |
void TAO_DynCommon::insert_boolean | ( | CORBA::Boolean | value | ) | throw ( CORBA::SystemException, DynamicAny::DynAny::TypeMismatch, DynamicAny::DynAny::InvalidValue ) [virtual] |
void TAO_DynCommon::insert_char | ( | CORBA::Char | value | ) | throw ( CORBA::SystemException, DynamicAny::DynAny::TypeMismatch, DynamicAny::DynAny::InvalidValue ) [virtual] |
void TAO_DynCommon::insert_double | ( | CORBA::Double | value | ) | throw ( CORBA::SystemException, DynamicAny::DynAny::TypeMismatch, DynamicAny::DynAny::InvalidValue ) [virtual] |
void TAO_DynCommon::insert_dyn_any | ( | DynamicAny::DynAny_ptr | value | ) | throw ( CORBA::SystemException, DynamicAny::DynAny::TypeMismatch, DynamicAny::DynAny::InvalidValue ) [virtual] |
void TAO_DynCommon::insert_float | ( | CORBA::Float | value | ) | throw ( CORBA::SystemException, DynamicAny::DynAny::TypeMismatch, DynamicAny::DynAny::InvalidValue ) [virtual] |
void TAO_DynCommon::insert_long | ( | CORBA::Long | value | ) | throw ( CORBA::SystemException, DynamicAny::DynAny::TypeMismatch, DynamicAny::DynAny::InvalidValue ) [virtual] |
void TAO_DynCommon::insert_longdouble | ( | CORBA::LongDouble | value | ) | throw ( CORBA::SystemException, DynamicAny::DynAny::TypeMismatch, DynamicAny::DynAny::InvalidValue ) [virtual] |
void TAO_DynCommon::insert_longlong | ( | CORBA::LongLong | value | ) | throw ( CORBA::SystemException, DynamicAny::DynAny::TypeMismatch, DynamicAny::DynAny::InvalidValue ) [virtual] |
void TAO_DynCommon::insert_octet | ( | CORBA::Octet | value | ) | throw ( CORBA::SystemException, DynamicAny::DynAny::TypeMismatch, DynamicAny::DynAny::InvalidValue ) [virtual] |
void TAO_DynCommon::insert_reference | ( | CORBA::Object_ptr | value | ) | throw ( CORBA::SystemException, DynamicAny::DynAny::TypeMismatch, DynamicAny::DynAny::InvalidValue ) [virtual] |
void TAO_DynCommon::insert_short | ( | CORBA::Short | value | ) | throw ( CORBA::SystemException, DynamicAny::DynAny::TypeMismatch, DynamicAny::DynAny::InvalidValue ) [virtual] |
void TAO_DynCommon::insert_string | ( | const char * | value | ) | throw ( CORBA::SystemException, DynamicAny::DynAny::TypeMismatch, DynamicAny::DynAny::InvalidValue ) [virtual] |
Implements DynamicAny::DynAny.
void TAO_DynCommon::insert_typecode | ( | CORBA::TypeCode_ptr | value | ) | throw ( CORBA::SystemException, DynamicAny::DynAny::TypeMismatch, DynamicAny::DynAny::InvalidValue ) [virtual] |
void TAO_DynCommon::insert_ulong | ( | CORBA::ULong | value | ) | throw ( CORBA::SystemException, DynamicAny::DynAny::TypeMismatch, DynamicAny::DynAny::InvalidValue ) [virtual] |
void TAO_DynCommon::insert_ulonglong | ( | CORBA::ULongLong | value | ) | throw ( CORBA::SystemException, DynamicAny::DynAny::TypeMismatch, DynamicAny::DynAny::InvalidValue ) [virtual] |
void TAO_DynCommon::insert_ushort | ( | CORBA::UShort | value | ) | throw ( CORBA::SystemException, DynamicAny::DynAny::TypeMismatch, DynamicAny::DynAny::InvalidValue ) [virtual] |
void TAO_DynCommon::insert_val | ( | CORBA::ValueBase * | value | ) | throw ( CORBA::SystemException, DynamicAny::DynAny::TypeMismatch, DynamicAny::DynAny::InvalidValue ) [virtual] |
void TAO_DynCommon::insert_wchar | ( | CORBA::WChar | value | ) | throw ( CORBA::SystemException, DynamicAny::DynAny::TypeMismatch, DynamicAny::DynAny::InvalidValue ) [virtual] |
void TAO_DynCommon::insert_wstring | ( | const CORBA::WChar * | value | ) | throw ( CORBA::SystemException, DynamicAny::DynAny::TypeMismatch, DynamicAny::DynAny::InvalidValue ) [virtual] |
Implements DynamicAny::DynAny.
CORBA::Boolean TAO_DynCommon::next | ( | ) | throw ( CORBA::SystemException ) [virtual] |
Implements DynamicAny::DynAny.
void TAO_DynCommon::rewind | ( | ) | throw ( CORBA::SystemException ) [virtual] |
Implements DynamicAny::DynAny.
CORBA::Boolean TAO_DynCommon::seek | ( | CORBA::Long | index | ) | throw ( CORBA::SystemException ) [virtual] |
void TAO_DynCommon::set_flag | ( | DynamicAny::DynAny_ptr | component, | |
CORBA::Boolean | destroying | |||
) | throw ( CORBA::SystemException ) [protected] |
This sets one of two flags in this base class. CORBA 2.4.2 requires that destroy() do nothing if it is called on the result of current_component(), the only non-deep-copying method in the Dynamic Any API. If the boolean arg below is 0, the call is from inside current_component(), and the flag ref_to_component_ is set. If the boolean arg is 1, the call is from inside destroy(), and the container_is_destroying_ flag is set, overriding the first flag in the component's destroy() method.
CORBA::TypeCode_ptr TAO_DynCommon::type | ( | ) | throw ( CORBA::SystemException ) [virtual] |
Implements DynamicAny::DynAny.
CORBA::Any TAO_DynCommon::any_ [protected] |
Gets a value only for basic types, but used in insert_* and get_*, defined in this base class.
CORBA::ULong TAO_DynCommon::component_count_ [protected] |
Number of components, as defined by CORBA 2.4.2.
Flag to let destroy() call by container override the flag above.
CORBA::Long TAO_DynCommon::current_position_ [protected] |
Slot of the current component (if any).
CORBA::Boolean TAO_DynCommon::destroyed_ [protected] |
Has destroy() been called on us yet?
CORBA::Boolean TAO_DynCommon::has_components_ [protected] |
Do we contain other Dynamic Anys?
CORBA::Boolean TAO_DynCommon::ref_to_component_ [protected] |
Were we created by current_component()?
CORBA::TypeCode_var TAO_DynCommon::type_ [protected] |
Holder for our type code.