Changeset 6536 for code/trunk/src/libraries/core/Identifier.cc
- Timestamp:
- Mar 16, 2010, 11:22:36 AM (14 years ago)
- Location:
- code/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
/code/branches/gamestate (added) merged: 6430-6432,6437,6439-6440
- Property svn:mergeinfo changed
-
code/trunk/src/libraries/core/Identifier.cc
r6417 r6536 416 416 this->bHasConfigValues_ = true; 417 417 this->configValues_[varname] = container; 418 this->configValues_LC_[getLowercase(varname)] = container;419 418 } 420 419 … … 428 427 std::map<std::string, ConfigValueContainer*>::const_iterator it = configValues_.find(varname); 429 428 if (it != configValues_.end()) 430 return it->second;431 else432 return 0;433 }434 435 /**436 @brief Returns the ConfigValueContainer of a variable, given by the string of its name in lowercase.437 @param varname The name of the variable in lowercase438 @return The ConfigValueContainer439 */440 ConfigValueContainer* Identifier::getLowercaseConfigValueContainer(const std::string& varname)441 {442 std::map<std::string, ConfigValueContainer*>::const_iterator it = configValues_LC_.find(varname);443 if (it != configValues_LC_.end())444 429 return it->second; 445 430 else
Note: See TracChangeset
for help on using the changeset viewer.