13 #ifndef mitkXML2EventParser_h
14 #define mitkXML2EventParser_h
20 #include <vtkXMLParser.h>
87 void StartElement(
const char *elementName,
const char **atts)
override;
120 PropertyList::Pointer m_EventPropertyList;
Generates a list of InteractionEvents by parsing an XML file.
std::string ReadXMLStringAttribute(const std::string &name, const char **atts)
Read a string attribute value from the XML attribute array.
std::vector< mitk::InteractionEvent::Pointer > EventContainerType
Container type for the parsed interaction events.
void EndElement(const char *elementName) override
Handle the end of an XML element during parsing.
bool ReadXMLBooleanAttribute(const std::string &name, const char **atts)
Read a boolean attribute value from the XML attribute array.
XML2EventParser(std::istream &inputStream)
Construct an InteractionEventList object from an input stream.
XML2EventParser(const std::string &filename, const us::Module *module=nullptr)
Construct an InteractionEventList object from an XML resource file.
void StartElement(const char *elementName, const char **atts) override
Handle the start of an XML element during parsing.
~XML2EventParser() override
Destructor.
EventContainerType GetInteractions()
Get the list of parsed interaction events.
Represents a CppMicroServices module.
Find image slices visible on a given plane.