Thyra  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
Thyra::SpmdMultiVectorSerializer< Scalar > Class Template Reference

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...
 

Detailed Description

template<class Scalar>
class Thyra::SpmdMultiVectorSerializer< Scalar >

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.

Constructor & Destructor Documentation

template<class Scalar >
Thyra::SpmdMultiVectorSerializer< Scalar >::SpmdMultiVectorSerializer ( const bool  binaryMode = false)

Definition at line 21 of file Thyra_SpmdMultiVectorSerializer_def.hpp.

Member Function Documentation

template<class Scalar >
Thyra::SpmdMultiVectorSerializer< Scalar >::STANDARD_MEMBER_COMPOSITION_MEMBERS ( bool  ,
binaryMode   
)

Set to true if to use binary IO and to false if using ASCII.

template<class Scalar >
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.

template<class Scalar >
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.

template<class Scalar >
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.


The documentation for this class was generated from the following files: