Changeset 696 for code/branches/FICN/src/orxonox/core/Identifier.h
- Timestamp:
- Dec 27, 2007, 4:59:55 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/FICN/src/orxonox/core/Identifier.h
r694 r696 137 137 { this->configValues_[varname] = container; } 138 138 139 std::map<std::string, Identifier*>& getIdentifierMap(); 140 139 141 private: 140 142 Identifier(); … … 172 174 unsigned int classID_; //!< The network ID to identify a class through the network 173 175 std::map<std::string, ConfigValueContainer*> configValues_; //!< A map to link the string of configurable variables with their ConfigValueContainer 174 static std::map<std::string, Identifier*> identifierMap_s; //!< A map, containing all existing ClassIdentifiers175 176 }; 176 177 … … 282 283 { 283 284 this->name_ = name; 284 this-> identifierMap_s[name] = this;285 this->getIdentifierMap().insert(std::pair<std::string, Identifier*>(name, this)); 285 286 this->bSetName_ = true; 286 287 }
Note: See TracChangeset
for help on using the changeset viewer.