Changeset 9767 in orxonox.OLD for branches/new_class_id/src/lib/util/loading/load_param_class_description.h
- Timestamp:
- Sep 19, 2006, 5:58:08 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/new_class_id/src/lib/util/loading/load_param_class_description.h
r9765 r9767 35 35 ~LoadParamClassDescription(); 36 36 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; } 43 40 44 41 static void deleteAllDescriptions(); 42 43 45 44 46 45 static void printAll(const std::string& fileName = ""); … … 52 51 typedef std::set<LoadParamDescription> ParamDescriptionSet; 53 52 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. 57 54 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 57 private: 58 std::string _className; //!< name of the class 59 ParamDescriptionSet _parameters; //!< List of parameters this class knows. 59 60 }; 60 61
Note: See TracChangeset
for help on using the changeset viewer.