Added const keyword for the getters

This commit is contained in:
Anatole SCHRAMM 2019-04-15 12:58:08 +02:00
parent 8298e7018f
commit 97f3f6a977

View File

@ -27,8 +27,8 @@ public:
return strcmp(_value,"true") == 0 || strcmp(_value,"TRUE") == 0 ? true : false; return strcmp(_value,"true") == 0 || strcmp(_value,"TRUE") == 0 ? true : false;
} }
const char *getParameter() const{return _parameter == NULL ? "" : _parameter;} const char *getParameter() const{return _parameter == NULL ? "" : _parameter;}
bool isQuotedParameter()const{return _quotedParameter;} const bool isQuotedParameter()const{return _quotedParameter;}
bool isQuotedValue()const{return _quotedValue;} const bool isQuotedValue()const{return _quotedValue;}
virtual const char *toString() virtual const char *toString()
{ {
return _value; return _value;