Changeset 6077 in orxonox.OLD for trunk/src/lib/lang/base_object.h
- Timestamp:
- Dec 13, 2005, 2:53:22 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/lang/base_object.h
r5791 r6077 35 35 inline int getClassID() const { return this->classID; }; 36 36 37 bool isA ( longclassID) const;37 bool isA (ClassID classID) const; 38 38 bool isA (const char* className) const; 39 39 void whatIs() const; 40 40 41 41 bool operator==(const char* objectName); 42 /** @param classID comparer for a ClassID @returns true on match, false otherwise */ 43 bool operator==(ClassID classID) { return this->isA(classID); }; 42 44 43 45 protected:
Note: See TracChangeset
for help on using the changeset viewer.