6 return state->getRegistry()->registerEntry(
name_ +
"." + name, value, T, description,
genotypeId_);
18 return state->getRegistry()->modifyEntry(
name_ +
"." + name, value,
genotypeId_);
voidP getParameterValue(StateP state, std::string name)
Read single parameter value from Registry.
bool registerParameter(StateP state, std::string name, voidP value, enum ECF::type T, std::string description="")
Register a single parameter.
std::string name_
genotype's name
bool isParameterDefined(StateP state, std::string name)
Check if parameter is defined in the configuration.
uint genotypeId_
this genotype's unique index in individual structure
bool setParameterValue(StateP state, std::string name, voidP value)
Write single parameter value to Registry.
type
Data types used for configuration file parameters.