X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FConfig%2FConfig_WidgetReader.h;h=55ce4e932b06183b0c8aa35ebc7bacb53af05539;hb=2be2a749ec2a157df431f04753ded237944894b1;hp=58fd904b062024a8658865e7b75d67f0e5748f3e;hpb=24fd5aa4e000a03e484c5d4c544e5e08b08a747f;p=modules%2Fshaper.git diff --git a/src/Config/Config_WidgetReader.h b/src/Config/Config_WidgetReader.h index 58fd904b0..55ce4e932 100644 --- a/src/Config/Config_WidgetReader.h +++ b/src/Config/Config_WidgetReader.h @@ -8,27 +8,29 @@ #ifndef CONFIG_WIDGETREADER_H_ #define CONFIG_WIDGETREADER_H_ -#include +#include #include #include #include - -class CONFIG_EXPORT Config_WidgetReader: public Config_XMLReader +class Config_WidgetReader : public Config_XMLReader { -public: - Config_WidgetReader(const std::string& theXmlFile); - virtual ~Config_WidgetReader(); + public: + CONFIG_EXPORT Config_WidgetReader(const std::string& theXmlFile);CONFIG_EXPORT virtual ~Config_WidgetReader(); - std::string featureWidgetCfg(std::string theFeatureName); + CONFIG_EXPORT std::string featureWidgetCfg(const std::string& theFeatureName);CONFIG_EXPORT std::string featureDescription( + const std::string& theFeatureName); -protected: + protected: void processNode(xmlNodePtr theNode); bool processChildren(xmlNodePtr theNode); + std::string dumpNode(xmlNodePtr theNode); + void resolveSourceNodes(xmlNodePtr theNode); -private: + private: std::map myWidgetCache; + std::map myDescriptionCache; };