15 #ifndef MCF_PARAM_INCLUDED
16 #define MCF_PARAM_INCLUDED
19 #include "UtilMacros.h"
21 #include "UtilParameters.h"
41 static const char* common =
"MCF";
48 throw UtilException(
"Bad Parameter",
"getSettings",
"MCF_Param");
53 bool optionsOk =
true;
58 static const char* common =
"MCF";
59 (*os) <<
"\n=====================================================\n"
60 <<
"MCF_DECOMP PARAMETER SETTINGS \n";
61 (*os) << common <<
": LogLevel : " <<
LogLevel << endl;
62 (*os) << common <<
": UseSparse : " <<
UseSparse << endl;
63 (*os) << common <<
": DataDir : " <<
DataDir << endl;
64 (*os) << common <<
": Instance : " <<
Instance << endl;
65 (*os) <<
"=====================================================\n";
string GetSetting(const char *name, const char *defaultValue, const char *section=NULL)
void getSettings(UtilParameters &utilParam)
void dumpSettings(ostream *os=&cout)
#define UtilException(msg, methodN, classN)