|
IBAMR
IBAMR version 0.19.
|
#include <tbox/XDRStream.h>

Public Member Functions | |
| XDRStream () | |
| void | setXDRStream (XDR *xdrs) |
| virtual | ~XDRStream () |
Integer Stream Primitives | |
Pack and unpack integers into and out of the XDR data stream. | |
| XDR * | d_xdr_stream |
| virtual AbstractStream & | operator<< (const int &data) |
| Pack a single integer into the XDR data stream. More... | |
| virtual AbstractStream & | operator>> (int &data) |
| Remove a single integer from the XDR data stream. More... | |
| virtual void | pack (const int *data, const int n=1) |
| Pack an array of integers into the XDR data stream. More... | |
| virtual void | unpack (int *data, const int n=1) |
| Remove an array of integers from the XDR data stream. More... | |
Class XDRStream provides pack/unpack operations that convert between machine representation and XDR representation for portable interprocessor communication. Note that unless XDR translation is required for portability across machine architectures, it would be faster to copy data directly.
The appropriate XDR stream must be set by setXDRStream() before any of the packing or unpacking calls are made. All of the packing and unpacking operations have been defined here for the XDR operations.
| SAMRAI::tbox::XDRStream::XDRStream | ( | ) |
Standard default constructor for the XDR stream.
|
virtual |
Virtual destructor for the XDR stream.
| void SAMRAI::tbox::XDRStream::setXDRStream | ( | XDR * | xdrs | ) |
|
virtual |
Implements SAMRAI::tbox::AbstractStream.
|
virtual |
Implements SAMRAI::tbox::AbstractStream.
Implements SAMRAI::tbox::AbstractStream.
Implements SAMRAI::tbox::AbstractStream.
|
virtual |
Implements SAMRAI::tbox::AbstractStream.
|
virtual |
Implements SAMRAI::tbox::AbstractStream.
|
virtual |
Implements SAMRAI::tbox::AbstractStream.
|
virtual |
Implements SAMRAI::tbox::AbstractStream.
|
virtual |
|
virtual |
Implements SAMRAI::tbox::AbstractStream.
|
virtual |
Implements SAMRAI::tbox::AbstractStream.
Implements SAMRAI::tbox::AbstractStream.
Implements SAMRAI::tbox::AbstractStream.
|
virtual |
Implements SAMRAI::tbox::AbstractStream.
|
virtual |
Implements SAMRAI::tbox::AbstractStream.
Implements SAMRAI::tbox::AbstractStream.
Implements SAMRAI::tbox::AbstractStream.
|
virtual |
Implements SAMRAI::tbox::AbstractStream.
|
virtual |
Implements SAMRAI::tbox::AbstractStream.
|
virtual |
Implements SAMRAI::tbox::AbstractStream.
|
virtual |
Implements SAMRAI::tbox::AbstractStream.
|
virtual |
Implements SAMRAI::tbox::AbstractStream.
|
virtual |
Implements SAMRAI::tbox::AbstractStream.
Implements SAMRAI::tbox::AbstractStream.
Implements SAMRAI::tbox::AbstractStream.
|
private |
1.8.17