dune-fem
2.4.1-rc
|
input stream reading from a given std::istream More...
#include </local/tomalk/somewhere/tmp/dune-fem/dune/fem/io/streams/standardstreams.hh>
Public Types | |
typedef StandardInStreamTraits | Traits |
type of the traits More... | |
typedef Traits::InStreamType | InStreamType |
type of the implementation (Barton-Nackman) More... | |
typedef ThisType | InStreamInterfaceType |
type of the interface More... | |
Public Member Functions | |
StandardInStream (std::istream &stream) | |
constructor More... | |
std::istream & | stream () |
void | readDouble (double &value) |
read a double from the stream More... | |
void | readFloat (float &value) |
read a float from the stream More... | |
void | readInt (int &value) |
read an int from the stream More... | |
void | readChar (char &value) |
read a char from the stream More... | |
void | readBool (bool &value) |
read a bool from the stream More... | |
void | readString (std::string &s) |
read a string from the stream More... | |
void | readUnsignedInt (unsigned int &value) |
read an unsigned int from the stream More... | |
void | readUnsignedInt64 (uint64_t &value) |
read an uint64_t from the stream More... | |
double | readDouble () |
read a double from the stream More... | |
float | readFloat () |
read a double from the stream More... | |
int | readInt () |
read an int from the stream More... | |
int | readChar () |
read a char from the stream More... | |
bool | readBool () |
read a bool from the stream More... | |
unsigned int | readUnsignedInt () |
read an unsigned int from the stream More... | |
uint64_t | readUnsignedInt64 () |
read an uint64_t from the stream More... | |
Protected Member Functions | |
bool | valid () const |
template<class T > | |
void | readPrimitive (T &value) |
void | readError () 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::istream & | stream_ |
input stream reading from a given std::istream
|
inherited |
type of the interface
|
inherited |
type of the implementation (Barton-Nackman)
type of the traits
|
inlineexplicit |
constructor
[in] | stream | std::istream to read from |
|
inlinestaticprotectedinherited |
|
inlinestaticprotectedinherited |
|
inlineprotectedinherited |
|
inlineprotectedinherited |
|
inline |
read a bool from the stream
[out] | value | reference to the variable to read from the stream |
|
inlineinherited |
read a bool from the stream
|
inline |
read a char from the stream
[out] | value | reference to the variable to read from the stream |
|
inlineinherited |
read a char from the stream
|
inlineinherited |
read a double from the stream
|
inline |
read a double from the stream
[out] | value | reference to the variable to read from the stream |
|
inlineprotectedinherited |
|
inline |
read a float from the stream
[out] | value | reference to the variable to read from the stream |
|
inlineinherited |
read a double from the stream
|
inline |
read an int from the stream
[out] | value | reference to the variable to read from the stream |
|
inlineinherited |
read an int from the stream
|
inlineprotected |
References Dune::Fem::ByteOrder::map().
|
inline |
read a string from the stream
[out] | s | reference to the string to read from the stream |
|
inline |
read an unsigned int from the stream
[out] | value | reference to the variable to read from the stream |
|
inlineinherited |
read an unsigned int from the stream
|
inline |
read an uint64_t from the stream
[out] | value | reference to the variable to read from the stream |
|
inlineinherited |
read an uint64_t from the stream
|
inline |
return reference to internal istream
Referenced by Dune::Fem::IOTupleBase::restoreGrid(), and Dune::Fem::CheckPointer< GridImp, DataImp >::restoreGrid().
|
inlineprotected |
|
protected |