rad 6.2.0
|
#include <SCXMLReader.h>
Public Member Functions | |
virtual | ~SCXMLReader ()=default |
virtual bool | read (const std::string &filename, std::list< Action * > *actions, std::list< Activity * > *activities, StateMachine &sm)=0 |
virtual bool | read (const std::string &input, const std::string &id, std::list< Action * > *actions, std::list< Activity * > *activities, StateMachine &sm)=0 |
Interface class for parsing an SCXML document.
|
virtualdefault |
|
pure virtual |
Read an SCXML document from file.
filename | File containing the SCXML document. |
actions | List of Action objects to be used by the given SCXML document. |
activities | List of Activity objects to be used by the given SCXML document. |
Implemented in scxml4cpp::DOMSCXMLReader.
|
pure virtual |
Read an SCXML document from string.
input | String containing the SCXML document. |
id | String used as identifier for the SCXML document. |
actions | List of Action objects to be used by the given SCXML document. |
activities | List of Activity objects to be used by the given SCXML document. |
Implemented in scxml4cpp::DOMSCXMLReader.