25 GRTBase::GRTBase(
void):classType(
""),debugLog(
"[DEBUG]"),errorLog(
"[ERROR]"),trainingLog(
"[TRAINING]"),testingLog(
"[TESTING]"),warningLog(
"[WARNING]"){
35 errorLog <<
"copyBaseVariables(const GRTBase *base) - base pointer is NULL!" << endl;
39 this->classType = base->classType;
40 this->debugLog = base->debugLog;
41 this->errorLog = base->errorLog;
42 this->infoLog = base->infoLog;
43 this->trainingLog = base->trainingLog;
44 this->testingLog = base->testingLog;
45 this->warningLog = base->warningLog;
51 return warningLog.getLastMessage();
55 return errorLog.getLastMessage();
59 return infoLog.getLastMessage();
63 string version = GRT_VERSION;
64 if( returnRevision ) version +=
" revision: " +
getGRTRevison();
string getLastErrorMessage() const
static string getGRTVersion(bool returnRevision=true)
bool copyGRTBaseVariables(const GRTBase *GRTBase)
static string getGRTRevison()
string getClassType() const
This file contains the GRTBase class. This is the core base class for all the GRT modules...
GRTBase * getGRTBasePointer()
string getLastInfoMessage() const
string getLastWarningMessage() const