- Timestamp:
- Nov 23, 2015, 10:20:29 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cpp11_v2/src/libraries/core/config/ConfigFileEntryValue.h
r10817 r10845 67 67 68 68 /// Destructor 69 inline virtual~ConfigFileEntryValue() {}69 virtual inline ~ConfigFileEntryValue() {} 70 70 71 inline virtualconst std::string& getName() const override71 virtual inline const std::string& getName() const override 72 72 { return this->name_; } 73 73 74 inline virtualvoid setComment(const std::string& comment) override74 virtual inline void setComment(const std::string& comment) override 75 75 { this->additionalComment_ = comment; this->update(); } 76 76 77 inline virtualvoid setValue(const std::string& value) override77 virtual inline void setValue(const std::string& value) override 78 78 { this->value_ = value; this->update(); } 79 inline virtualconst std::string& getValue() const override79 virtual inline const std::string& getValue() const override 80 80 { return this->value_; } 81 81 82 inline void virtualsetString(bool bString) override82 virtual inline void setString(bool bString) override 83 83 { this->bString_ = bString; this->update(); } 84 84 85 inline virtualconst std::string& getFileEntry() const override85 virtual inline const std::string& getFileEntry() const override 86 86 { return this->fileEntry_; } 87 87 88 88 /// Returns the "key" of the value (in this case it's just the name of the entry, but for vectors it's different) 89 inline virtualconst std::string& getKeyString() const89 virtual inline const std::string& getKeyString() const 90 90 { return this->name_; } 91 91
Note: See TracChangeset
for help on using the changeset viewer.