# CDR_Base.h File Reference

`#include "ace/config-all.h"`
`#include "ace/Basic_Types.h"`
`#include "ace/Default_Constants.h"`
`#include "ace/If_Then_Else.h"`
`#include "ace/CDR_Base.inl"`

Include dependency graph for CDR_Base.h:

This graph shows which files directly or indirectly include this file:

## 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

## 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}}

## Defines

#define | ACE_CDR_GIOP_MAJOR_VERSION 1
#define | ACE_CDR_GIOP_MINOR_VERSION 2

## Detailed Description

Id
  CDR_Base.h,v 4.29 2005/10/28 16:14:51 ossama Exp

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_GIOP_MAJOR_VERSION 1

#define ACE_CDR_GIOP_MINOR_VERSION 2

#define ACE_CDR_LONG_DOUBLE_INITIALIZER {{0}}

#define ACE_CDR_LONGLONG_INITIALIZER 0

#define NONNATIVE_LONGDOUBLE