Changeset 9771 in orxonox.OLD for branches/new_class_id/src/lib/util/loading/load_param.cc
- Timestamp:
- Sep 19, 2006, 11:33:27 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/new_class_id/src/lib/util/loading/load_param.cc
r9770 r9771 49 49 classID.name().c_str(), classID.id(), paramName.c_str(), descriptionText.c_str()); 50 50 51 // LoadParamDescription 52 53 /// TODO REIMPLEMENT 54 /* if (LoadParamClassDescription::parametersDescription && this->paramDesc && this->paramDesc->getDescription().empty()) 55 { 56 this->paramDesc->setDescription(descriptionText); 57 }*/ 51 LoadParamClassDescription::describeClass(classID, paramName, descriptionText); 58 52 } 59 53 60 61 54 /** 55 * @brief sets the Values of the Description to a usefull text. 56 */ 57 void LoadParamBase::setDescriptionValues(const ClassID& classID, unsigned int paramCount, const MultiType* const defaultValues, bool retVal) 58 { 59 LoadParamClassDescription::setValuesOf(classID, paramName, paramCount, defaultValues, retVal); 60 } 62 61 63 62 … … 70 69 * @returns the Value of the parameter if found, NULL otherwise 71 70 */ 72 const std::string&LoadParamBase::grabParameter(const TiXmlElement* root, const std::string& parameterName)71 std::string LoadParamBase::grabParameter(const TiXmlElement* root, const std::string& parameterName) 73 72 { 74 73 const TiXmlElement* const element = grabParameterElement(root, parameterName);
Note: See TracChangeset
for help on using the changeset viewer.