Changeset 708 for code/branches/FICN/src/orxonox/core/Factory.cc
- Timestamp:
- Dec 28, 2007, 10:30:29 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/FICN/src/orxonox/core/Factory.cc
r698 r708 42 42 @param name The name of the wanted Identifier 43 43 */ 44 Identifier* Factory::getIdentifier(const std::string& name)44 Identifier* Factory::getIdentifier(const String& name) 45 45 { 46 46 return getFactoryPointer()->identifierStringMap_[name]; … … 61 61 @param identifier The identifier to add 62 62 */ 63 void Factory::add(const std::string& name, Identifier* identifier)63 void Factory::add(const String& name, Identifier* identifier) 64 64 { 65 65 getFactoryPointer()->identifierStringMap_[name] = identifier; … … 85 85 { 86 86 COUT(3) << "*** Factory -> Create class-hierarchy" << std::endl; 87 std::map< std::string, Identifier*>::iterator it;87 std::map<String, Identifier*>::iterator it; 88 88 it = getFactoryPointer()->identifierStringMap_.begin(); 89 89 (*getFactoryPointer()->identifierStringMap_.begin()).second->startCreatingHierarchy();
Note: See TracChangeset
for help on using the changeset viewer.