Changeset 146 for osgVisual/include/util
- Timestamp:
- Nov 4, 2010, 8:50:17 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
osgVisual/include/util/visual_util.h
r145 r146 221 221 222 222 /** 223 * \brief Parses for the XML node of the specified module.The caller has to clean up the xmlDoc and the parser, beside it returns NULL because the queried modules is not configured.223 * \brief Parses for the XML node of the specified module. The caller has to clean up the xmlDoc and the parser, beside it returns NULL because the queried modules is not configured. 224 224 * 225 225 * To clean up, call this two functions: … … 243 243 static xmlNode* getModuleXMLConfig(std::string configFilename, std::string moduleName, xmlDoc*& doc); 244 244 245 /** 246 * \brief Parses for the XML node of the scenery configuration. The caller has to clean up the xmlDoc and the parser, beside it returns NULL because the queried modules is not configured. 247 * 248 * @param configFilename : Config Filename to parse. 249 * @param doc : xmlDoc to use. Must be created outside that the caller can clean it up. 250 * @return : NULL on error, otherwise pointer to the xmlNode of the scenery configuration. 251 */ 252 static xmlNode* getSceneryXMLConfig(std::string configFilename, xmlDoc*& doc); 253 245 254 private: 246 255 /** … … 254 263 */ 255 264 static xmlNode* checkXMLNodeChildrenForModule(xmlNode* node, std::string moduleName); 265 266 /** 267 * \brief This functions checks a list of nodes and all of its children for the scenery configuration. 268 * 269 * @param node : Node to search in 270 * @return : NULL if the module configuration was not found, otherwise pointer to the XML Node with the configuration for the specified module. 271 */ 272 static xmlNode* checkXMLNodeChildrenForScenery(xmlNode* node); 256 273 }; 257 274
Note: See TracChangeset
for help on using the changeset viewer.