Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 22, 2005, 2:15:45 AM (19 years ago)
Author:
bensch
Message:

orxonox/branches/levelLoader: description works

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/levelLoader/src/util/loading/load_param.h

    r4254 r4255  
    162162  LoadParamDescription(const char* paramName);
    163163  ~LoadParamDescription(void);
     164
     165  void setDescription(const char* descriptionText);
     166  /** \returns the descriptionString */
     167  const char* getDescription(void) { return this->description;};
     168
     169  void print(void) const;
    164170 private:
    165171  char* paramName;
    166172  int paramCount;
    167173  char** types;
     174  const char* description;
    168175};
    169176
     
    178185  LoadParamDescription* addParam(const char* paramName);
    179186
    180   static bool parametersDescription;
    181  
     187  static void printAll(void);
     188
     189  static bool parametersDescription; 
    182190  static tList<LoadClassDescription>* classList;
    183191 private:
     
    189197class BaseLoadParam
    190198{
     199 public:
     200  void describe(const char* descriptionText);
     201
    191202 protected:
    192203  BaseLoadParam(BaseObject* object, const char* paramName, int paramCount, ...);
    193   void describe(const char* descriptionText);
    194204
    195205 protected:
Note: See TracChangeset for help on using the changeset viewer.