10 #ifndef THYRA_SPMD_MULTI_VECTOR_SERIALIZER_DECL_HPP
11 #define THYRA_SPMD_MULTI_VECTOR_SERIALIZER_DECL_HPP
13 #include "Thyra_OperatorVectorTypes.hpp"
14 #include "Teuchos_StandardMemberCompositionMacros.hpp"
25 template<
class Scalar>
34 const bool binaryMode =
false
56 #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)