Changeset 10817 for code/branches/cpp11_v2/src/libraries/core/config
- Timestamp:
- Nov 19, 2015, 11:40:28 AM (9 years ago)
- Location:
- code/branches/cpp11_v2/src/libraries/core/config
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cpp11_v2/src/libraries/core/config/ConfigFile.cc
r10768 r10817 38 38 #include <iterator> 39 39 #include <algorithm> 40 #include <fstream> 40 41 41 42 #include "util/Convert.h" -
code/branches/cpp11_v2/src/libraries/core/config/ConfigFileEntryComment.h
r9559 r10817 56 56 inline virtual ~ConfigFileEntryComment() {} 57 57 58 inline virtual const std::string& getName() const 58 inline virtual const std::string& getName() const override 59 59 { return this->comment_; } 60 60 61 inline virtual void setComment(const std::string& comment) 61 inline virtual void setComment(const std::string& comment) override 62 62 { this->comment_ = comment; } 63 63 64 inline virtual void setValue(const std::string& value) 64 inline virtual void setValue(const std::string& value) override 65 65 {} 66 inline virtual const std::string& getValue() const 66 inline virtual const std::string& getValue() const override 67 67 { return BLANKSTRING; } 68 68 69 inline void setString(bool bString) 69 inline void setString(bool bString) override 70 70 {} 71 71 72 inline virtual const std::string& getFileEntry() const 72 inline virtual const std::string& getFileEntry() const override 73 73 { return this->comment_; } 74 74 -
code/branches/cpp11_v2/src/libraries/core/config/ConfigFileEntryValue.h
r9684 r10817 69 69 inline virtual ~ConfigFileEntryValue() {} 70 70 71 inline virtual const std::string& getName() const 71 inline virtual const std::string& getName() const override 72 72 { return this->name_; } 73 73 74 inline virtual void setComment(const std::string& comment) 74 inline virtual void setComment(const std::string& comment) override 75 75 { this->additionalComment_ = comment; this->update(); } 76 76 77 inline virtual void setValue(const std::string& value) 77 inline virtual void setValue(const std::string& value) override 78 78 { this->value_ = value; this->update(); } 79 inline virtual const std::string& getValue() const 79 inline virtual const std::string& getValue() const override 80 80 { return this->value_; } 81 81 82 inline void virtual setString(bool bString) 82 inline void virtual setString(bool bString) override 83 83 { this->bString_ = bString; this->update(); } 84 84 85 inline virtual const std::string& getFileEntry() const 85 inline virtual const std::string& getFileEntry() const override 86 86 { return this->fileEntry_; } 87 87 -
code/branches/cpp11_v2/src/libraries/core/config/ConfigFileEntryVectorValue.h
r9559 r10817 67 67 inline ~ConfigFileEntryVectorValue() {} 68 68 69 inline unsigned int getIndex() const 69 inline unsigned int getIndex() const override 70 70 { return this->index_; } 71 71 72 72 /// Returns the "key" of the value (the name of the vector plus the index of the element) 73 inline const std::string& getKeyString() const 73 inline const std::string& getKeyString() const override 74 74 { return this->keyString_; } 75 75 76 76 private: 77 void update() ;77 void update() override; 78 78 79 79 unsigned int index_; ///< The index of the element in the vector -
code/branches/cpp11_v2/src/libraries/core/config/ConfigValueContainer.h
r10765 r10817 68 68 inline ConfigValueCallback(void (T::*function) (void)) : function_(function) {} 69 69 inline virtual ~ConfigValueCallback() {} 70 inline virtual void call(void* object) 70 inline virtual void call(void* object) override 71 71 { 72 72 if (!IdentifierManager::getInstance().isCreatingHierarchy())
Note: See TracChangeset
for help on using the changeset viewer.