swift
Static Public Member Functions | List of all members
swift::misc::simulation::settings::TXSwiftBusSettings Struct Reference

Setting for xswiftbus. More...

Inheritance diagram for swift::misc::simulation::settings::TXSwiftBusSettings:
[legend]

Static Public Member Functions

static const char * key ()
 Key string of the value. Reimplemented in derived class. More...
 
static const QString & humanReadable ()
 Optional human readable name. More...
 
static CXSwiftBusSettings defaultValue ()
 Return the value to use in case the supplied value does not satisfy the validator. Default implementation returns a default-constructed value. More...
 
static bool isValid (const CXSwiftBusSettings &settings, QString &reason)
 Validator function. Return true if the argument is valid, false otherwise. Default implementation just returns true. Reimplemented in derived class to support validation of the value. More...
 
- Static Public Member Functions inherited from swift::misc::TSettingTrait< CXSwiftBusSettings >
static const char * key ()
 Key string of the value. Reimplemented in derived class.
 
static const QString & humanReadable ()
 Optional human readable name.
 
static bool isValid (const CXSwiftBusSettings &value, QString &reason)
 Validator function. Return true if the argument is valid, false otherwise. Default implementation just returns true. Reimplemented in derived class to support validation of the value.
 
static const CXSwiftBusSettings & defaultValue ()
 Return the value to use in case the supplied value does not satisfy the validator. Default implementation returns a default-constructed value.
 

Additional Inherited Members

- Public Types inherited from swift::misc::TSettingTrait< CXSwiftBusSettings >
using type = CXSwiftBusSettings
 Data type of the value.
 
- Public Member Functions inherited from swift::misc::TSettingTrait< CXSwiftBusSettings >
 TSettingTrait ()=delete
 Deleted default constructor.
 
 TSettingTrait (const TSettingTrait &)=delete
 Deleted copy constructor.
 
TSettingTraitoperator= (const TSettingTrait &)=delete
 Deleted copy assignment operator.
 

Detailed Description

Setting for xswiftbus.

Definition at line 115 of file xswiftbussettings.h.

Member Function Documentation

◆ defaultValue()

static CXSwiftBusSettings swift::misc::simulation::settings::TXSwiftBusSettings::defaultValue ( )
inlinestatic

Return the value to use in case the supplied value does not satisfy the validator. Default implementation returns a default-constructed value.

Definition at line 128 of file xswiftbussettings.h.

◆ humanReadable()

static const QString& swift::misc::simulation::settings::TXSwiftBusSettings::humanReadable ( )
inlinestatic

Optional human readable name.

Definition at line 121 of file xswiftbussettings.h.

◆ isValid()

static bool swift::misc::simulation::settings::TXSwiftBusSettings::isValid ( const CXSwiftBusSettings settings,
QString &  reason 
)
inlinestatic

Validator function. Return true if the argument is valid, false otherwise. Default implementation just returns true. Reimplemented in derived class to support validation of the value.

Definition at line 131 of file xswiftbussettings.h.

◆ key()

static const char* swift::misc::simulation::settings::TXSwiftBusSettings::key ( )
inlinestatic

Key string of the value. Reimplemented in derived class.

Definition at line 118 of file xswiftbussettings.h.


The documentation for this struct was generated from the following file: