KDStateMachineEditor API Documentation 2.1
Loading...
Searching...
No Matches
Public Member Functions | List of all members
KDSME::ScxmlImporter Class Reference

#include <scxmlimporter.h>

Inheritance diagram for KDSME::ScxmlImporter:
Inheritance graph
[legend]
Collaboration diagram for KDSME::ScxmlImporter:
Collaboration graph
[legend]

Public Member Functions

 ScxmlImporter (const QByteArray &data)
 
virtual ~ScxmlImporter ()
 
StateMachineimport () override
 
- Public Member Functions inherited from KDSME::AbstractImporter
 AbstractImporter ()
 
virtual ~AbstractImporter ()
 
QString errorString () const
 

Additional Inherited Members

- Protected Member Functions inherited from KDSME::AbstractImporter
void setErrorString (const QString &errorString)
 

Detailed Description

Parses a SCXML document

See also
http://www.w3.org/2011/04/SCXML/scxml.xsd
Examples
layoutexport/main.cpp, and scxmlimport/main.cpp.

Definition at line 32 of file scxmlimporter.h.

Constructor & Destructor Documentation

◆ ScxmlImporter()

ScxmlImporter::ScxmlImporter ( const QByteArray &  data)
explicit

Definition at line 77 of file scxmlimporter.cpp.

◆ ~ScxmlImporter()

ScxmlImporter::~ScxmlImporter ( )
virtual

Definition at line 83 of file scxmlimporter.cpp.

Member Function Documentation

◆ import()

StateMachine * ScxmlImporter::import ( )
overridevirtual

Imports the state machine

Note
Ownership of the object is transferred to the caller
Returns
On success, the pointer to the KDSME::StateMachine instance is returned, otherwise null
See also
errorString()

Implements KDSME::AbstractImporter.

Examples
layoutexport/main.cpp, and scxmlimport/main.cpp.

Definition at line 87 of file scxmlimporter.cpp.

References KDSME::AbstractImporter::setErrorString().

Referenced by main().


The documentation for this class was generated from the following files:

© Klarälvdalens Datakonsult AB (KDAB)
"The Qt, C++ and OpenGL Experts"
https://www.kdab.com/
KDStateMachineEditor
Create Qt State Machine metacode using a graphical user interface
https://github.com/KDAB/KDStateMachineEditor
Generated on Tue Jul 15 2025 15:21:47 for KDStateMachineEditor API Documentation by doxygen 1.9.8