PopulationFactory¶
This page describes the class PopulationFactory
The abstract base class pure virtual PopulationFactory
serves as a base class for the classes
StatPopFactory and DynPopFactory.
- Code:
Public Methods¶
constructor
¶
virtual ~PopulationFactory();
The destructor does nothing.
createPopulationByName
¶
virtual PopBase *createPopulationByName(const std::string sName) = 0;
sName
The name of a population.
Create a population base object for a given name (usually called when reading a population from a a QDF file).
readPopulation
¶
virtual PopBase *readPopulation(ParamProvider2 *pPP) = 0;
pPP
A
ParamProvider2
object
Reads the parameters for a population from pPP
and returns a pointer to the population
(usually called when reading a population from an xml file).