#include <Any.h>
Collaboration diagram for CORBA::Any:
Public Types | |
typedef Any_ptr | _ptr_type |
typedef Any_var | _var_type |
typedef ACE_OutputCDR::from_boolean | from_boolean |
typedef ACE_OutputCDR::from_octet | from_octet |
typedef ACE_OutputCDR::from_char | from_char |
typedef ACE_OutputCDR::from_wchar | from_wchar |
typedef ACE_OutputCDR::from_string | from_string |
typedef ACE_OutputCDR::from_wstring | from_wstring |
typedef ACE_InputCDR::to_boolean | to_boolean |
typedef ACE_InputCDR::to_char | to_char |
typedef ACE_InputCDR::to_wchar | to_wchar |
typedef ACE_InputCDR::to_octet | to_octet |
typedef ACE_InputCDR::to_string | to_string |
typedef ACE_InputCDR::to_wstring | to_wstring |
Public Methods | |
Any (void) | |
Any (const Any &) | |
~Any (void) | |
Any & | operator= (const Any &) |
TAO::Any_Impl * | impl (void) const |
void | operator<<= (from_boolean) |
Insertion of the special types. | |
void | operator<<= (from_char) |
void | operator<<= (from_wchar) |
void | operator<<= (from_octet) |
void | operator<<= (from_string) |
void | operator<<= (from_wstring) |
Boolean | operator>>= (to_boolean) const |
Extraction of the special types. | |
Boolean | operator>>= (to_octet) const |
Boolean | operator>>= (to_char) const |
Boolean | operator>>= (to_wchar) const |
Boolean | operator>>= (to_string) const |
Boolean | operator>>= (to_wstring) const |
Boolean | operator>>= (to_object) const |
Boolean | operator>>= (to_abstract_base) const |
Boolean | operator>>= (to_value) const |
void | replace (TAO::Any_Impl *) |
TAO-specific signature. | |
TypeCode_ptr | type (void) const |
Return TypeCode of the element stored in the Any. | |
void | type (TypeCode_ptr ACE_ENV_ARG_DECL) |
CORBA::TypeCode_ptr | _tao_get_typecode (void) const |
TAO extension, does not return a duplicate. | |
void | _tao_set_typecode (const CORBA::TypeCode_ptr) |
TAO extension. | |
ACE_Message_Block * | _tao_get_cdr (void) const |
int | _tao_byte_order (void) const |
const void * | value (void) const |
Spec-required method - not type safe. | |
Static Public Methods | |
void | _tao_any_destructor (void *) |
Used in our destruction if we ourselves are stored in an Any. | |
Private Methods | |
CORBA::Boolean | checked_to_object (CORBA::Object_ptr &) const |
CORBA::Boolean | checked_to_value (CORBA::ValueBase *&) const |
CORBA::Boolean | checked_to_abstract_base (CORBA::AbstractBase_ptr &) const |
void | operator<<= (unsigned char) |
CORBA::Boolean | operator>>= (unsigned char &) const |
Private Attributes | |
TAO::Any_Impl * | impl_ |
Friends | |
class | CORBA_NVList |
class | TAO_Marshal_Any |
This is the top-level class of the Any implementation. It exposes the spec-required functionality, but is mostly a wrapper for one of the template classes below.
|
|
|
|
|
These are needed for insertion and extraction of booleans, octets, chars, and bounded strings. CORBA spec requires that they be here, we just typedef to the already-defined ACE_OutputCDR types. |
|
|
|
|
|
|
|
|
|
|
|
These extract octets, chars, booleans, bounded strings, and object references. All these are defined in ACE_InputCDR. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Used in our destruction if we ourselves are stored in an Any.
|
|
|
|
|
|
TAO extension, does not return a duplicate.
|
|
TAO extension.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Insertion of the special types.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Extraction of the special types.
|
|
TAO-specific signature.
|
|
For use along with <<= of a value of aliased type when the alias must be preserved. |
|
Return TypeCode of the element stored in the Any.
|
|
Spec-required method - not type safe.
|
|
|
|
|
|
|