KDStateMachineEditor API Documentation  1.2
Classes | Public Member Functions | Protected Member Functions | List of all members
KDSME::AbstractExporter Class Referenceabstract
Inheritance diagram for KDSME::AbstractExporter:
Inheritance graph
[legend]

Classes

struct  Private
 

Public Member Functions

virtual bool exportMachine (StateMachine *machine)=0
 
QString errorString () const
 

Protected Member Functions

void setErrorString (const QString &errorString)
 

Member Function Documentation

◆ errorString()

QString AbstractExporter::errorString ( ) const

Returns a human readable description of the last error that occurred.

Examples
export/main.cpp.

◆ exportMachine()

virtual bool KDSME::AbstractExporter::exportMachine ( StateMachine machine)
pure virtual

Exports the state machine machine into the desired format

Returns
True on success, otherwise false
See also
errorString()

Implemented in KDSME::SvgExporter, KDSME::ScxmlExporter, and KDSME::QmlExporter.

◆ setErrorString()

void AbstractExporter::setErrorString ( const QString errorString)
protected

Sets the human readable description of the last device error that occurred to errorString


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