Changeset 9776 in orxonox.OLD for branches/new_class_id/src/lib/util/loading/load_param_class_description.h
- Timestamp:
- Sep 20, 2006, 12:17:44 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/new_class_id/src/lib/util/loading/load_param_class_description.h
r9775 r9776 34 34 public: 35 35 LoadParamClassDescription(const std::string& className = ""); 36 ~LoadParamClassDescription();37 36 37 //! Compares a LoadParamClassDescription with a String. 38 38 bool operator==(const std::string& className) const { return this->_className == className; }; 39 //! Compares two LoadParamClassDescription with each other 39 40 bool operator==(const LoadParamClassDescription& classDescr) const { return this->_className == classDescr._className; }; 41 //! Compares two LoadParamClassDescription with each other, using the less operator 40 42 bool operator<(const LoadParamClassDescription& classDescr) const { return this->_className < classDescr._className; } 41 43 … … 50 52 bool retVal = false); 51 53 52 54 /** @param createThem: if the Parameters should be created/stored. */ 53 55 static void createDescriptions(bool createThem) { _createParametersDescription = createThem; }; 56 /** @returns if the Parameters are created/stored. */ 54 57 static bool createsDescriptions() { return _createParametersDescription; }; 55 58 … … 59 62 60 63 private: 64 //! A Type definition for the Map of Class Descriptions 61 65 typedef std::map<ClassID, LoadParamClassDescription> ClassDescriptionMap; 66 //! A type definition for the Map of Parameter Descriptions inside of Class-descriptions. 62 67 typedef std::map<std::string, LoadParamDescription> ParamDescriptionMap; 63 68
Note: See TracChangeset
for help on using the changeset viewer.