Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9764 in orxonox.OLD for branches/new_class_id/src/lib


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

new load_param_descriptions

Location:
branches/new_class_id/src/lib/util/loading
Files:
1 edited
2 copied

Legend:

Unmodified
Added
Removed
  • branches/new_class_id/src/lib/util/loading/load_param_class_description.h

    r9760 r9764  
    2222#define _LOAD_PARAM_DESCRIPTION_H
    2323
    24 #include "base_object.h"
    2524#include <list>
     25#include <string>
    2626
    2727// Forward Declaration //
     
    4747
    4848private:
    49   std::string   paramName;             //!< The name of the parameter.
    50   int           paramCount;            //!< The count of parameters.
    51   int*          types;                 //!< What kind of parameters does this function take ??
    52   std::string   description;           //!< A longer description about this function.
    53   char**        defaultValues;         //!< The 'Default Values'. @TODO MAKE THIS A MULTITYPE
     49  std::string                description;           //!< A longer description about this function.
     50
     51  std::vector<std::string>   parameters;
     52  std::vector<std::string>   defaultValues;
     53
    5454};
     55
     56
     57
    5558
    5659//! A class for descriptions of a loadable module
     
    7275
    7376private:
    74   static bool                              parametersDescription;  //!< if parameter-description should be enabled.
    75   static std::list<LoadClassDescription*>* classList;              //!< a list, that stores all the loadable classes. (after one instance has been loaded)
    76   std::string                              className;              //!< name of the class
     77  static bool                                  parametersDescription;  //!< if parameter-description should be enabled.
     78  static std::vector<LoadClassDescription*>*  classList;              //!< a list, that stores all the loadable classes. (after one instance has been loaded)
     79  std::string                                  className;              //!< name of the class
    7780
    78   std::list<LoadParamDescription*>         paramList;              //!< List of parameters this class knows.
     81  std::vector<LoadParamDescription*>           paramList;              //!< List of parameters this class knows.
    7982};
    8083
  • branches/new_class_id/src/lib/util/loading/load_param_description.h

    r9727 r9764  
    2222#define _LOAD_PARAM_DESCRIPTION_H
    2323
    24 #include "base_object.h"
    2524#include <list>
     25#include <string>
    2626
    2727// Forward Declaration //
     
    4747
    4848private:
    49   std::string   paramName;             //!< The name of the parameter.
    50   int           paramCount;            //!< The count of parameters.
    51   int*          types;                 //!< What kind of parameters does this function take ??
    52   std::string   description;           //!< A longer description about this function.
    53   char**        defaultValues;         //!< The 'Default Values'. @TODO MAKE THIS A MULTITYPE
     49  std::string                description;           //!< A longer description about this function.
     50
     51  std::vector<std::string>   parameters;
     52  std::vector<std::string>   defaultValues;
     53
    5454};
     55
     56
     57
    5558
    5659//! A class for descriptions of a loadable module
     
    7275
    7376private:
    74   static bool                              parametersDescription;  //!< if parameter-description should be enabled.
    75   static std::list<LoadClassDescription*>* classList;              //!< a list, that stores all the loadable classes. (after one instance has been loaded)
    76   std::string                              className;              //!< name of the class
     77  static bool                                  parametersDescription;  //!< if parameter-description should be enabled.
     78  static std::vector<LoadClassDescription*>*  classList;              //!< a list, that stores all the loadable classes. (after one instance has been loaded)
     79  std::string                                  className;              //!< name of the class
    7780
    78   std::list<LoadParamDescription*>         paramList;              //!< List of parameters this class knows.
     81  std::vector<LoadParamDescription*>           paramList;              //!< List of parameters this class knows.
    7982};
    8083
Note: See TracChangeset for help on using the changeset viewer.