Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 19, 2006, 5:58:08 PM (18 years ago)
Author:
bensch
Message:

compiles again for real… this time it is true :)

File:
1 edited

Legend:

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

    r9765 r9767  
    2323 */
    2424LoadParamDescription::LoadParamDescription(const std::string& paramName)
    25   : name(paramName)
     25  : _name(paramName)
    2626{ }
    2727
     
    3838void LoadParamDescription::setDescription(const std::string& descriptionText)
    3939{
    40   this->description = descriptionText;
     40  this->_description = descriptionText;
    4141}
    4242
     
    4646void LoadParamDescription::print() const
    4747{
    48   PRINT(3)(" <%s>", this->name.c_str());
    49   for (unsigned int i = 0; i < this->parameterCount; i++)
     48  PRINT(3)(" <%s>", this->_name.c_str());
     49  for (unsigned int i = 0; i < this->_parameterCount; i++)
    5050  {
    5151    if (i > 0)
     
    8383//     }
    8484  }
    85   PRINT(3)("</%s>", this->name.c_str());
    86   if (!this->description.empty())
    87     PRINT(3)(" -- %s", this->description.c_str());
     85  PRINT(3)("</%s>", this->_name.c_str());
     86  if (!this->_description.empty())
     87    PRINT(3)(" -- %s", this->_description.c_str());
    8888  // default values
    89   if (this->parameterCount > 0)
     89  if (this->_parameterCount > 0)
    9090  {
    9191    PRINT(3)(" (Default: ");
    92     for (unsigned int i = 0; i < this->parameterCount; i++)
     92    for (unsigned int i = 0; i < this->_parameterCount; i++)
    9393    {
    9494      if (i > 0)
    9595        PRINT(3)(", ");
    96       if (this->types[i] == "string")
     96      if (this->_types[i] == "string")
    9797      { // leave brackets !!
    98         PRINT(3)("\"%s\"", this->defaultValues[i].c_str());
     98        PRINT(3)("\"%s\"", this->_defaultValues[i].c_str());
    9999      }
    100100      else
    101101      {
    102         PRINT(3)("%s", this->defaultValues[i].c_str());
     102        PRINT(3)("%s", this->_defaultValues[i].c_str());
    103103      }
    104104    }
Note: See TracChangeset for help on using the changeset viewer.