Thyra
Version of the Day
|
Concrete utility class for reading and writing SPMD-based MultiVectorBase objects to and from standard streams. More...
#include <Thyra_SpmdMultiVectorSerializer_decl.hpp>
Public Member Functions | |
STANDARD_MEMBER_COMPOSITION_MEMBERS (bool, binaryMode) | |
Set to true if to use binary IO and to false if using ASCII. More... | |
SpmdMultiVectorSerializer (const bool binaryMode=false) | |
bool | isCompatible (const MultiVectorBase< Scalar > &mv) const |
Determine if the multi-vector is compatible or not. More... | |
void | serialize (const MultiVectorBase< Scalar > &mv, std::ostream &out) const |
Write to a stream. More... | |
void | deserialize (std::istream &in, MultiVectorBase< Scalar > *mv) const |
Read from a stream. More... | |
Concrete utility class for reading and writing SPMD-based MultiVectorBase objects to and from standard streams.
ToDo: Finish documentation!
Definition at line 26 of file Thyra_SpmdMultiVectorSerializer_decl.hpp.
Thyra::SpmdMultiVectorSerializer< Scalar >::SpmdMultiVectorSerializer | ( | const bool | binaryMode = false | ) |
Definition at line 21 of file Thyra_SpmdMultiVectorSerializer_def.hpp.
Thyra::SpmdMultiVectorSerializer< Scalar >::STANDARD_MEMBER_COMPOSITION_MEMBERS | ( | bool | , |
binaryMode | |||
) |
Set to true if to use binary IO and to false if using ASCII.
bool Thyra::SpmdMultiVectorSerializer< Scalar >::isCompatible | ( | const MultiVectorBase< Scalar > & | mv | ) | const |
Determine if the multi-vector is compatible or not.
Definition at line 28 of file Thyra_SpmdMultiVectorSerializer_def.hpp.
void Thyra::SpmdMultiVectorSerializer< Scalar >::serialize | ( | const MultiVectorBase< Scalar > & | mv, |
std::ostream & | out | ||
) | const |
Write to a stream.
ToDo: Finish documentation!
Definition at line 36 of file Thyra_SpmdMultiVectorSerializer_def.hpp.
void Thyra::SpmdMultiVectorSerializer< Scalar >::deserialize | ( | std::istream & | in, |
MultiVectorBase< Scalar > * | mv | ||
) | const |
Read from a stream.
ToDo: Finish documentation!
Definition at line 79 of file Thyra_SpmdMultiVectorSerializer_def.hpp.