47 class EGS_InputPrivate;
201 EGS_Input(
const string &name,
const string &value=
"");
207 const char *name()
const;
216 int setContentFromFile(
const char *fname);
219 int setContentFromString(
string &input);
225 int addContentFromFile(
const char *fname);
228 int addContentFromString(
string &input);
240 EGS_Input *takeInputItem(
const string &key,
bool self=
true);
245 EGS_Input *getInputItem(
const string &key)
const;
259 int getInput(
const string &key, vector<string> &values)
const;
266 int getInput(
const string &key, vector<EGS_Float> &values)
const;
273 int getInput(
const string &key, vector<int> &values)
const;
284 int getInput(
const string &key,
string &value)
const;
291 int getInput(
const string &key,
float &value)
const;
298 int getInput(
const string &key,
double &value)
const;
305 int getInput(
const string &key,
int &value)
const;
312 int getInput(
const string &key, EGS_I64 &value)
const;
323 int getInput(
const string &key,
const vector<string> &allowed,
324 int def=0,
bool *found=0)
const;
327 bool isA(
const string &key)
const;
334 static bool compare(
const string &s1,
const string &s2);
337 void print(
int nind, ostream &);
#define EGS_EXPORT
Export symbols from the egspp library.
Defines the EGS_EXPORT and EGS_LOCAL macros.