Changeset 715 for code/branches/FICN/src/orxonox/core/ClassFactory.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/ClassFactory.h
r708 r715 36 36 #define _ClassFactory_H__ 37 37 38 #include <string> 39 38 40 #include "CorePrereqs.h" 39 41 40 #include "misc/String.h"41 42 #include "Factory.h" 42 43 #include "Identifier.h" … … 53 54 { 54 55 public: 55 static bool create(const String& name);56 static bool create(const std::string& name); 56 57 BaseObject* fabricate(); 57 58 … … 69 70 */ 70 71 template <class T> 71 bool ClassFactory<T>::create(const String& name)72 bool ClassFactory<T>::create(const std::string& name) 72 73 { 73 74 COUT(4) << "*** Create entry for " << name << " in Factory." << std::endl;
Note: See TracChangeset
for help on using the changeset viewer.