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

#include <abstractexporter.h>

Inheritance diagram for KDSME::AbstractExporter:
Inheritance graph
[legend]

Public Member Functions

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

Protected Member Functions

void setErrorString (const QString &errorString)
 

Detailed Description

Definition at line 28 of file abstractexporter.h.

Constructor & Destructor Documentation

◆ AbstractExporter()

AbstractExporter::AbstractExporter ( )

Definition at line 25 of file abstractexporter.cpp.

◆ ~AbstractExporter()

AbstractExporter::~AbstractExporter ( )
virtual

Definition at line 30 of file abstractexporter.cpp.

Member Function Documentation

◆ errorString()

QString AbstractExporter::errorString ( ) const

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

Definition at line 34 of file abstractexporter.cpp.

Referenced by setErrorString().

◆ 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::QmlExporter, KDSME::ScxmlExporter, and KDSME::SvgExporter.

◆ setErrorString()

void AbstractExporter::setErrorString ( const QString &  errorString)
protected

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

Definition at line 39 of file abstractexporter.cpp.

References errorString().

Referenced by KDSME::QmlExporter::exportMachine(), KDSME::ScxmlExporter::exportMachine(), and KDSME::SvgExporter::exportMachine().


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