|
PSCF v1.3.3
|
Factory for subclasses of BdStep. More...
#include <BdStepFactory.h>
Public Member Functions | |
| BdStepFactory (BdSimulator< D > &simulator) | |
| Constructor. | |
| BdStep< D > * | factory (const std::string &className) const |
| Method to create any BdStep supplied with PSCF. | |
| Public Member Functions inherited from Util::Factory< BdStep< D > > | |
| Factory () | |
| Constructor. | |
| virtual | ~Factory () |
| Destructor. | |
| void | addSubfactory (Factory< BdStep< D > > &subfactory) |
| Add a new subfactory to the list. | |
| BdStep< 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. | |
| BdStep< D > * | readObjectOptional (std::istream &in, ParamComposite &parent, std::string &className, bool &isEnd) |
| Read an optional class name, instantiate an object, and read its parameters. | |
| BdStep< 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< BdStep< D > > | |
| BdStep< D > * | trySubfactories (const std::string &className) const |
| Search through subfactories for match. | |
Factory for subclasses of BdStep.
Definition at line 27 of file rpg/fts/brownian/BdStepFactory.h.
| Pscf::Rpg::BdStepFactory< D >::BdStepFactory | ( | BdSimulator< D > & | simulator | ) |
Constructor.
| simulator | parent BdSimulator<D> object |
Definition at line 21 of file rpg/fts/brownian/BdStepFactory.tpp.
|
virtual |
Method to create any BdStep supplied with PSCF.
| className | name of the BdStep subclass |
Implements Util::Factory< BdStep< D > >.
Definition at line 29 of file rpg/fts/brownian/BdStepFactory.tpp.
References Util::Factory< BdStep< D > >::trySubfactories().