Maki
Formally verfied low-code orchestration
Loading...
Searching...
No Matches
NodeConfig Class Reference

Configuration for a node. More...

#include <config.h>

Inheritance diagram for NodeConfig:
ConfigBase

Public Member Functions

 NodeConfig ()
 Default constructor.
 NodeConfig (const QJsonObject &object)
 Constructor from JSON object.
Public Member Functions inherited from ConfigBase
 ConfigBase ()
 Default constructor.
 ConfigBase (ConfigBase &copy)
 Copy constructor.
 ConfigBase (const ConfigBase &copy)
 Copy constructor.
bool isValid () const
 Checks if the configuration is valid.

Public Attributes

BodyConfig body
 Type of the node.
HelpConfig help
 Configuration for the body of the node.
BehaviourConfig behaviour
 Configuration for help information.
QVector< ControlsConfig > controls = {}
 Configuration for the behaviour associated with the node.
QVector< PropertyConfig > properties = {}
 List of controls within the node.
QVector< FlowConfig > events = {}
 List of properties associated with the node.
QVector< TransitionConfig > transitions = {}
 List of events associated with the node.
Types::LibraryTypes libraryType = Types::LibraryTypes::UNKNOWN
 List of transitions associated with the node.
Public Attributes inherited from ConfigBase
bool isConfigValid
 Indicates whether the configuration is valid.
QString errorMessage
 Error message if the configuration is invalid.

Friends

QDataStream & operator<< (QDataStream &out, const NodeConfig &config)
 Type of the library.

Additional Inherited Members

Protected Member Functions inherited from ConfigBase
void setInvalid (const QString &message)
 Sets the configuration as invalid with an error message.

Detailed Description

Configuration for a node.

Constructor & Destructor Documentation

◆ NodeConfig()

NodeConfig::NodeConfig ( const QJsonObject & object)

Constructor from JSON object.

Parameters
objectThe JSON object to initialize the configuration from.

The documentation for this class was generated from the following files:
  • /__w/maki/maki/app/common/config.h
  • /__w/maki/maki/app/common/config.cpp