Changeset 708 for code/branches/FICN/src/orxonox/core/ClassFactory.h
- Timestamp:
- Dec 28, 2007, 10:30:29 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/FICN/src/orxonox/core/ClassFactory.h
r704 r708 36 36 #define _ClassFactory_H__ 37 37 38 #include <string>39 40 38 #include "CorePrereqs.h" 41 39 40 #include "misc/String.h" 42 41 #include "Factory.h" 43 42 #include "Identifier.h" … … 54 53 { 55 54 public: 56 static bool create(const std::string& name);55 static bool create(const String& name); 57 56 BaseObject* fabricate(); 58 57 … … 70 69 */ 71 70 template <class T> 72 bool ClassFactory<T>::create(const std::string& name)71 bool ClassFactory<T>::create(const String& name) 73 72 { 74 73 COUT(4) << "*** Create entry for " << name << " in Factory." << std::endl;
Note: See TracChangeset
for help on using the changeset viewer.