Debian Codegraph @

packages/anasazi/src-rbgen/RBGen_PreprocessorFactory.hpp

raw
1 // @HEADER
2 // *****************************************************************************
3 // Anasazi: Block Eigensolvers Package
4 //
5 // Copyright 2004 NTESS and the Anasazi contributors.
6 // SPDX-License-Identifier: BSD-3-Clause
7 // *****************************************************************************
8 // @HEADER
9
10 #ifndef RBGEN_PREPROCESSOR_FACTORY_HPP
11 #define RBGEN_PREPROCESSOR_FACTORY_HPP
12
13 #include "Teuchos_ParameterList.hpp"
14 #include "Teuchos_RCP.hpp"
15
16 namespace RBGen {
17
18 template< class DataSetType >
19 class Preprocessor;
20
21 //! Abstract factory for instantiating Preprocessor concrete classes.
22 template< class DataSetType >
23 class PreprocessorFactory {
24
25 public:
26 //! @name Constructor/Destructor.
27 //@{
28
29 //! Default constructor.
30 PreprocessorFactory() {};
31
32 //! Destructor.
33 virtual ~PreprocessorFactory() {};
34 //@}
35
36 //! @name Factory methods
37 //@{
38
39 virtual Teuchos::RCP<Preprocessor<DataSetType> > create( const Teuchos::ParameterList& params ) = 0;
40
41 //@}
42
43 };
44
45 } // end of RBGen namespace
46
47 #endif // RBGEN_PREPROCESSOR_FACTORY_HPP