Changeset 9757 in orxonox.OLD for branches/new_class_id/src/lib/lang/class_id.h
- Timestamp:
- Sep 18, 2006, 10:06:19 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/new_class_id/src/lib/lang/class_id.h
r9716 r9757 61 61 public: 62 62 /** @returns the NullClass' ID. */ 63 static const ClassID& classID() { return NullClass::_classID; }63 static const ClassID& staticClassID() { return NullClass::_classID; } 64 64 /** @param id the ID to acquire @param name the name to acquire @brief acquires the ID of this Class */ 65 65 static void acquireID(const int*& id, const std::string*& name) { id = &_nullID; name = &_nullName; }; … … 69 69 70 70 private: 71 static ClassID _classID; //!< The NullClass' ID71 static ClassID _classID; //!< The NullClass' ID 72 72 static const std::string _nullName; //!< The NullClass' Name ("NullClass") 73 73 static int _nullID; //!< The NullClass' ID
Note: See TracChangeset
for help on using the changeset viewer.