Changeset 9764 in orxonox.OLD for branches/new_class_id/src
- Timestamp:
- Sep 19, 2006, 5:23:36 PM (18 years ago)
- 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 22 22 #define _LOAD_PARAM_DESCRIPTION_H 23 23 24 #include "base_object.h"25 24 #include <list> 25 #include <string> 26 26 27 27 // Forward Declaration // … … 47 47 48 48 private: 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 54 54 }; 55 56 57 55 58 56 59 //! A class for descriptions of a loadable module … … 72 75 73 76 private: 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 class77 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 77 80 78 std:: list<LoadParamDescription*>paramList; //!< List of parameters this class knows.81 std::vector<LoadParamDescription*> paramList; //!< List of parameters this class knows. 79 82 }; 80 83 -
branches/new_class_id/src/lib/util/loading/load_param_description.h
r9727 r9764 22 22 #define _LOAD_PARAM_DESCRIPTION_H 23 23 24 #include "base_object.h"25 24 #include <list> 25 #include <string> 26 26 27 27 // Forward Declaration // … … 47 47 48 48 private: 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 54 54 }; 55 56 57 55 58 56 59 //! A class for descriptions of a loadable module … … 72 75 73 76 private: 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 class77 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 77 80 78 std:: list<LoadParamDescription*>paramList; //!< List of parameters this class knows.81 std::vector<LoadParamDescription*> paramList; //!< List of parameters this class knows. 79 82 }; 80 83
Note: See TracChangeset
for help on using the changeset viewer.