LOOS 4.1.0
The Lightweight Object Oriented Structural analysis library/toolkit
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
loos::internal::XDRWriter Class Reference

Public Types

typedef unsigned int block_type
 Type (and hence size) of the external block.
 

Public Member Functions

 XDRWriter (std::ostream *s)
 Constructor determines need to convert data at instantiation.
 
std::ostream * get (void)
 Returns the stored istream pointer.
 
void setStream (std::ostream *o)
 
template<typename T >
uint write (const T &p)
 Writes a single datum.
 
uint write (const double &p)
 Overload for double-precision.
 
template<typename T >
uint write (const T *ary, const uint n)
 Writes an n-array of data.
 
uint write (const char *p, const uint n)
 Writes an opaque array of n-bytes.
 
uint write (const char *p)
 Writes a C-string (ie xdr_string)
 
uint write (const std::string &s)
 

The documentation for this class was generated from the following file: