Changeset 4256 in orxonox.OLD for orxonox/branches/levelLoader/src/util/loading/load_param.h
- Timestamp:
- May 22, 2005, 2:31:08 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/levelLoader/src/util/loading/load_param.h
r4255 r4256 155 155 156 156 157 //! A class that handles the description of loadable parameters 157 158 class LoadParamDescription 158 159 { … … 169 170 void print(void) const; 170 171 private: 171 char* paramName; 172 int paramCount; 173 char** types; 174 c onst char* description;172 char* paramName; //!< The name of the parameter 173 int paramCount; //!< The count of parameters 174 char** types; //!< What kind of parameters does this function take ?? 175 char* description; //!< A longer description about this function 175 176 }; 176 177 … … 187 188 static void printAll(void); 188 189 189 static bool parametersDescription; 190 static tList<LoadClassDescription>* classList; 190 static bool parametersDescription; //!< if parameter-description should be enabled. 191 static tList<LoadClassDescription>* classList; //!< a list, that holds all the loadable classes. (after one instance has been loaded) 191 192 private: 192 char* className; 193 tList<LoadParamDescription>* paramList; 193 char* className; //!< name of the class 194 tList<LoadParamDescription>* paramList; //!< List of parameters this class knows. 194 195 }; 195 196 … … 204 205 205 206 protected: 206 LoadClassDescription* classDesc; 207 LoadParamDescription* paramDesc; 208 }; 209 210 211 // derived template class207 LoadClassDescription* classDesc; //!< The LoadClassDescription of this LoadParameter 208 LoadParamDescription* paramDesc; //!< The LoadParameterDescription of this LoadParameter 209 }; 210 211 212 //! derived template class, so all the Classes can load something. 212 213 template<class T> class LoadParam : public BaseLoadParam 213 214 {
Note: See TracChangeset
for help on using the changeset viewer.