Changeset 9771 in orxonox.OLD for branches/new_class_id/src/lib/util/loading/load_param.h
- Timestamp:
- Sep 19, 2006, 11:33:27 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/new_class_id/src/lib/util/loading/load_param.h
r9770 r9771 92 92 93 93 protected: 94 void describe(const ClassID& id, const std::string& descriptionText); 94 void describe(const ClassID& classID, const std::string& descriptionText); 95 void setDescriptionValues(const ClassID& classID, unsigned int paramCount, const MultiType* const defaultValues, bool retVal = false); 95 96 96 private: 97 const std::string& grabParameter(const TiXmlElement* root, const std::string& parameterName); 98 const TiXmlElement* grabParameterElement(const TiXmlElement* root, const std::string& parameterName); 99 97 public: 98 static std::string grabParameter(const TiXmlElement* root, const std::string& parameterName); 99 static const TiXmlElement* grabParameterElement(const TiXmlElement* root, const std::string& parameterName); 100 100 101 101 protected: … … 112 112 public: 113 113 /** 114 * @brief generates a LoadParam based on 115 * @param root the Root Element to load onto the object. 116 * @param paramName the Parameter name that is loaded. 117 * @param object the Object to apply the changes on. 118 * @param executor the Functional Object, that actually executes the function Call. 114 * @brief generates a LoadParam based on: 115 * @param root the Root Element to load onto the object. @param paramName the Parameter name that is loaded. 116 * @param object the Object to apply the changes on. @param executor the Functional Object, that actually executes the function Call. 119 117 * @param inLoadCycle If we are inside of a loading cycle. (Loading will be different here) 120 118 */ … … 139 137 } 140 138 } 139 this->setDescriptionValues(OperateClass::staticClassID(), executor->getParamCount(), executor->getDefaultValues(), executor->hasRetVal()); 141 140 delete this->executor; 142 141 } … … 159 158 }; 160 159 161 // helper function162 163 164 160 #endif /* _LOAD_PARAM_H */
Note: See TracChangeset
for help on using the changeset viewer.