RBGen  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
List of all members
RBGen::FileIOHandler< DataSetType > Class Template Referenceabstract

Abstract base class for reading datasets from files. More...

#include <RBGen_FileIOHandler.hpp>

Public Member Functions

Constructor/Destructor.
 FileIOHandler ()
 Default constructor. More...
 
virtual ~FileIOHandler ()
 Destructor. More...
 
Initialization/Reset Methods
virtual void Initialize (const Teuchos::RCP< Teuchos::ParameterList > &params)=0
 Initialize file reader using. More...
 
void Reset ()
 
File Reading Methods
virtual Teuchos::RCP< DataSetType > Read (const std::vector< std::string > &filenames)=0
 Method for reading multiple files and putting them into an data set. More...
 
Writing Methods
virtual void Write (const Teuchos::RCP< const DataSetType > &MV, const std::string &filename)=0
 Method for writing one data set into a file. More...
 
Handler Status Methods
virtual bool isInitialized () const =0
 Return initialized status of the handler. More...
 

Detailed Description

template<class DataSetType>
class RBGen::FileIOHandler< DataSetType >

Abstract base class for reading datasets from files.

Definition at line 15 of file RBGen_FileIOFactory.hpp.

Constructor & Destructor Documentation

template<class DataSetType>
RBGen::FileIOHandler< DataSetType >::FileIOHandler ( )
inline

Default constructor.

Definition at line 21 of file RBGen_FileIOHandler.hpp.

template<class DataSetType>
virtual RBGen::FileIOHandler< DataSetType >::~FileIOHandler ( )
inlinevirtual

Destructor.

Definition at line 24 of file RBGen_FileIOHandler.hpp.

Member Function Documentation

template<class DataSetType>
virtual void RBGen::FileIOHandler< DataSetType >::Initialize ( const Teuchos::RCP< Teuchos::ParameterList > &  params)
pure virtual
template<class DataSetType>
virtual Teuchos::RCP< DataSetType > RBGen::FileIOHandler< DataSetType >::Read ( const std::vector< std::string > &  filenames)
pure virtual

Method for reading multiple files and putting them into an data set.

Implemented in RBGen::NetCDFFileIOHandler, RBGen::BurkardtFileIOHandler, RBGen::MatrixMarketFileIOHandler, and RBGen::EpetraCrsMatrixFileIOHandler.

template<class DataSetType>
virtual void RBGen::FileIOHandler< DataSetType >::Write ( const Teuchos::RCP< const DataSetType > &  MV,
const std::string &  filename 
)
pure virtual
template<class DataSetType>
virtual bool RBGen::FileIOHandler< DataSetType >::isInitialized ( ) const
pure virtual

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