Changeset 6275 in orxonox.OLD for branches/network/src/lib/lang
- Timestamp:
- Dec 24, 2005, 2:15:49 PM (19 years ago)
- Location:
- branches/network/src/lib/lang
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/lib/lang/base_object.cc
r6257 r6275 75 75 this->classID |= (long)classID; 76 76 this->className = className; 77 this->realClassID = classID;78 77 79 78 ClassList::addToClassList(this, classID, className); -
branches/network/src/lib/lang/base_object.h
r6257 r6275 34 34 /** @returns the classID of the corresponding Object */ 35 35 inline int getClassID() const { return this->classID; }; 36 inline int getRealClassID() const { return this->realClassID; };36 inline ClassID getLeafID() { return (ClassID)(this->classID & CL_MASK_LOWLEVEL_CLASS); } 37 37 38 38 bool isA (ClassID classID) const; … … 50 50 const char* className; //!< the name of the class 51 51 long classID; //!< this is the id from the class_id.h enumeration 52 long realClassID; //!< classID which can be used with factory53 52 char* objectName; //!< The name of this object 54 53 };
Note: See TracChangeset
for help on using the changeset viewer.