- Timestamp:
- Jun 13, 2005, 8:48:27 PM (19 years ago)
- Location:
- orxonox/trunk/src/util/loading
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/util/loading/load_param.cc
r4624 r4625 56 56 if (LoadClassDescription::parametersDescription) 57 57 { 58 //! \todo this must only be done once for each class. 59 // locating the class 58 // locating the class 60 59 this->classDesc = LoadClassDescription::addClass(object->getClassName()); 61 60 … … 222 221 if (i > 0) 223 222 PRINT(3)(", "); 224 PRINT(3)("%s", this->defaultValues[i]); 223 if (!strcmp(this->types[i], l_STRING_NAME)) 224 { // leave brackets !! 225 PRINT(3)("\"%s\"", this->defaultValues[i]); 226 } 227 else 228 { 229 PRINT(3)("%s", this->defaultValues[i]); 230 } 225 231 } 226 232 PRINT(3)(")"); -
orxonox/trunk/src/util/loading/load_param.h
r4624 r4625 213 213 // Pointer TYPE 214 214 /** 215 \brief a Macro to easily implement many different Constructors for the LoadParam-Class with 1argument215 \brief a Macro to easily implement many different Constructors for the LoadParam-Class with one Pointer argument 216 216 \param type1 The type of the Pointer 217 217 */ … … 346 346 347 347 LoadParam(const TiXmlElement* root, const char* paramName, T* pt2Object, void(T::*function)(const TiXmlElement*), bool multi = false) 348 : BaseLoadParam(root, pt2Object, paramName, 1, multi, NULL, "XML -Element")348 : BaseLoadParam(root, pt2Object, paramName, 1, multi, NULL, "XML") 349 349 { 350 350 if (root != NULL)
Note: See TracChangeset
for help on using the changeset viewer.