Thyra Version of the Day
Loading...
Searching...
No Matches
Public Member Functions | List of all members

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

Constructor & Destructor Documentation

◆ SpmdMultiVectorSerializer()

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

Definition at line 53 of file Thyra_SpmdMultiVectorSerializer_def.hpp.

Member Function Documentation

◆ STANDARD_MEMBER_COMPOSITION_MEMBERS()

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.

◆ isCompatible()

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 60 of file Thyra_SpmdMultiVectorSerializer_def.hpp.

◆ serialize()

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 68 of file Thyra_SpmdMultiVectorSerializer_def.hpp.

◆ deserialize()

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 111 of file Thyra_SpmdMultiVectorSerializer_def.hpp.


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