constructor
More...
#include </local/tomalk/somewhere/tmp/dune-fem/dune/fem/io/streams/binarystreams.hh>
constructor
- Parameters
-
[in] | stream | std::istream to read from |
type of the implementation (Barton-Nackman)
Dune::Fem::BinaryFileInStream::BinaryFileInStream |
( |
const std::string & |
filename | ) |
|
|
inlineexplicit |
constructor
- Parameters
-
[in] | filename | name of a file to write to |
Dune::Fem::BinaryFileInStream::~BinaryFileInStream |
( |
| ) |
|
|
inline |
template<class Interface, class Implementation>
|
inlinestaticprotectedinherited |
template<class Interface, class Implementation>
|
inlinestaticprotectedinherited |
template<class Interface, class Implementation>
template<class Interface, class Implementation>
std::istream& Dune::Fem::BinaryFileInStream::openFile |
( |
const std::string & |
filename | ) |
|
|
inlineprotected |
void Dune::Fem::StandardInStream::readBool |
( |
bool & |
value | ) |
|
|
inlineinherited |
read a bool from the stream
- Parameters
-
[out] | value | reference to the variable to read from the stream |
read a bool from the stream
- Returns
- a bool read from the stream
void Dune::Fem::StandardInStream::readChar |
( |
char & |
value | ) |
|
|
inlineinherited |
read a char from the stream
- Parameters
-
[out] | value | reference to the variable to read from the stream |
read a char from the stream
- Returns
- a char read from the stream
read a double from the stream
- Returns
- a double read from the stream
void Dune::Fem::StandardInStream::readDouble |
( |
double & |
value | ) |
|
|
inlineinherited |
read a double from the stream
- Parameters
-
[out] | value | reference to the variable to read from the stream |
void Dune::Fem::StandardInStream::readFloat |
( |
float & |
value | ) |
|
|
inlineinherited |
read a float from the stream
- Parameters
-
[out] | value | reference to the variable to read from the stream |
read a double from the stream
- Returns
- a double read from the stream
void Dune::Fem::StandardInStream::readInt |
( |
int & |
value | ) |
|
|
inlineinherited |
read an int from the stream
- Parameters
-
[out] | value | reference to the variable to read from the stream |
read an int from the stream
- Returns
- an int read from the stream
template<class T >
void Dune::Fem::StandardInStream::readPrimitive |
( |
T & |
value | ) |
|
|
inlineprotectedinherited |
void Dune::Fem::StandardInStream::readString |
( |
std::string & |
s | ) |
|
|
inlineinherited |
read a string from the stream
- Parameters
-
[out] | s | reference to the string to read from the stream |
void Dune::Fem::StandardInStream::readUnsignedInt |
( |
unsigned int & |
value | ) |
|
|
inlineinherited |
read an unsigned int from the stream
- Parameters
-
[out] | value | reference to the variable to read from the stream |
read an unsigned int from the stream
- Returns
- an unsigned int read from the stream
void Dune::Fem::StandardInStream::readUnsignedInt64 |
( |
uint64_t & |
value | ) |
|
|
inlineinherited |
read an uint64_t from the stream
- Parameters
-
[out] | value | reference to the variable to read from the stream |
read an uint64_t from the stream
- Returns
- an uint64_t read from the stream
std::istream& Dune::Fem::StandardInStream::stream |
( |
| ) |
|
|
inlineinherited |
bool Dune::Fem::StandardInStream::valid |
( |
| ) |
const |
|
inlineprotectedinherited |
std::ifstream* Dune::Fem::BinaryFileInStream::file_ |
|
protected |
std::istream& Dune::Fem::StandardInStream::stream_ |
|
protectedinherited |
The documentation for this class was generated from the following file: