#include <mitkXML2EventParser.h>
Definition at line 38 of file mitkXML2EventParser.h.
◆ EventContainerType
◆ XML2EventParser() [1/2]
mitk::XML2EventParser::XML2EventParser |
( |
const std::string & |
filename, |
|
|
const us::Module * |
module = nullptr |
|
) |
| |
Construct an InteractionEventList object based on a XML configuration file.
Uses the specified resource file containing an XML event configuration to construct an EventConfig object. If the resource is invalid, the created EventConfig object will also be invalid.
- Parameters
-
filename | The resource name relative to the Interactions resource folder. |
module | |
◆ XML2EventParser() [2/2]
mitk::XML2EventParser::XML2EventParser |
( |
std::istream & |
inputStream | ) |
|
Construct an InteractionEventList object based on a XML configuration file.
Uses the specified istream referring to a file containing an XML event configuration to construct an EventConfig object. If the resource is invalid, the created EventConfig object will also be invalid.
- Parameters
-
inputStream | std::ifstream to XML configuration file |
◆ ~XML2EventParser()
mitk::XML2EventParser::~XML2EventParser |
( |
| ) |
|
|
inlineoverride |
◆ EndElement()
void mitk::XML2EventParser::EndElement |
( |
const char * |
elementName | ) |
|
|
overrideprotected |
◆ GetInteractions()
◆ ReadXMLBooleanAttribute()
bool mitk::XML2EventParser::ReadXMLBooleanAttribute |
( |
const std::string & |
name, |
|
|
const char ** |
atts |
|
) |
| |
|
protected |
◆ ReadXMLStringAttribute()
std::string mitk::XML2EventParser::ReadXMLStringAttribute |
( |
const std::string & |
name, |
|
|
const char ** |
atts |
|
) |
| |
|
protected |
◆ StartElement()
void mitk::XML2EventParser::StartElement |
( |
const char * |
elementName, |
|
|
const char ** |
atts |
|
) |
| |
|
overrideprotected |
The documentation for this class was generated from the following file: