Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6276 in orxonox.OLD for trunk/src/lib


Ignore:
Timestamp:
Dec 24, 2005, 2:28:00 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: cleaner base_object-stuff

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/lang/base_object.cc

    r6077 r6276  
    3232BaseObject::BaseObject(const TiXmlElement* root)
    3333{
    34   this->className = NULL;
     34  this->className = "BaseObject";
    3535  this->classID = CL_BASE_OBJECT;
    3636
     
    7373void BaseObject::setClassID(ClassID classID, const char* className)
    7474{
     75  //  printf("%s(0x%.8X)->%s(0x%.8X)\n", this->className, this->classID, className, classID);
     76  assert (!(this->classID & classID));
     77
    7578  this->classID |= (long)classID;
    7679  this->className = className;
Note: See TracChangeset for help on using the changeset viewer.