X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FConfig%2FConfig_WidgetReader.h;h=ab60f4278d7dd63fe6163c9d4a2903445f8ab82a;hb=3c2d6c409d80a9e63a593e775fb2b35f2497ee1b;hp=c9c2f060267d353e9356dcdfaf6794190abde845;hpb=3985b767e74385e51d1b503d2c97d3bb1e3f6faa;p=modules%2Fshaper.git diff --git a/src/Config/Config_WidgetReader.h b/src/Config/Config_WidgetReader.h index c9c2f0602..ab60f4278 100644 --- a/src/Config/Config_WidgetReader.h +++ b/src/Config/Config_WidgetReader.h @@ -1,3 +1,5 @@ +// Copyright (C) 2014-20xx CEA/DEN, EDF R&D + /* * Config_WidgetReader.h * @@ -14,23 +16,21 @@ #include #include - -class Config_WidgetReader: public Config_XMLReader +class Config_WidgetReader : public Config_XMLReader { -public: - CONFIG_EXPORT Config_WidgetReader(const std::string& theXmlFile); - CONFIG_EXPORT virtual ~Config_WidgetReader(); + public: + CONFIG_EXPORT Config_WidgetReader(const std::string& theXmlFile);CONFIG_EXPORT virtual ~Config_WidgetReader(); - CONFIG_EXPORT std::string featureWidgetCfg(const std::string& theFeatureName); - CONFIG_EXPORT std::string featureDescription(const 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;