#include <dune/fem/io/streams/binarystreams.hh>
|
typedef StandardOutStreamTraits | Traits |
| type of the traits
|
|
typedef Traits::OutStreamType | OutStreamType |
| type of the implementation (Barton-Nackman)
|
|
typedef ThisType | OutStreamInterfaceType |
| type of the interface
|
|
|
std::ofstream * | file_ |
| standard file stream
|
|
constructor
- Parameters
-
[in] | stream | std::ostream to write to |
◆ BinaryFileOutStream()
Dune::Fem::BinaryFileOutStream::BinaryFileOutStream |
( |
const std::string & |
filename | ) |
|
|
inlineexplicit |
constructor
- Parameters
-
[in] | filename | name of a file to write to |
◆ flush()
void Dune::Fem::StandardOutStream::flush |
( |
| ) |
|
|
inlineinherited |
flush the stream
By calling the flush method, the user can ensure that the stream is actually transferred (e.g., written to disk)
◆ stream()
std::ostream & Dune::Fem::StandardOutStream::stream |
( |
| ) |
|
|
inlineinherited |
◆ writeBool()
void Dune::Fem::StandardOutStream::writeBool |
( |
const bool |
value | ) |
|
|
inlineinherited |
write a bool to the stream
- Parameters
-
[in] | value | value to write to the stream |
◆ writeChar()
void Dune::Fem::StandardOutStream::writeChar |
( |
const char |
value | ) |
|
|
inlineinherited |
write a char to the stream
- Parameters
-
[in] | value | value to write to the stream |
◆ writeDouble()
void Dune::Fem::StandardOutStream::writeDouble |
( |
const double |
value | ) |
|
|
inlineinherited |
write a double to the stream
- Parameters
-
[in] | value | value to write to the stream |
◆ writeFloat()
void Dune::Fem::StandardOutStream::writeFloat |
( |
const float |
value | ) |
|
|
inlineinherited |
write a float to the stream
- Parameters
-
[in] | value | value to write to the stream |
◆ writeInt()
void Dune::Fem::StandardOutStream::writeInt |
( |
const int |
value | ) |
|
|
inlineinherited |
write an int to the stream
- Parameters
-
[in] | value | value to write to the stream |
◆ writeSignedInt64()
void Dune::Fem::StandardOutStream::writeSignedInt64 |
( |
int64_t |
value | ) |
|
|
inlineinherited |
write an int64_t to the stream
- Parameters
-
[in] | value | value to write to the stream |
◆ writeString()
void Dune::Fem::StandardOutStream::writeString |
( |
const std::string & |
s | ) |
|
|
inlineinherited |
write a string to the stream
- Parameters
-
[in] | s | string to write to the stream |
◆ writeUnsignedInt()
void Dune::Fem::StandardOutStream::writeUnsignedInt |
( |
unsigned int |
value | ) |
|
|
inlineinherited |
write an unsigned int to the stream
- Parameters
-
[in] | value | value to write to the stream |
◆ writeUnsignedInt64()
void Dune::Fem::StandardOutStream::writeUnsignedInt64 |
( |
uint64_t |
value | ) |
|
|
inlineinherited |
write an uint64_t to the stream
- Parameters
-
[in] | value | value to write to the stream |
◆ operator<<()
write a discrete function into an output stream
- Parameters
-
[in] | out | stream to write to |
[in] | df | discrete function to write |
- Returns
- the output stream (for concatenation)
The documentation for this class was generated from the following file: