Classes | Defines

CDR_Base.h File Reference

#include "ace/Basic_Types.h"
#include "ace/Default_Constants.h"
#include "ace/CDR_Base.inl"

Classes

class  ACE_CDR
 Keep constants and some routines common to both Output and Input CDR streams. More...
struct  ACE_CDR::Float
struct  ACE_CDR::Double
struct  ACE_CDR::LongDouble

Defines

#define ACE_CDR_BYTE_ORDER   0
#define ACE_CDR_GIOP_MAJOR_VERSION   1
#define ACE_CDR_GIOP_MINOR_VERSION   2
Basic OMG IDL Types

These types are for use in the CDR classes. The cleanest way to avoid complaints from all compilers is to define them all.

#define ACE_CDR_LONGLONG_INITIALIZER   0
#define NONNATIVE_LONGDOUBLE
#define ACE_CDR_LONG_DOUBLE_INITIALIZER   {{0}}
#define ACE_CDR_LONG_DOUBLE_ASSIGNMENT(LHS, RHS)   LHS.assign (RHS)

Detailed Description

Id:
CDR_Base.h 91685 2010-09-09 09:35:14Z johnnyw

ACE Common Data Representation (CDR) basic types.

The current implementation assumes that the host has 1-byte, 2-byte and 4-byte integral types, and that it has single precision and double precision IEEE floats. Those assumptions are pretty good these days, with Crays being the only known exception.

Author:
TAO version by
Aniruddha Gokhale <[email protected]>
Carlos O'Ryan<[email protected]>
ACE version by
Jeff Parsons <[email protected]>
Istvan Buki <[email protected]>

Define Documentation

#define ACE_CDR_BYTE_ORDER   0
#define ACE_CDR_GIOP_MAJOR_VERSION   1
#define ACE_CDR_GIOP_MINOR_VERSION   2
#define ACE_CDR_LONG_DOUBLE_ASSIGNMENT (   LHS,
  RHS 
)    LHS.assign (RHS)
#define ACE_CDR_LONG_DOUBLE_INITIALIZER   {{0}}
#define ACE_CDR_LONGLONG_INITIALIZER   0
#define NONNATIVE_LONGDOUBLE
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines