Changeset 9691 in orxonox.OLD for branches/new_class_id/src/lib/util
- Timestamp:
- Aug 22, 2006, 11:45:21 PM (18 years ago)
- Location:
- branches/new_class_id/src/lib/util/loading
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/new_class_id/src/lib/util/loading/factory.cc
r9686 r9691 165 165 return NULL; 166 166 } 167 168 169 /** 170 * @brief Creates a new Object of type classID 171 * @param classID the ClassID to match for the newly created Object 172 * @returns a new Object of Type classID on match, NULL otherwise 173 */ 174 BaseObject* Factory::fabricate(const NewClassID& classID) 175 { 176 Factory::fabricate(classID.id()); 177 } -
branches/new_class_id/src/lib/util/loading/factory.h
r9686 r9691 47 47 48 48 static BaseObject* fabricate(const std::string& className); 49 static BaseObject* fabricate(const NewClassID& classID); 49 50 static BaseObject* fabricate(int classID); 50 51 static BaseObject* fabricate(const TiXmlElement* root = NULL);
Note: See TracChangeset
for help on using the changeset viewer.