Ignore:
Timestamp:
Nov 4, 2010, 8:50:17 PM (14 years ago)
Author:
Torben Dannhauer
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • osgVisual/include/util/visual_util.h

    r145 r146  
    221221
    222222        /**
    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.
    224224         *
    225225         * To clean up, call this two functions:
     
    243243        static xmlNode* getModuleXMLConfig(std::string configFilename, std::string moduleName, xmlDoc*& doc);
    244244
     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
    245254private:
    246255        /**
     
    254263         */
    255264        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);
    256273};
    257274
Note: See TracChangeset for help on using the changeset viewer.