Changeset 696 for code/branches/FICN/src/orxonox/core/Identifier.cc
- 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.cc
r691 r696 40 40 int Identifier::hierarchyCreatingCounter_s = 0; // Set the static member variable hierarchyCreatingCounter_s to zero 41 41 unsigned int Identifier::classIDcounter_s = 0; // Set the static member variable classIDcounter_s to zero 42 std::map<std::string, Identifier*> Identifier::identifierMap_s;43 42 44 43 /** … … 115 114 116 115 /** 116 @returns a reference to the Identifier map, containing all Identifiers. 117 */ 118 std::map<std::string, Identifier*>& Identifier::getIdentifierMap() 119 { 120 static std::map<std::string, Identifier*> identifierMapStaticReference = std::map<std::string, Identifier*>(); 121 return identifierMapStaticReference; 122 } 123 124 /** 117 125 @returns true, if the Identifier is at least of the given type. 118 126 @param identifier The identifier to compare with
Note: See TracChangeset
for help on using the changeset viewer.