00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 #ifndef _ParamH_
00017 #define _ParamH_
00018
00019 #include "String.hpp"
00020
00021
00023
00024 String ParamGetString(const String &s, String &value, const String &def);
00025 String ParamGetString(const String &s);
00026 int ParamGet(const String &s, String &value);
00027 int ParamGet(const String &s, String &value, const String &def);
00028 int ParamGet(const String &s, int &value);
00029 int ParamGet(const String &s, int &value, const int &def);
00030 int ParamGet(const String &s, double &value);
00031 int ParamGet(const String &s, double &value, const double &def);
00032 int ParamGet(const String &s, float &value);
00033 int ParamGet(const String &s, float &value, const float &def);
00034 int ParamGetInt(const String &s, int def);
00035 int ParamGetBit(const String &s, int def);
00036 double ParamGetDouble(const String &s, double def);
00037 float ParamGetFloat(const String &s, float def);
00038
00039
00041
00042 void ParamCheckpoint (void);
00043
00044
00046
00047 void ParamPushPrefix (const String &s);
00048 void ParamPopPrefix (void);
00049 int ParamPushFile (const String &s);
00050 String ParamPopFile (void);
00052 void ParamDisplay();
00053
00054 #endif