- added a new commandline parameter to display merged ini settings and also to filter on a specific ini setting

This commit is contained in:
Mark Vejvoda
2011-01-03 20:59:18 +00:00
parent 5bb98fa261
commit 21c1da2e18
4 changed files with 130 additions and 7 deletions

View File

@@ -49,9 +49,9 @@ public:
void load(const string &path);
void save(const string &path);
int getPropertyCount() {return (int)propertyVector.size();}
string getKey(int i) {return propertyVector[i].first;}
string getString(int i) {return propertyVector[i].second;}
int getPropertyCount() const {return (int)propertyVector.size();}
string getKey(int i) const {return propertyVector[i].first;}
string getString(int i) const {return propertyVector[i].second;}
bool getBool(const string &key, const char *defaultValueIfNotFound=NULL) const;
int getInt(const string &key, const char *defaultValueIfNotFound=NULL) const;