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

Configuration for a flow or process. More...

#include <config.h>

Inheritance diagram for FlowConfig:
ConfigBase

Public Member Functions

 FlowConfig ()
 Default constructor.
 FlowConfig (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

Types::CallType type = Types::CallType::UNKNOWN
 Name of the flow.
koda::types::TypeReference returnType = {}
 Type of the call.
QList< PropertyConfig > arguments = {}
 Return type of the call.
bool modifiable = true
 List of arguments for the call.
QString info = ""
 Whether the flow is modifiable.
int linksTo = INT32_MAX
 Additional information about the flow.
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 FlowConfig &config)
 Number of links to this flow.

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 flow or process.

Constructor & Destructor Documentation

◆ FlowConfig()

FlowConfig::FlowConfig ( 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