Go to the documentation of this file.
137 inline const std::string&
140 inline const std::vector<std::string>&
147 bpar_[key] = atoi(val) ? true :
false; }
150 bpar_[key] = val ? true :
false; }
156 ipar_[key] = atoi(val); }
162 dpar_[key] = atof(val); }
171 sapar_[key].push_back(val); }
187 for (
size_t j = 0; j <
sapar_[i].size(); ++j)
206 sapar_[i].reserve(str_size);
207 for (
size_t j = 0; j < str_size; ++j){
209 sapar_[i].push_back(std::string());
void setEntry(const strParams key, const char *val)
double * dpar_
The double parameters.
This is the class serves as a holder for a set of parameters.
const std::string & entry(const strParams key) const
char entry(const boolParams key) const
void setEntry(const dblParams key, const char *val)
virtual void createKeywordList()
Method for creating the list of keyword looked for in the parameter file.
std::string * spar_
The string (actually, std::string) parameters.
void setEntry(const boolParams key, const bool val)
This method is the one that ever been used.
void setEntry(const boolParams key, const char val)
char is true(1) or false(0), not used
AlpsEncoded & writeRep(const T &value)
Write a single object of type T in repsentation_ .
int * ipar_
The integer parameters.
AlpsEncoded & readRep(T &value)
Read a single object of type T from repsentation_ .
void setEntry(const intParams key, const char *val)
AbcParams()
The default constructor creates a parameter set with from the template argument structure.
virtual void setDefaultEntries()
Method for setting the default values for the parameters.
int entry(const intParams key) const
void setEntry(const intParams key, const int val)
intParams
Integer paramters.
void unpack(AlpsEncoded &buf)
Unpack the parameter set from the buffer.
@ cutDuringRampup
Whether generate cuts during rampup.
void setEntry(const strArrayParams key, const char *val)
bool * bpar_
The bool parameters.
dblParams
Double parameters.
void setEntry(const dblParams key, const double val)
@ statusInterval
The interval (number of nodes) to report current search status.
void pack(AlpsEncoded &buf)
Pack the parameter set into the buffer (AlpsEncoded is used as buffer Here).
const std::vector< std::string > & entry(const strArrayParams key) const
double entry(const dblParams key) const
void setEntry(const boolParams key, const char *val)
char* is true(1) or false(0), not used
strArrayParams
There are no string array parameters.
boolParams
Character parameters.
strParams
String parameters.
std::vector< std::string > * sapar_