Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4320 in orxonox.OLD for orxonox/trunk/src/lib/lang/base_object.cc


Ignore:
Timestamp:
May 27, 2005, 1:13:42 AM (19 years ago)
Author:
patrick
Message:

orxonox/trunk: now string name of a class works parallel to the int id representation and is only used for documentation purposes

File:
1 edited

Legend:

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

    r4318 r4320  
    4242}
    4343
     44void BaseObject::setClassID(int id, const char* className)
     45{
     46  this->id = id;
     47  this->className = className;
     48}
     49
    4450
    4551void BaseObject::setClassID (int id)
     
    4854}
    4955
     56void BaseObject::setClassName(const char* className)
     57{
     58  this->className = className;
     59}
    5060
    5161
Note: See TracChangeset for help on using the changeset viewer.