diff options
Diffstat (limited to '')
-rw-r--r-- | src/IniFile.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/IniFile.h b/src/IniFile.h index 3a5359d99..057691cba 100644 --- a/src/IniFile.h +++ b/src/IniFile.h @@ -42,14 +42,14 @@ private: struct key { - std::vector<AString> names; - std::vector<AString> values; - std::vector<AString> comments; + std::vector<AString> m_Names; + std::vector<AString> m_Values; + std::vector<AString> m_Comments; } ; - std::vector<key> keys; - std::vector<AString> names; - std::vector<AString> comments; + std::vector<key> m_Keys; + std::vector<AString> m_Names; + std::vector<AString> m_Comments; /** If the object is case-insensitive, returns s as lowercase; otherwise returns s as-is */ AString CheckCase(const AString & s) const; @@ -109,7 +109,7 @@ public: int FindValue(const int keyID, const AString & valuename) const; /** Returns number of keys currently in the ini */ - int GetNumKeys(void) const { return static_cast<int>(keys.size()); } + int GetNumKeys(void) const { return static_cast<int>(m_Keys.size()); } /** Add a key name */ int AddKeyName(const AString & keyname) override; @@ -184,7 +184,7 @@ public: // Header comments are those comments before the first key. /** Returns the number of header comments */ - int GetNumHeaderComments(void) {return static_cast<int>(comments.size());} + int GetNumHeaderComments(void) {return static_cast<int>(m_Comments.size());} /** Adds a header comment */ void AddHeaderComment(const AString & comment); @@ -196,7 +196,7 @@ public: bool DeleteHeaderComment(int commentID); /** Deletes all header comments */ - void DeleteHeaderComments(void) {comments.clear();} + void DeleteHeaderComments(void) {m_Comments.clear();} // Key comment functions. |