Go to the documentation of this file.
30 #include "../../StatechartViewerPlugin/model/State.h"
52 void parseXml(
const QString& xmlString);
78 getSubstateByInstanceName(
const QString& name)
const;
81 const QString& attributeName,
82 bool required =
true)
const;
87 bool hasSubstateByInstanceName(
const QString& name)
const;
103 const QString& nodeName;
104 const QByteArray nodeNameUtf8;
115 LocalException(
"Parsing the XML file failed: " + errorText)
122 return "armarx::exceptions::local::XmlReaderException";
XmlReader(Ice::CommunicatorPtr iceCommunicator, VariantInfoPtr info)
Creates a new XmlReader.
QList< EventPtr > EventList
void parseXml(const QString &xmlString)
Parses the given XML document and builds a State object (that can be retrieved using getRootState()).
std::shared_ptr< StateInstance > StateInstancePtr
armarx::statechartmodel::StatePtr getLoadedState() const
Returns the State object created by this XML reader.
QMap< QString, StateInstancePtr > StateInstanceMap
QMap< QString, StateParameterPtr > StateParameterMap
std::string name() const override
QList< TransitionPtr > TransitionList
Class representing a node of XML document.
Iterate over all child nodes with a certain name of a given XML node.
XmlReaderException(const std::string &errorText)
std::shared_ptr< VariantInfo > VariantInfoPtr
QList< ParameterMappingPtr > ParameterMappingList
std::shared_ptr< State > StatePtr
XML reader class used to build State objects from XML representations.
rapidxml::xml_node * getNext()
XmlNodeIterator(rapidxml::xml_node<> *parentNode, const QString &nodeName, bool required)