|
rad 8.2.0
|
#include <SCXMLWriter.h>
Public Member Functions | |
| virtual | ~SCXMLWriter ()=default |
| virtual void | write (const std::string &filename, StateMachine &sm)=0 |
| virtual std::string | write (StateMachine &sm)=0 |
Interface class for writing an SCXML document from the State Machine in memory representation.
|
virtualdefault |
|
pure virtual |
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. |
Implemented in scxml4cpp::SCXMLWriterImpl.
|
pure virtual |
Write an SCXML document to string. In case of errors, exception is thrown.
| sm | SCXML model to be converted to string. |
Implemented in scxml4cpp::SCXMLWriterImpl.