ACE  6.2.8
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Functions
CDR_Stream.h File Reference
#include "ace/CDR_Base.h"
#include "ace/SStringfwd.h"
#include "ace/Message_Block.h"
#include "ace/CDR_Stream.inl"

Classes

class  ACE_OutputCDR
 A CDR stream for marshalling data, most often for transmission to another system which may or may not have the same byte order. More...
 
struct  ACE_OutputCDR::from_boolean
 
struct  ACE_OutputCDR::from_octet
 
struct  ACE_OutputCDR::from_char
 
struct  ACE_OutputCDR::from_wchar
 
struct  ACE_OutputCDR::from_string
 
struct  ACE_OutputCDR::from_wstring
 
class  ACE_InputCDR
 A CDR stream for demarshalling CDR-encoded data. More...
 
struct  ACE_InputCDR::Transfer_Contents
 
struct  ACE_InputCDR::to_boolean
 
struct  ACE_InputCDR::to_char
 
struct  ACE_InputCDR::to_wchar
 
struct  ACE_InputCDR::to_octet
 
struct  ACE_InputCDR::to_string
 
struct  ACE_InputCDR::to_wstring
 
class  ACE_Char_Codeset_Translator
 Codeset translation routines common to both Output and Input CDR streams. More...
 
class  ACE_WChar_Codeset_Translator
 Codeset translation routines common to both Output and Input CDR streams. More...
 

Functions

ACE_CDR::Boolean operator<< (ACE_OutputCDR &os, const ACE_CString &x)
 
ACE_CDR::Boolean operator>> (ACE_InputCDR &is, ACE_CString &x)
 

Detailed Description

Id:
CDR_Stream.h 96786 2013-02-08 13:41:41Z stanleyk

ACE Common Data Representation (CDR) marshaling and demarshaling classes.

This implementation was inspired in the CDR class in SunSoft's IIOP engine, but has a completely different implementation and a different interface too.

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.

Optimizations

ACE_LACKS_CDR_ALIGNMENT

Author
Arvind S. Krishna arvin.nosp@m.dk@d.nosp@m.re.va.nosp@m.nder.nosp@m.bilt..nosp@m.edu

CDR stream ignores alignment when marshaling data. Use this option only when ACE_DISABLE_SWAP_ON_READ can be enabled. This option requires ACE CDR engine to do both marshaling and demarshaling.

Author
TAO version by Aniruddha Gokhale gokha.nosp@m.le@c.nosp@m.s.wus.nosp@m.tl.e.nosp@m.du
Carlos O'Ryan corya.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
Codeset translation by Jim Rogers jroge.nosp@m.rs@v.nosp@m.iasof.nosp@m.t.co.nosp@m.m

Function Documentation

ACE_CDR::Boolean operator<< ( ACE_OutputCDR os,
const ACE_CString x 
)
ACE_CDR::Boolean operator>> ( ACE_InputCDR is,
ACE_CString x 
)