Changeset 1887 for code/trunk/src/core/ConfigValueContainer.cc
- Timestamp:
- Oct 6, 2008, 12:31:32 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/core/ConfigValueContainer.cc
r1795 r1887 50 50 @brief Initializes the ConfigValueContainer with defaultvalues. 51 51 */ 52 void ConfigValueContainer::init(ConfigFileType type, Identifier* identifier, const std::string& varname)52 void ConfigValueContainer::init(ConfigFileType type, Identifier* identifier, const std::string& sectionname, const std::string& varname) 53 53 { 54 54 this->type_ = type; 55 55 this->identifier_ = identifier; 56 this->sectionname_ = identifier->getName();56 this->sectionname_ = sectionname; 57 57 this->varname_ = varname; 58 58 this->callback_ = 0; … … 331 331 if (!this->bAddedDescription_) 332 332 { 333 this->description_ = std::string("ConfigValueDescription::" + this-> identifier_->getName()+ "::" + this->varname_);333 this->description_ = std::string("ConfigValueDescription::" + this->sectionname_ + "::" + this->varname_); 334 334 AddLanguageEntry(this->description_, description); 335 335 this->bAddedDescription_ = true;
Note: See TracChangeset
for help on using the changeset viewer.