Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
refs #98 - Default color for constraints
[modules/shaper.git]
/
src
/
Config
/
Config_WidgetReader.h
diff --git
a/src/Config/Config_WidgetReader.h
b/src/Config/Config_WidgetReader.h
index cfc1519a56b62fcc46eafeaeb39e489d3fba599d..55ce4e932b06183b0c8aa35ebc7bacb53af05539 100644
(file)
--- a/
src/Config/Config_WidgetReader.h
+++ b/
src/Config/Config_WidgetReader.h
@@
-8,28
+8,27
@@
#ifndef CONFIG_WIDGETREADER_H_
#define CONFIG_WIDGETREADER_H_
#ifndef CONFIG_WIDGETREADER_H_
#define CONFIG_WIDGETREADER_H_
-#include <Config.h>
+#include <Config
_def
.h>
#include <Config_XMLReader.h>
#include <map>
#include <string>
#include <Config_XMLReader.h>
#include <map>
#include <string>
-
-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 processNode(xmlNodePtr theNode);
bool processChildren(xmlNodePtr theNode);
std::string dumpNode(xmlNodePtr theNode);
+ void resolveSourceNodes(xmlNodePtr theNode);
-private:
+
private:
std::map<std::string, std::string> myWidgetCache;
std::map<std::string, std::string> myDescriptionCache;
std::map<std::string, std::string> myWidgetCache;
std::map<std::string, std::string> myDescriptionCache;