Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 19, 2006, 11:33:27 PM (18 years ago)
Author:
bensch
Message:

first step in the direction of parameter descriptions… again

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/new_class_id/src/lib/util/loading/load_param.cc

    r9770 r9771  
    4949  classID.name().c_str(), classID.id(), paramName.c_str(), descriptionText.c_str());
    5050
    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);
    5852}
    5953
    60 
    61 
     54/**
     55 * @brief sets the Values of the Description to a usefull text.
     56 */
     57void LoadParamBase::setDescriptionValues(const ClassID& classID, unsigned int paramCount, const MultiType* const defaultValues, bool retVal)
     58{
     59  LoadParamClassDescription::setValuesOf(classID, paramName, paramCount, defaultValues, retVal);
     60}
    6261
    6362
     
    7069 * @returns the Value of the parameter if found, NULL otherwise
    7170*/
    72 const std::string& LoadParamBase::grabParameter(const TiXmlElement* root, const std::string& parameterName)
     71std::string LoadParamBase::grabParameter(const TiXmlElement* root, const std::string& parameterName)
    7372{
    7473  const TiXmlElement* const element = grabParameterElement(root, parameterName);
Note: See TracChangeset for help on using the changeset viewer.