Changeset 5915 in orxonox.OLD for trunk/src/lib/lang
- Timestamp:
- Dec 4, 2005, 3:34:36 PM (19 years ago)
- Location:
- trunk/src/lib/lang
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/lang/base_object.cc
r5791 r5915 112 112 else if (classID & CL_MASK_SUBSUPER_CLASS) 113 113 { 114 if (likely(((this->classID & CL_MASK_SUBSUPER_CLASS_ID ) == (this->classID & CL_MASK_SUBSUPER_CLASS_ID)) &&115 this->classID & classID & CL_MASK_SUBSUPER_CLASS_ID 2))114 if (likely(((this->classID & CL_MASK_SUBSUPER_CLASS_IDA) == (this->classID & CL_MASK_SUBSUPER_CLASS_IDA)) && 115 this->classID & classID & CL_MASK_SUBSUPER_CLASS_IDB)) 116 116 return true; 117 117 } -
trunk/src/lib/lang/class_list.h
r5885 r5915 46 46 static bool exists(const BaseObject* object, ClassID classID = CL_NULL); 47 47 48 void sendBack(std::list<BaseObject*>::const_iterator it); 49 48 50 static void whatIs(const BaseObject* object); 49 51 … … 51 53 static long StringToID(const char* className); 52 54 static void debug(unsigned int debugLevel = 0, long classID = CL_NULL); 53 static void debugS(const char* className = 0x0, unsigned int debugLevel = 0);55 static void debugS(const char* className = NULL, unsigned int debugLevel = 0); 54 56 55 57 inline bool operator==(ClassID classID) { return (this->classID == classID); };
Note: See TracChangeset
for help on using the changeset viewer.