dune-fem
2.4.1-rc
|
output stream writing into a given std::ostream More...
#include </local/tomalk/somewhere/tmp/dune-fem/dune/fem/io/streams/standardstreams.hh>
Public Types | |
typedef StandardOutStreamTraits | Traits |
type of the traits More... | |
typedef Traits::OutStreamType | OutStreamType |
type of the implementation (Barton-Nackman) More... | |
typedef ThisType | OutStreamInterfaceType |
type of the interface More... | |
Public Member Functions | |
StandardOutStream (std::ostream &stream) | |
constructor More... | |
std::ostream & | stream () |
void | flush () |
flush the stream More... | |
void | writeDouble (const double value) |
write a double to the stream More... | |
void | writeFloat (const float value) |
write a float to the stream More... | |
void | writeInt (const int value) |
write an int to the stream More... | |
void | writeChar (const char value) |
write a char to the stream More... | |
void | writeBool (const bool value) |
write a char 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... | |
Protected Member Functions | |
bool | valid () const |
template<class T > | |
void | writePrimitive (const T &value) |
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 | |
std::ostream & | stream_ |
output stream writing into a given std::ostream
|
inherited |
type of the interface
|
inherited |
type of the implementation (Barton-Nackman)
type of the traits
|
inlineexplicit |
constructor
[in] | stream | std::ostream to write to |
|
inlinestaticprotectedinherited |
|
inlinestaticprotectedinherited |
|
inlineprotectedinherited |
|
inlineprotectedinherited |
|
inline |
flush the stream
By calling the flush method, the user can ensure that the stream is actually transferred (e.g., written to disk)
Referenced by Dune::Fem::PersistenceManager::restoreValue().
|
inline |
return reference to internal ostream
Referenced by Dune::Fem::CheckPointer< GridImp, DataImp >::GridPersistentObject::backup(), and Dune::Fem::IOTupleBase::writeGrid().
|
inlineprotected |
|
inline |
write a char 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 |
|
inlineprotected |
References Dune::Fem::ByteOrder::map().
|
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 |
|
protected |