13 #ifndef mitkParamapPresetsParser_h
14 #define mitkParamapPresetsParser_h
17 #include <vtkXMLParser.h>
20 #include <vtkSetGet.h>
35 Type(std::string value, std::string scheme) : codeValue(value), codeScheme(scheme){}
45 bool LoadPreset(
const std::string& fileName);
46 Type GetType(
const std::string& name);
58 void StartElement (
const char *elementName,
const char **atts)
override;
63 std::string ReadXMLStringAttribute(
const std::string& name,
const char **atts);
65 static const std::string PRESET;
66 static const std::string TYPE;
67 static const std::string CODE_VALUE;
68 static const std::string CODE_SCHEME;
70 std::string m_presetName;
72 std::string m_XmlFileName;