#include "ace/CDR_Base.h"
#include "ace/SStringfwd.h"
#include "ace/Message_Block.h"
#include "ace/CDR_Stream.inl"
Include dependency graph for CDR_Stream.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
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 beign the only known exception.
Optimizations ------------- ACE_LACKS_CDR_ALIGNMENT
Carlos O'Ryan <coryan@cs.wustl.edu>
ACE version by Jeff Parsons <parsons@cs.wustl.edu>
Istvan Buki <istvan.buki@euronet.be>
Codeset translation by Jim Rogers <jrogers@viasoft.com>
Definition in file CDR_Stream.h.
#define ACE_CDR_BYTE_ORDER 0 |
Definition at line 63 of file CDR_Stream.h.
Referenced by ACE_InputCDR::ACE_InputCDR(), ACE_InputCDR::byte_order(), ACE_OutputCDR::byte_order(), ACE_Log_Msg_IPC::log(), ACE_InputCDR::reset_byte_order(), and ACE_OutputCDR::reset_byte_order().
ACE_Export ACE_CDR::Boolean operator<< | ( | ACE_OutputCDR & | os, | |
const ACE_CString & | x | |||
) |
Definition at line 2010 of file CDR_Stream.cpp.
References ACE_OutputCDR::good_bit(), and ACE_OutputCDR::write_string().
02011 { 02012 os.write_string (x); 02013 return os.good_bit (); 02014 }
ACE_Export ACE_CDR::Boolean operator>> | ( | ACE_InputCDR & | is, | |
ACE_CString & | x | |||
) |
Definition at line 2017 of file CDR_Stream.cpp.
References ACE_InputCDR::good_bit(), and ACE_InputCDR::read_string().
02018 { 02019 is.read_string (x); 02020 return is.good_bit (); 02021 }