Blis 0.95.0
|
#include <BlisParams.h>
Public Member Functions | |
Constructors. | |
BlisParams () | |
The default constructor creates a parameter set with from the template argument structure. | |
virtual void | createKeywordList () |
Method for creating the list of keyword looked for in the parameter file. | |
virtual void | setDefaultEntries () |
Method for setting the default values for the parameters. | |
Query methods | |
For user application: Following code are do NOT need to change. The reason can not put following functions in base class The members of the parameter set can be queried for using the overloaded entry() method. Using the example in the class documentation the user can get a parameter with the "<code>param.entry(USER_par::parameter_name)</code>" expression. | |
bool | entry (const chrParams key) const |
int | entry (const intParams key) const |
double | entry (const dblParams key) const |
const std::string & | entry (const strParams key) const |
const std::vector< std::string > & | entry (const strArrayParams key) const |
void | setEntry (const chrParams key, const char *val) |
char* is true(1) or false(0), not used | |
void | setEntry (const chrParams key, const char val) |
char is true(1) or false(0), not used | |
void | setEntry (const chrParams key, const bool val) |
This method is the one that ever been used. | |
void | setEntry (const intParams key, const char *val) |
void | setEntry (const intParams key, const int val) |
void | setEntry (const dblParams key, const char *val) |
void | setEntry (const dblParams key, const double val) |
void | setEntry (const strParams key, const char *val) |
void | setEntry (const strArrayParams key, const char *val) |
Packing/unpacking methods | |
void | pack (AlpsEncoded &buf) |
Pack the parameter set into the buffer (AlpsEncoded is used as buffer Here). | |
void | unpack (AlpsEncoded &buf) |
Unpack the parameter set from the buffer. | |
Definition at line 36 of file BlisParams.h.
Character parameters.
All of these variable are used as booleans (ture = 1, false = 0).
Definition at line 40 of file BlisParams.h.
Integer paramters.
Definition at line 67 of file BlisParams.h.
Double parameters.
Definition at line 138 of file BlisParams.h.
There are no string array parameters.
Enumerator | |
---|---|
strArrayDummy | |
endOfStrArrayParams |
Definition at line 186 of file BlisParams.h.
|
inline |
The default constructor creates a parameter set with from the template argument structure.
The keyword list is created and the defaults are set.
Definition at line 198 of file BlisParams.h.
|
virtual |
Method for creating the list of keyword looked for in the parameter file.
|
virtual |
Method for setting the default values for the parameters.
|
inline |
Definition at line 242 of file BlisParams.h.
|
inline |
Definition at line 244 of file BlisParams.h.
|
inline |
Definition at line 246 of file BlisParams.h.
|
inline |
Definition at line 249 of file BlisParams.h.
|
inline |
Definition at line 252 of file BlisParams.h.
|
inline |
char* is true(1) or false(0), not used
Definition at line 257 of file BlisParams.h.
|
inline |
char is true(1) or false(0), not used
Definition at line 260 of file BlisParams.h.
|
inline |
This method is the one that ever been used.
Definition at line 263 of file BlisParams.h.
|
inline |
Definition at line 266 of file BlisParams.h.
|
inline |
Definition at line 269 of file BlisParams.h.
|
inline |
Definition at line 272 of file BlisParams.h.
|
inline |
Definition at line 275 of file BlisParams.h.
|
inline |
Definition at line 278 of file BlisParams.h.
|
inline |
Definition at line 281 of file BlisParams.h.
|
inline |
Pack the parameter set into the buffer (AlpsEncoded is used as buffer Here).
Definition at line 290 of file BlisParams.h.
|
inline |
Unpack the parameter set from the buffer.
Definition at line 303 of file BlisParams.h.