Function extractFromSCXML

Function Documentation

bool extractFromSCXML(tinyxml2::XMLDocument &doc, const std::string fileName, std::string &rootName, std::vector<tinyxml2::XMLElement*> &elementsTransition, std::vector<tinyxml2::XMLElement*> &elementsSend)

Extract data from SCXML file (rootname, transition and send event elements)

Parameters:
  • doc – SCXML document object

  • fileName – file name of the SCXML file

  • rootName – name value of the root element of the SCXML file

  • elementsTransition – vector of transition event elements found in the SCXML file

  • elementsSend – vector of send event elements found in the SCXML file

Returns:

true

Returns:

false