|
PSCF v1.3.3
|
Factory for subclasses of Analyzer. More...
#include <AnalyzerFactory.h>
Public Member Functions | |
| AnalyzerFactory (Simulator< D > &simulator, System< D > &system) | |
| Constructor. | |
| Analyzer< D > * | factory (const std::string &className) const |
| Method to create any Analyzer supplied with PSCF. | |
| Public Member Functions inherited from Util::Factory< Analyzer< D > > | |
| Factory () | |
| Constructor. | |
| virtual | ~Factory () |
| Destructor. | |
| void | addSubfactory (Factory< Analyzer< D > > &subfactory) |
| Add a new subfactory to the list. | |
| Analyzer< D > * | readObject (std::istream &in, ParamComposite &parent, std::string &className, bool &isEnd, bool isRequired=true) |
| Read a class name, instantiate an object, and read its parameters. | |
| Analyzer< D > * | readObjectOptional (std::istream &in, ParamComposite &parent, std::string &className, bool &isEnd) |
| Read an optional class name, instantiate an object, and read its parameters. | |
| Analyzer< D > * | loadObject (Serializable::IArchive &ar, ParamComposite &parent, std::string &className) |
| Load a class name, instantiate an object, and load the object. | |
Additional Inherited Members | |
| Protected Member Functions inherited from Util::Factory< Analyzer< D > > | |
| Analyzer< D > * | trySubfactories (const std::string &className) const |
| Search through subfactories for match. | |
Factory for subclasses of Analyzer.
Definition at line 29 of file rpg/fts/analyzer/AnalyzerFactory.h.
| Pscf::Rpg::AnalyzerFactory< D >::AnalyzerFactory | ( | Simulator< D > & | simulator, |
| System< D > & | system ) |
Constructor.
| simulator | parent Simulator<D> object |
| system | parent System<D> object |
Definition at line 27 of file rpg/fts/analyzer/AnalyzerFactory.tpp.
|
virtual |
Method to create any Analyzer supplied with PSCF.
| className | name of the Analyzer subclass |
Implements Util::Factory< Analyzer< D > >.
Definition at line 36 of file rpg/fts/analyzer/AnalyzerFactory.tpp.
References Util::Factory< Analyzer< D > >::trySubfactories().