dune-fem
2.4.1-rc
|
base implementation for XDR output streams More...
#include </local/tomalk/somewhere/tmp/dune-fem/dune/fem/io/streams/xdrstreams.hh>
Public Types | |
enum | { maxStringSize = 2<<18 } |
typedef OutStreamImp | OutStreamType |
type of the implementaton (Barton-Nackman) More... | |
typedef XDROutStreamTraits< OutStreamType > | Traits |
type of the traits More... | |
typedef ThisType | OutStreamInterfaceType |
type of the interface More... | |
Public Member Functions | |
void | writeDouble (double value) |
write a double to the stream More... | |
void | writeFloat (float value) |
write a float to the stream More... | |
void | writeInt (int value) |
write an int to the stream More... | |
void | writeChar (char value) |
write a char to the stream More... | |
void | writeBool (const bool value) |
write a bool to the stream More... | |
void | writeString (const std::string &s) |
write a string to the stream More... | |
void | writeUnsignedInt (unsigned int value) |
write an unsigned int to the stream More... | |
void | writeUnsignedInt64 (uint64_t value) |
write an uint64_t to the stream More... | |
void | flush () |
flush the stream More... | |
Protected Member Functions | |
XDRBasicOutStream () | |
XDR * | xdrs () |
void | writeError () const |
const Implementation & | asImp () const |
Implementation & | asImp () |
Static Protected Member Functions | |
static const Implementation & | asImp (const ThisType &other) |
static Implementation & | asImp (ThisType &other) |
Protected Attributes | |
XDR | xdrs_ |
base implementation for XDR output streams
This class implements the writing functions for an XDR stream. It must be associated to a stream by a child class.
The following XDR output streams have been implemented: -XDRFileOutStream
|
inherited |
type of the interface
typedef OutStreamImp Dune::Fem::XDRBasicOutStream< OutStreamImp >::OutStreamType |
type of the implementaton (Barton-Nackman)
typedef XDROutStreamTraits< OutStreamType > Dune::Fem::XDRBasicOutStream< OutStreamImp >::Traits |
type of the traits
|
inlineprotected |
|
inlinestaticprotectedinherited |
|
inlinestaticprotectedinherited |
|
inlineprotectedinherited |
|
inlineprotectedinherited |
|
inlineinherited |
flush the stream
By calling the flush method, the user can ensure that the stream is actually transferred (e.g., written to disk)
|
inline |
write a bool to the stream
[in] | value | value to write to the stream |
|
inline |
write a char to the stream
[in] | value | value to write to the stream |
|
inline |
write a double to the stream
[in] | value | value to write to the stream |
|
inlineprotectedinherited |
|
inline |
write a float to the stream
[in] | value | value to write to the stream |
|
inline |
write an int to the stream
[in] | value | value to write to the stream |
|
inline |
write a string to the stream
[in] | s | string to write to the stream |
|
inline |
write an unsigned int to the stream
[in] | value | value to write to the stream |
|
inline |
write an uint64_t to the stream
[in] | value | value to write to the stream |
|
inlineprotected |
|
protected |