Namespaces | Defines | Functions | Variables

ValueBase.cpp File Reference

#include "tao/AnyTypeCode/Null_RefCount_Policy.h"
#include "tao/AnyTypeCode/Alias_TypeCode_Static.h"
#include "tao/AnyTypeCode/Value_TypeCode_Static.h"
#include "tao/AnyTypeCode/TypeCode_Constants.h"
#include "tao/Valuetype/ValueBase.h"
#include "tao/Valuetype/ValueFactory.h"
#include "tao/CDR.h"
#include "tao/ORB.h"
#include "tao/ORB_Core.h"
#include "tao/debug.h"
#include "tao/SystemException.h"
#include "ace/OS_NS_string.h"
Include dependency graph for ValueBase.cpp:

Go to the source code of this file.

Namespaces

namespace  TAO
 

Define symbolic names for the ORB collocation strategies.


namespace  TAO::TypeCode
namespace  CORBA
 

FUZZ: disable check_for_include/.


Defines

#define DEFAULT_INDIRECTION_MAP_SIZE   10
#define VERIFY_MAP(CDR, MAPNAME, MAPCLASSNAME)

Functions

CORBA::Boolean operator<< (TAO_OutputCDR &strm, const CORBA::ValueBase *_tao_valuetype)
CORBA::Boolean operator>> (TAO_InputCDR &strm, CORBA::ValueBase *&_tao_valuetype)

Variables

char const TAO::TypeCode::tc_value_base_id [] = "IDL:omg.org/CORBA/ValueBase:1.0"
char const TAO::TypeCode::tc_value_base_name [] = "ValueBase"
Value< char const
*, CORBA::TypeCode_ptr const
*, Value_Field< char const
*, CORBA::TypeCode_ptr const * >
const
*, TAO::Null_RefCount_Policy > 
TAO::TypeCode::tc_ValueBase (CORBA::tk_value, tc_value_base_id, tc_value_base_name, CORBA::VM_NONE,&CORBA::_tc_null, 0, 0)
char const TAO::TypeCode::tc_event_base_id [] = "IDL:omg.org/CORBA/EventBase:1.0"
char const TAO::TypeCode::tc_event_base_name [] = "EventBase"
Value< char const
*, CORBA::TypeCode_ptr const
*, Value_Field< char const
*, CORBA::TypeCode_ptr const * >
const
*, TAO::Null_RefCount_Policy > 
TAO::TypeCode::tc_EventBase (CORBA::tk_event, tc_event_base_id, tc_event_base_name, CORBA::VM_NONE,&CORBA::_tc_null, 0, 0)
TypeCode_ptr const CORBA::_tc_ValueBase = &TAO::TypeCode::tc_ValueBase
 Valuetype-related type codes.
TypeCode_ptr const CORBA::_tc_EventBase = &TAO::TypeCode::tc_EventBase

Define Documentation

#define DEFAULT_INDIRECTION_MAP_SIZE   10

Definition at line 29 of file ValueBase.cpp.

#define VERIFY_MAP (   CDR,
  MAPNAME,
  MAPCLASSNAME 
)
Value:
if (strm.get_##MAPNAME ().is_nil ())                                                       \
    {                                                                                        \
      CDR::MAPCLASSNAME##_Handle handle (                                                    \
          new CDR::RC_##MAPCLASSNAME (new CDR::MAPCLASSNAME (DEFAULT_INDIRECTION_MAP_SIZE)));\
      strm.set_##MAPNAME (handle);                                                           \
    }

Definition at line 31 of file ValueBase.cpp.


Function Documentation

CORBA::Boolean operator<< ( TAO_OutputCDR strm,
const CORBA::ValueBase _tao_valuetype 
)

Definition at line 1396 of file ValueBase.cpp.

{
  return CORBA::ValueBase::_tao_marshal (
             strm,
             _tao_valuetype,
             reinterpret_cast<ptrdiff_t> (&CORBA::ValueBase::_downcast)
           );
}

CORBA::Boolean operator>> ( TAO_InputCDR strm,
CORBA::ValueBase *&  _tao_valuetype 
)

Definition at line 1407 of file ValueBase.cpp.

{
  return CORBA::ValueBase::_tao_unmarshal (strm, _tao_valuetype);
}

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines