42 #ifndef THYRA_SPMD_MULTI_VECTOR_SERIALIZER_DECL_HPP
43 #define THYRA_SPMD_MULTI_VECTOR_SERIALIZER_DECL_HPP
45 #include "Thyra_OperatorVectorTypes.hpp"
46 #include "Teuchos_StandardMemberCompositionMacros.hpp"
57 template<
class Scalar>
66 const bool binaryMode =
false
88 #endif // THYRA_SPMD_MULTI_VECTOR_SERIALIZER_DECL_HPP
void deserialize(std::istream &in, MultiVectorBase< Scalar > *mv) const
Read from a stream.
Concrete utility class for reading and writing SPMD-based MultiVectorBase objects to and from standar...
bool isCompatible(const MultiVectorBase< Scalar > &mv) const
Determine if the multi-vector is compatible or not.
Interface for a collection of column vectors called a multi-vector.
STANDARD_MEMBER_COMPOSITION_MEMBERS(bool, binaryMode)
Set to true if to use binary IO and to false if using ASCII.
void serialize(const MultiVectorBase< Scalar > &mv, std::ostream &out) const
Write to a stream.
SpmdMultiVectorSerializer(const bool binaryMode=false)