Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 22, 2005, 3:11:10 AM (20 years ago)
Author:
bensch
Message:

orxonox/branches/levelLoader: minor… sleep-state

Location:
orxonox/branches/levelLoader/src/util/loading
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/levelLoader/src/util/loading/load_param.cc

    r4259 r4260  
    5555/**
    5656   \param descriptionText The text to set as a description for this Parameter
    57 */
    58 void BaseLoadParam::describe(const char* descriptionText)
     57   \returns a pointer to itself.
     58*/
     59BaseLoadParam* BaseLoadParam::describe(const char* descriptionText)
    5960{
    6061  if (LoadClassDescription::parametersDescription && this->paramDesc && !this->paramDesc->getDescription())
     
    6263      this->paramDesc->setDescription(descriptionText);
    6364    }
     65  return this;
    6466}
    6567
     
    207209   \brief prints out all loadable Classes, and their parameters
    208210*/
    209 void LoadClassDescription::printAll(void)
     211void LoadClassDescription::printAll(const char* fileName)
    210212{
    211213  PRINT(3)("===============================================================\n");
  • orxonox/branches/levelLoader/src/util/loading/load_param.h

    r4256 r4260  
    186186  LoadParamDescription* addParam(const char* paramName);
    187187
    188   static void printAll(void);
     188  static void printAll(const char* fileName = NULL);
    189189
    190190  static bool parametersDescription;             //!< if parameter-description should be enabled.
     
    199199{
    200200 public:
    201   void describe(const char* descriptionText);
     201  BaseLoadParam* describe(const char* descriptionText);
    202202
    203203 protected:
Note: See TracChangeset for help on using the changeset viewer.