Changeset 1596 for code/branches/core3/src/core/ConfigValueContainer.cc
- Timestamp:
- Jun 12, 2008, 10:53:51 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core3/src/core/ConfigValueContainer.cc
r1505 r1596 59 59 this->sectionname_ = identifier->getName(); 60 60 this->varname_ = varname; 61 this->callback_ = 0; 61 62 62 63 this->value_ = defvalue; … … 98 99 this->update(); 99 100 } 101 } 102 103 /** 104 @brief Destructor: Deletes the callback object if necessary. 105 */ 106 ConfigValueContainer::~ConfigValueContainer() 107 { 108 if (this->callback_) 109 delete this->callback_; 100 110 } 101 111 … … 335 345 @param description The description 336 346 */ 337 voidConfigValueContainer::description(const std::string& description)347 ConfigValueContainer& ConfigValueContainer::description(const std::string& description) 338 348 { 339 349 if (!this->bAddedDescription_) … … 343 353 this->bAddedDescription_ = true; 344 354 } 355 return (*this); 345 356 } 346 357
Note: See TracChangeset
for help on using the changeset viewer.