XDR output stream writing into a file.
More...
#include </local/tomalk/somewhere/tmp/dune-fem/dune/fem/io/streams/xdrstreams.hh>
XDR output stream writing into a file.
- Newly added:
type of the implementaton (Barton-Nackman)
Dune::Fem::XDRFileOutStream::XDRFileOutStream |
( |
const std::string & |
filename, |
|
|
const bool |
append = false |
|
) |
| |
|
inlineexplicit |
constructor
- Parameters
-
[in] | filename | name of the file to write to |
[in] | append | true if stream appends to file filename (default = false) |
Dune::Fem::XDRFileOutStream::~XDRFileOutStream |
( |
| ) |
|
|
inline |
template<class Interface, class Implementation>
|
inlinestaticprotectedinherited |
template<class Interface, class Implementation>
|
inlinestaticprotectedinherited |
template<class Interface, class Implementation>
template<class Interface, class Implementation>
void Dune::Fem::XDRFileOutStream::flush |
( |
| ) |
|
|
inline |
flush the stream
By calling the flush method, the user can ensure that the stream is actually transferred (e.g., written to disk)
write a bool to the stream
- Parameters
-
[in] | value | value to write to the stream |
write a char to the stream
- Parameters
-
[in] | value | value to write to the stream |
write a double to the stream
- Parameters
-
[in] | value | value to write to the stream |
write a float to the stream
- Parameters
-
[in] | value | value to write to the stream |
write an int to the stream
- Parameters
-
[in] | value | value to write to the stream |
write a string to the stream
- Parameters
-
[in] | s | string to write to the stream |
write an unsigned int to the stream
- Parameters
-
[in] | value | value to write to the stream |
write an uint64_t to the stream
- Parameters
-
[in] | value | value to write to the stream |
FILE* Dune::Fem::XDRFileOutStream::file_ |
|
protected |
The documentation for this class was generated from the following file: