Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8350 in orxonox.OLD for trunk/src/lib/lang


Ignore:
Timestamp:
Jun 13, 2006, 10:01:55 PM (19 years ago)
Author:
bensch
Message:

fixed out some warnings

File:
1 edited

Legend:

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

    r8035 r8350  
    2121
    2222//! A class all other classes are derived from
    23 class BaseObject {
     23class BaseObject
     24{
    2425
    25  public:
    26    BaseObject (const std::string& objectName = "");
     26public:
     27  BaseObject (const std::string& objectName = "");
    2728
    2829  virtual ~BaseObject ();
     
    4950  bool operator==(ClassID classID) { return this->isA(classID); };
    5051
    51  protected:
    52    void setClassID(ClassID classID, const std::string& className);
    53    std::string        objectName;        //!< The name of this object
     52protected:
     53  void setClassID(ClassID classID, const std::string& className);
    5454
    55  private:
    56     std::string        className;        //!< the name of the class
    57     long               classID;          //!< this is the id from the class_id.h enumeration
    58     ClassID            leafClassID;      //!< The Leaf Class ID
     55protected:
     56  std::string        objectName;       //!< The name of this object
    5957
    60     ClassList*         classList;        //!< Pointer to the ClassList this Object is inside of
     58private:
    6159
    62     TiXmlNode*         xmlElem;          //!< The XML Element with wich this Object was loaded(saved).
     60  std::string        className;        //!< the name of the class
     61  long               classID;          //!< this is the id from the class_id.h enumeration
     62  ClassID            leafClassID;      //!< The Leaf Class ID
     63
     64  ClassList*         classList;        //!< Pointer to the ClassList this Object is inside of
     65
     66  TiXmlNode*         xmlElem;          //!< The XML Element with wich this Object was loaded(saved).
    6367};
    6468
Note: See TracChangeset for help on using the changeset viewer.