ACE 6.0.4
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 94251 2011-06-22 18:03:25Z parsons

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 <gokhale@cs.wustl.edu>
Carlos O'Ryan<coryan@cs.wustl.edu>
ACE version by
Jeff Parsons <parsons@cs.wustl.edu>
Istvan Buki <istvan.buki@euronet.be>

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