Changeset 9767 in orxonox.OLD for branches/new_class_id/src/lib/util/loading/load_param_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_description.h
r9765 r9767 38 38 ~LoadParamDescription(); 39 39 40 bool operator==(const std::string& paramName) const { return this-> name == paramName; };41 bool operator==(const LoadParamDescription& paramDescr) const { return this-> name == paramDescr.name; };42 bool operator<(const LoadParamDescription& paramDescr) const { return this-> name < paramDescr.name; };40 bool operator==(const std::string& paramName) const { return this->_name == paramName; }; 41 bool operator==(const LoadParamDescription& paramDescr) const { return this->_name == paramDescr._name; }; 42 bool operator<(const LoadParamDescription& paramDescr) const { return this->_name < paramDescr._name; }; 43 43 44 44 void setDescription(const std::string& descriptionText); 45 45 /** @returns the descriptionString */ 46 const std::string& getDescription() { return this->description; };46 const std::string& description() { return this->_description; }; 47 47 48 48 void print() const; 49 49 50 50 private: 51 const std::string name; //!< The Name of the Parameter.52 unsigned int parameterCount; //!< The Count of parameters.53 std::string description; //!< A longer description about this function.51 const std::string _name; //!< The Name of the Parameter. 52 unsigned int _parameterCount; //!< The Count of parameters. 53 std::string _description; //!< A longer description about this function. 54 54 55 std::vector<std::string> types; 56 std::vector<std::string> defaultValues; 57 55 std::vector<std::string> _types; 56 std::vector<std::string> _defaultValues; 58 57 }; 59 58
Note: See TracChangeset
for help on using the changeset viewer.