RBGen  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
RBGen_Preprocessor.hpp
1 #ifndef RBGEN_PREPROCESSOR_HPP
2 #define RBGEN_PREPROCESSOR_HPP
3 
5 #include "Teuchos_RCP.hpp"
6 
7 namespace RBGen {
8 
9  template< class DataSetType >
10  class FileIOHandler;
11 
13  template< class DataSetType >
14  class Preprocessor {
15 
16  public:
18 
19 
22 
24  virtual ~Preprocessor() {};
26 
28 
29 
31  virtual void Initialize( const Teuchos::RCP< Teuchos::ParameterList >& params,
32  const Teuchos::RCP<FileIOHandler<DataSetType> >& fileio ) = 0;
33 
35  virtual void Reset() = 0;
37 
39 
40 
42  virtual void Preprocess( Teuchos::RCP< DataSetType >& ss ) = 0;
44 
46 
47 
49  virtual bool isInitialized() const = 0;
50 
52  };
53 
54 } // end of RBGen namespace
55 
56 #endif // RBGEN_PREPROCESSOR_HPP
virtual ~Preprocessor()
Destructor.
virtual void Reset()=0
Reset preprocessor.
virtual bool isInitialized() const =0
Return initialized status of the preprocessor.
Preprocessor()
Default constructor.
virtual void Preprocess(Teuchos::RCP< DataSetType > &ss)=0
Preprocess the snapshot set passed in.
Abstract base class for reading datasets from files.
Abstract base class for encapsulating dataset preprocessing.
virtual void Initialize(const Teuchos::RCP< Teuchos::ParameterList > &params, const Teuchos::RCP< FileIOHandler< DataSetType > > &fileio)=0
Initialize preprocessor.