ACE  6.2.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Macros
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
 

Macros

#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 95761 2012-05-15 18:23:04Z 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 gokha.nosp@m.le@c.nosp@m.s.wus.nosp@m.tl.e.nosp@m.du
Carlos O'Ryancorya.nosp@m.n@cs.nosp@m..wust.nosp@m.l.ed.nosp@m.u
ACE version by
Jeff Parsons parso.nosp@m.ns@c.nosp@m.s.wus.nosp@m.tl.e.nosp@m.du
Istvan Buki istva.nosp@m.n.bu.nosp@m.ki@eu.nosp@m.rone.nosp@m.t.be

Macro Definition 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