Thyra::SpmdMultiVectorSerializer< Scalar > Class Template Reference
[Efficient Generic SPMD Concrete Thyra Operator/Vector Subclass Implementations]

Concrete utility class for reading and writing SPMD-based MultiVectorBase objects to and from standard streams. More...

#include <Thyra_SpmdMultiVectorSerializer_decl.hpp>

List of all members.

Public Member Functions

 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)
 
bool isCompatible (const MultiVectorBase< Scalar > &mv) const
 Determine if the multi-vector is compatible or not.
void serialize (const MultiVectorBase< Scalar > &mv, std::ostream &out) const
 Write to a stream.
void deserialize (std::istream &in, MultiVectorBase< Scalar > *mv) const
 Read from a stream.


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 45 of file Thyra_SpmdMultiVectorSerializer_decl.hpp.


Constructor & Destructor Documentation

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

Definition at line 40 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 47 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 55 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 96 of file Thyra_SpmdMultiVectorSerializer_def.hpp.


The documentation for this class was generated from the following files:
Generated on Tue Jul 13 09:26:39 2010 for Thyra by  doxygen 1.4.7