Changeset 1324 for code/branches/console/src/core/ConfigValueContainer.cc
- Timestamp:
- May 19, 2008, 2:58:22 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/console/src/core/ConfigValueContainer.cc
r1321 r1324 107 107 if (this->bIsVector_) 108 108 { 109 return this->callFunctionWithIndex(&ConfigValueContainer::set, input. getString());109 return this->callFunctionWithIndex(&ConfigValueContainer::set, input.toString()); 110 110 } 111 111 else … … 113 113 if (this->tset(input)) 114 114 { 115 ConfigFileManager::getSingleton()->setValue(this->type_, this->sectionname_, this->varname_, input. getString(), this->value_.isA(MT_string));115 ConfigFileManager::getSingleton()->setValue(this->type_, this->sectionname_, this->varname_, input.toString(), this->value_.isA(MT_string)); 116 116 return true; 117 117 } … … 132 132 if (this->tset(index, input)) 133 133 { 134 ConfigFileManager::getSingleton()->setValue(this->type_, this->sectionname_, this->varname_, index, input. getString(), this->value_.isA(MT_string));134 ConfigFileManager::getSingleton()->setValue(this->type_, this->sectionname_, this->varname_, index, input.toString(), this->value_.isA(MT_string)); 135 135 return true; 136 136 } … … 152 152 if (this->bIsVector_) 153 153 { 154 return this->callFunctionWithIndex(&ConfigValueContainer::tset, input. getString());154 return this->callFunctionWithIndex(&ConfigValueContainer::tset, input.toString()); 155 155 } 156 156 else … … 160 160 { 161 161 this->value_ = temp; 162 163 162 if (this->identifier_) 164 163 this->identifier_->updateConfigValues(); … … 191 190 { 192 191 this->valueVector_.push_back(MultiTypeMath()); 193 ConfigFileManager::getSingleton()->setValue(this->type_, this->sectionname_, this->varname_, i, this->valueVector_[i], this->value_.isA(MT_string));194 192 } 195 193 } 196 194 197 MultiTypeMath temp = this->value Vector_[index];195 MultiTypeMath temp = this->value_; 198 196 if (temp.assimilate(input)) 199 197 {
Note: See TracChangeset
for help on using the changeset viewer.