TAO_AnyTypeCode
2.3.1
|
Generic container for IDL types. More...
#include <Any.h>
Classes | |
struct | to_abstract_base |
struct | to_object |
These are not in ACE. More... | |
struct | to_value |
Public Types | |
typedef Any_ptr | _ptr_type |
typedef Any_var | _var_type |
typedef Any_out | _out_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 |
Static Public Member Functions | |
static void | _tao_any_destructor (void *) |
Used in our destruction if we ourselves are stored in an Any. More... | |
Private Member Functions | |
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 | TAO_Marshal_Any |
Generic container for IDL types.
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.
typedef Any_out CORBA::Any::_out_type |
typedef Any_ptr CORBA::Any::_ptr_type |
typedef Any_var CORBA::Any::_var_type |
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.
CORBA::Any::Any | ( | void | ) |
CORBA::Any::Any | ( | const Any & | rhs | ) |
CORBA::Any::~Any | ( | void | ) |
|
static |
Used in our destruction if we ourselves are stored in an Any.
int CORBA::Any::_tao_byte_order | ( | void | ) | const |
CORBA::TypeCode_ptr CORBA::Any::_tao_get_typecode | ( | void | ) | const |
TAO extension, does not return a duplicate.
void CORBA::Any::_tao_set_typecode | ( | const CORBA::TypeCode_ptr | tc | ) |
TAO extension.
|
private |
|
private |
|
private |
TAO::Any_Impl * CORBA::Any::impl | ( | void | ) | const |
void CORBA::Any::operator<<= | ( | from_boolean | b | ) |
Insertion of the special types.
void CORBA::Any::operator<<= | ( | from_char | c | ) |
void CORBA::Any::operator<<= | ( | from_wchar | wc | ) |
void CORBA::Any::operator<<= | ( | from_octet | o | ) |
void CORBA::Any::operator<<= | ( | from_string | s | ) |
void CORBA::Any::operator<<= | ( | from_wstring | ws | ) |
|
private |
CORBA::Any & CORBA::Any::operator= | ( | const Any & | rhs | ) |
CORBA::Boolean CORBA::Any::operator>>= | ( | to_boolean | b | ) | const |
Extraction of the special types.
CORBA::Boolean CORBA::Any::operator>>= | ( | to_octet | o | ) | const |
CORBA::Boolean CORBA::Any::operator>>= | ( | to_char | c | ) | const |
CORBA::Boolean CORBA::Any::operator>>= | ( | to_wchar | wc | ) | const |
CORBA::Boolean CORBA::Any::operator>>= | ( | to_string | s | ) | const |
CORBA::Boolean CORBA::Any::operator>>= | ( | to_wstring | ws | ) | const |
CORBA::Boolean CORBA::Any::operator>>= | ( | to_object | obj | ) | const |
CORBA::Boolean CORBA::Any::operator>>= | ( | to_abstract_base | obj | ) | const |
CORBA::Boolean CORBA::Any::operator>>= | ( | to_value | obj | ) | const |
|
private |
void CORBA::Any::replace | ( | TAO::Any_Impl * | new_impl | ) |
TAO-specific signature.
CORBA::TypeCode_ptr CORBA::Any::type | ( | void | ) | const |
void CORBA::Any::type | ( | CORBA::TypeCode_ptr | tc | ) |
For use along with <<= of a value of aliased type when the alias must be preserved.
|
friend |
|
private |