1
0
Fork 0

Merge branch 'svn/trunk' r4333

Conflict resolutions required some algorithm adjustments.
This commit is contained in:
Patryk Obara 2020-02-25 10:07:58 +01:00
commit 5e41eaf150
6 changed files with 108 additions and 99 deletions

View file

@ -44,7 +44,7 @@ public:
const char * GetFileName(){ return file_name.c_str();}
bool FindExist(char const * const name,bool remove=false);
bool FindHex(char const * const name,int & value,bool remove=false);
bool FindHex(char const * const name,unsigned int & value,bool remove=false);
bool FindInt(char const * const name,int & value,bool remove=false);
bool FindString(char const * const name,std::string & value,bool remove=false);
bool FindCommand(unsigned int which,std::string & value);

View file

@ -89,7 +89,7 @@ public:
Value& operator= (char const * const in) { return copy(Value(in));}
Value& operator= (Value const& in) { return copy(Value(in));}
bool operator== (Value const & other);
bool operator== (Value const & other) const;
operator bool () const;
operator Hex () const;
operator int () const;
@ -144,7 +144,7 @@ protected:
}
Value value;
std::vector<Value> suggested_values;
typedef std::vector<Value>::iterator iter;
typedef std::vector<Value>::const_iterator const_iter;
Value default_value;
const Changeable::Value change;
};