133 inline const std::string&
136 inline const std::vector<std::string>&
143 bpar_[key] = atoi(val) ?
true :
false; }
146 bpar_[key] = val ?
true :
false; }
152 ipar_[key] = atoi(val); }
158 dpar_[key] = atof(val); }
167 sapar_[key].push_back(val); }
183 for (
size_t j = 0; j <
sapar_[i].size(); ++j)
202 sapar_[i].reserve(str_size);
203 for (
size_t j = 0; j < str_size; ++j){
205 sapar_[i].push_back(std::string());
void setEntry(const dblParams key, const char *val)
AlpsEncoded & readRep(T &value)
Read a single object of type <code>T</code> from <code>repsentation_ .
AlpsEncoded & writeRep(const T &value)
Write a single object of type <code>T</code> in <code>repsentation_ .
This is the class serves as a holder for a set of parameters.
void setEntry(const strArrayParams key, const char *val)
intParams
Integer paramters.
void pack(AlpsEncoded &buf)
Pack the parameter set into the buffer (AlpsEncoded is used as buffer Here).
int * ipar_
The integer parameters.
char entry(const boolParams key) const
int entry(const intParams key) const
This data structure is to contain the packed form of an encodable knowledge.
strParams
String parameters.
const std::vector< std::string > & entry(const strArrayParams key) const
The interval (number of nodes) to report current search status.
virtual void setDefaultEntries()
Method for setting the default values for the parameters.
virtual void createKeywordList()
Method for creating the list of keyword looked for in the parameter file.
void setEntry(const boolParams key, const char *val)
char* is true(1) or false(0), not used
std::string * spar_
The string (actually, std::string) parameters.
const std::string & entry(const strParams key) const
double entry(const dblParams key) const
strArrayParams
There are no string array parameters.
AbcParams()
The default constructor creates a parameter set with from the template argument structure.
std::vector< std::string > * sapar_
The keyword, parameter pairs.
void setEntry(const boolParams key, const bool val)
This method is the one that ever been used.
bool * bpar_
The bool parameters.
void setEntry(const strParams key, const char *val)
void setEntry(const boolParams key, const char val)
char is true(1) or false(0), not used
void setEntry(const dblParams key, const double val)
void setEntry(const intParams key, const int val)
double * dpar_
The double parameters.
void setEntry(const intParams key, const char *val)
void unpack(AlpsEncoded &buf)
Unpack the parameter set from the buffer.
dblParams
Double parameters.
Whether generate cuts during rampup.
boolParams
Character parameters.