Changeset 715 for code/branches/FICN/src/orxonox/core/Factory.h
- Timestamp:
- Dec 28, 2007, 11:33:10 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/FICN/src/orxonox/core/Factory.h
r708 r715 45 45 46 46 #include <map> 47 #include <string> 47 48 48 49 #include "CorePrereqs.h" 49 50 #include "misc/String.h"51 50 52 51 namespace orxonox … … 61 60 { 62 61 public: 63 static Identifier* getIdentifier(const String& name);62 static Identifier* getIdentifier(const std::string& name); 64 63 static Identifier* getIdentifier(const unsigned int id); 65 static void add(const String& name, Identifier* identifier);64 static void add(const std::string& name, Identifier* identifier); 66 65 static void changeNetworkID(Identifier* identifier, const unsigned int oldID, const unsigned int newID); 67 66 static void createClassHierarchy(); … … 74 73 ~Factory() {} // don't delete 75 74 76 std::map< String, Identifier*> identifierStringMap_; //!< The map, mapping the name with the Identifier75 std::map<std::string, Identifier*> identifierStringMap_; //!< The map, mapping the name with the Identifier 77 76 std::map<unsigned int, Identifier*> identifierNetworkIDMap_; //!< The map, mapping the network ID with the Identifier 78 77 };
Note: See TracChangeset
for help on using the changeset viewer.