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...
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.
SpmdMultiVectorSerializer(const bool binaryMode=false)
void serialize(const MultiVectorBase< Scalar > &mv, std::ostream &out) const
Write to a stream.
bool isCompatible(const MultiVectorBase< Scalar > &mv) const
Determine if the multi-vector is compatible or not.