Tools.h++ Class Reference

Table Of Contents
Click on the banner to return to the Class Reference home page.
©Copyright 1996 Rogue Wave Software
RWXDRostream (Unix only)
RWvostream RWvios
RWXDRostream
RWios
Synopsis
Description
Persistence
Example
Public Constructor
Public Destructor
Public Member Functions
Synopsis
#include <rw/xdrstrea.h>
XDR xdr;
xdrstdio_create(&xdr, stdout, XDR_ENCODE) ;
RWXDRostream rw_xdr(&xdr);
Description
Class RWXDRostream is a portable output stream based on XDR routines. Class
RWXDRostream encapsulates a portion of the XDR library routines that are used for external
data representation. XDR routines allow programmers to describe arbitrary data structures in a
machine-independent fashion. Data for remote procedure calls (RPC) are transmitted using
XDR routines.
Class RWXDRostream enables one to output from a stream and encode an XDR structure from
a machine representation. Class RWXDRostream provides the capability to encode the standard
data types and vectors of those data types.