|
rad 8.2.0
|
#include <SCXMLWriterImpl.h>
Public Member Functions | |
| SCXMLWriterImpl () | |
| ~SCXMLWriterImpl () override=default | |
| std::string | write (StateMachine &sm) override |
| void | write (const std::string &filename, StateMachine &sm) override |
Public Member Functions inherited from scxml4cpp::SCXMLWriter | |
| virtual | ~SCXMLWriter ()=default |
Interface class for writing an SCXML document from the State Machine in memory representation.
| scxml4cpp::SCXMLWriterImpl::SCXMLWriterImpl | ( | ) |
|
overridedefault |
|
overridevirtual |
Write an SCXML document to file. In case of errors, exception is thrown.
| filename | File containing the SCXML document. |
| sm | SCXML model to be saved to file. |
Implements scxml4cpp::SCXMLWriter.
|
overridevirtual |
Write an SCXML document to string. In case of errors, exception is thrown.
| sm | SCXML model to be converted to string. |
Implements scxml4cpp::SCXMLWriter.