Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 19, 2006, 5:58:08 PM (18 years ago)
Author:
bensch
Message:

compiles again for real… this time it is true :)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/new_class_id/src/lib/util/loading/load_param_class_description.h

    r9765 r9767  
    3535  ~LoadParamClassDescription();
    3636
    37   bool operator==(const std::string& className) const { return this->className == className; };
    38   bool operator==(const LoadParamClassDescription& classDescr) const { return this->className == classDescr.className; };
    39   bool operator<(const LoadParamClassDescription& classDescr) const { return this->className < classDescr.className; }
    40 
    41   static LoadParamClassDescription* addClass(const std::string& className);
    42   LoadParamDescription* addParam(const std::string& paramName);
     37  bool operator==(const std::string& className) const { return this->_className == className; };
     38  bool operator==(const LoadParamClassDescription& classDescr) const { return this->_className == classDescr._className; };
     39  bool operator<(const LoadParamClassDescription& classDescr) const { return this->_className < classDescr._className; }
    4340
    4441  static void deleteAllDescriptions();
     42
     43
    4544
    4645  static void printAll(const std::string& fileName = "");
     
    5251  typedef std::set<LoadParamDescription>       ParamDescriptionSet;
    5352
    54   static bool                                  parametersDescription;  //!< if parameter-description should be enabled.
    55   static ClassDescriptionSet*                  classList;              //!< a list, that stores all the loadable classes. (after one instance has been loaded)
    56   std::string                                  className;              //!< name of the class
     53  static bool                                  _parametersDescription;  //!< if parameter-description should be enabled globally.
    5754
    58   ParamDescriptionSet                          parameters;              //!< List of parameters this class knows.
     55  static ClassDescriptionSet*                  _classList;              //!< a list, that stores all the loadable classes. (after one instance has been loaded)
     56
     57private:
     58  std::string                                  _className;              //!< name of the class
     59  ParamDescriptionSet                          _parameters;              //!< List of parameters this class knows.
    5960};
    6061
Note: See TracChangeset for help on using the changeset viewer.