TAO_AnyTypeCode 4.0.0
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Private Attributes | List of all members
TAO::Any_Impl Class Referenceabstract

Base class for the Any template subclasses. More...

#include <Any_Impl.h>

Inheritance diagram for TAO::Any_Impl:
Inheritance graph
[legend]
Collaboration diagram for TAO::Any_Impl:
Collaboration graph
[legend]

Public Types

typedef void(* _tao_destructor) (void *)
 

Public Member Functions

CORBA::Boolean marshal (TAO_OutputCDR &)
 
virtual CORBA::Boolean marshal_value (TAO_OutputCDR &)=0
 
virtual void free_value ()
 
CORBA::TypeCode_ptr type () const
 
CORBA::TypeCode_ptr _tao_get_typecode () const
 
void type (CORBA::TypeCode_ptr)
 
virtual int _tao_byte_order () const
 
virtual void _add_ref ()
 
virtual void _remove_ref ()
 
virtual void _tao_decode (TAO_InputCDR &)
 
virtual CORBA::Boolean to_object (CORBA::Object_ptr &) const
 
virtual CORBA::Boolean to_value (CORBA::ValueBase *&) const
 
virtual CORBA::Boolean to_abstract_base (CORBA::AbstractBase_ptr &) const
 
bool encoded () const
 

Static Public Member Functions

static void _tao_any_string_destructor (void *)
 Used to release these CORBA basic types.
 
static void _tao_any_wstring_destructor (void *)
 

Protected Member Functions

 Any_Impl (_tao_destructor, CORBA::TypeCode_ptr, bool encoded=false)
 
virtual ~Any_Impl ()
 

Protected Attributes

TAO::Any_Impl::_tao_destructor value_destructor_
 
CORBA::TypeCode_ptr type_
 
bool encoded_
 

Private Attributes

std::atomic< uint32_t > refcount_
 Reference counter.
 

Detailed Description

Base class for the Any template subclasses.

Contains common functionality and some pure virtual methods.

Member Typedef Documentation

◆ _tao_destructor

typedef void(* TAO::Any_Impl::_tao_destructor) (void *)

Generated data types define a 'destructor' function that correctly destroys an object stored in an Any.

Constructor & Destructor Documentation

◆ Any_Impl()

TAO::Any_Impl::Any_Impl ( _tao_destructor destructor,
CORBA::TypeCode_ptr tc,
bool encoded = false )
protected

◆ ~Any_Impl()

TAO::Any_Impl::~Any_Impl ( )
protectedvirtual

Member Function Documentation

◆ _add_ref()

void TAO::Any_Impl::_add_ref ( )
virtual

◆ _remove_ref()

void TAO::Any_Impl::_remove_ref ( )
virtual

◆ _tao_any_string_destructor()

void TAO::Any_Impl::_tao_any_string_destructor ( void * x)
static

Used to release these CORBA basic types.

◆ _tao_any_wstring_destructor()

void TAO::Any_Impl::_tao_any_wstring_destructor ( void * x)
static

◆ _tao_byte_order()

int TAO::Any_Impl::_tao_byte_order ( ) const
virtual

Reimplemented in TAO::Unknown_IDL_Type.

◆ _tao_decode()

void TAO::Any_Impl::_tao_decode ( TAO_InputCDR & )
virtual

◆ _tao_get_typecode()

CORBA::TypeCode_ptr TAO::Any_Impl::_tao_get_typecode ( ) const

◆ encoded()

bool TAO::Any_Impl::encoded ( ) const

◆ free_value()

void TAO::Any_Impl::free_value ( )
virtual

◆ marshal()

CORBA::Boolean TAO::Any_Impl::marshal ( TAO_OutputCDR & cdr)

◆ marshal_value()

virtual CORBA::Boolean TAO::Any_Impl::marshal_value ( TAO_OutputCDR & )
pure virtual

◆ to_abstract_base()

CORBA::Boolean TAO::Any_Impl::to_abstract_base ( CORBA::AbstractBase_ptr & ) const
virtual

◆ to_object()

CORBA::Boolean TAO::Any_Impl::to_object ( CORBA::Object_ptr & ) const
virtual

◆ to_value()

CORBA::Boolean TAO::Any_Impl::to_value ( CORBA::ValueBase *& ) const
virtual

◆ type() [1/2]

CORBA::TypeCode_ptr TAO::Any_Impl::type ( ) const

◆ type() [2/2]

void TAO::Any_Impl::type ( CORBA::TypeCode_ptr tc)

Member Data Documentation

◆ encoded_

bool TAO::Any_Impl::encoded_
protected

◆ refcount_

std::atomic<uint32_t> TAO::Any_Impl::refcount_
private

Reference counter.

◆ type_

CORBA::TypeCode_ptr TAO::Any_Impl::type_
protected

◆ value_destructor_

TAO::Any_Impl::_tao_destructor TAO::Any_Impl::value_destructor_
protected

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