TAO_AnyTypeCode 4.0.0
Loading...
Searching...
No Matches
Classes | Public Types | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
CORBA::Any Class Reference

Generic container for IDL types. More...

#include <Any.h>

Collaboration diagram for CORBA::Any:
Collaboration graph
[legend]

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
 

Public Member Functions

 Any ()=default
 
 Any (const Any &)
 
 ~Any ()
 
Anyoperator= (const Any &)
 
TAO::Any_Implimpl () 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 () const
 Return TypeCode of the element stored in the Any.
 
void type (TypeCode_ptr)
 
CORBA::TypeCode_ptr _tao_get_typecode () const
 TAO extension, does not return a duplicate.
 
void _tao_set_typecode (const CORBA::TypeCode_ptr)
 TAO extension.
 
int _tao_byte_order () const
 

Static Public Member Functions

static void _tao_any_destructor (void *)
 Used in our destruction if we ourselves are stored in an Any.
 

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_Implimpl_ {}
 

Friends

class TAO_Marshal_Any
 

Detailed Description

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.

Member Typedef Documentation

◆ _out_type

◆ _ptr_type

◆ _var_type

◆ from_boolean

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.

◆ from_char

◆ from_octet

◆ from_string

◆ from_wchar

◆ from_wstring

◆ to_boolean

These extract octets, chars, booleans, bounded strings, and object references. All these are defined in ACE_InputCDR.

◆ to_char

◆ to_octet

◆ to_string

◆ to_wchar

◆ to_wstring

Constructor & Destructor Documentation

◆ Any() [1/2]

CORBA::Any::Any ( )
default

◆ Any() [2/2]

CORBA::Any::Any ( const Any & rhs)

◆ ~Any()

CORBA::Any::~Any ( )

Member Function Documentation

◆ _tao_any_destructor()

void CORBA::Any::_tao_any_destructor ( void * x)
static

Used in our destruction if we ourselves are stored in an Any.

◆ _tao_byte_order()

int CORBA::Any::_tao_byte_order ( ) const

◆ _tao_get_typecode()

CORBA::TypeCode_ptr CORBA::Any::_tao_get_typecode ( ) const

TAO extension, does not return a duplicate.

◆ _tao_set_typecode()

void CORBA::Any::_tao_set_typecode ( const CORBA::TypeCode_ptr tc)

TAO extension.

◆ checked_to_abstract_base()

CORBA::Boolean CORBA::Any::checked_to_abstract_base ( CORBA::AbstractBase_ptr & _tao_elem) const
private

◆ checked_to_object()

CORBA::Boolean CORBA::Any::checked_to_object ( CORBA::Object_ptr & _tao_elem) const
private

◆ checked_to_value()

CORBA::Boolean CORBA::Any::checked_to_value ( CORBA::ValueBase *& _tao_elem) const
private

◆ impl()

TAO::Any_Impl * CORBA::Any::impl ( ) const

◆ operator<<=() [1/7]

void CORBA::Any::operator<<= ( from_boolean b)

Insertion of the special types.

◆ operator<<=() [2/7]

void CORBA::Any::operator<<= ( from_char c)

◆ operator<<=() [3/7]

void CORBA::Any::operator<<= ( from_octet o)

◆ operator<<=() [4/7]

void CORBA::Any::operator<<= ( from_string s)

◆ operator<<=() [5/7]

void CORBA::Any::operator<<= ( from_wchar wc)

◆ operator<<=() [6/7]

void CORBA::Any::operator<<= ( from_wstring ws)

◆ operator<<=() [7/7]

void CORBA::Any::operator<<= ( unsigned char )
private

◆ operator=()

CORBA::Any & CORBA::Any::operator= ( const Any & rhs)

◆ operator>>=() [1/10]

CORBA::Boolean CORBA::Any::operator>>= ( to_abstract_base obj) const

◆ operator>>=() [2/10]

CORBA::Boolean CORBA::Any::operator>>= ( to_boolean b) const

Extraction of the special types.

◆ operator>>=() [3/10]

CORBA::Boolean CORBA::Any::operator>>= ( to_char c) const

◆ operator>>=() [4/10]

CORBA::Boolean CORBA::Any::operator>>= ( to_object obj) const

◆ operator>>=() [5/10]

CORBA::Boolean CORBA::Any::operator>>= ( to_octet o) const

◆ operator>>=() [6/10]

CORBA::Boolean CORBA::Any::operator>>= ( to_string s) const

◆ operator>>=() [7/10]

CORBA::Boolean CORBA::Any::operator>>= ( to_value obj) const

◆ operator>>=() [8/10]

CORBA::Boolean CORBA::Any::operator>>= ( to_wchar wc) const

◆ operator>>=() [9/10]

CORBA::Boolean CORBA::Any::operator>>= ( to_wstring ws) const

◆ operator>>=() [10/10]

CORBA::Boolean CORBA::Any::operator>>= ( unsigned char & ) const
private

◆ replace()

void CORBA::Any::replace ( TAO::Any_Impl * new_impl)

TAO-specific signature.

◆ type() [1/2]

CORBA::TypeCode_ptr CORBA::Any::type ( ) const

Return TypeCode of the element stored in the Any.

◆ type() [2/2]

void CORBA::Any::type ( CORBA::TypeCode_ptr tc)

For use along with <<= of a value of aliased type when the alias must be preserved.

Friends And Related Symbol Documentation

◆ TAO_Marshal_Any

friend class TAO_Marshal_Any
friend

Member Data Documentation

◆ impl_

TAO::Any_Impl* CORBA::Any::impl_ {}
private

The documentation for this class was generated from the following files: