|
PSCF v1.3.3
|
Default Factory for subclasses of Sweep. More...
#include <SweepFactory.h>
Public Member Functions | |
| SweepFactory (System &system) | |
| Constructor. | |
| Sweep * | factory (std::string const &className) const |
| Method to create any Sweep subclass. | |
| Public Member Functions inherited from Util::Factory< Sweep > | |
| Factory () | |
| Constructor. | |
| virtual | ~Factory () |
| Destructor. | |
| void | addSubfactory (Factory< Sweep > &subfactory) |
| Add a new subfactory to the list. | |
| Sweep * | 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. | |
| Sweep * | readObjectOptional (std::istream &in, ParamComposite &parent, std::string &className, bool &isEnd) |
| Read an optional class name, instantiate an object, and read its parameters. | |
| Sweep * | 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< Sweep > | |
| Sweep * | trySubfactories (const std::string &className) const |
| Search through subfactories for match. | |
Default Factory for subclasses of Sweep.
Definition at line 26 of file r1d/sweep/SweepFactory.h.
| Pscf::R1d::SweepFactory::SweepFactory | ( | System & | system | ) |
Constructor.
| system | parent System object |
Definition at line 18 of file r1d/sweep/SweepFactory.cpp.
|
virtual |
Method to create any Sweep subclass.
| className | name of the Sweep subclass |
Implements Util::Factory< Sweep >.
Definition at line 25 of file r1d/sweep/SweepFactory.cpp.
References Util::Factory< Sweep >::trySubfactories().