dnai::models::gui::IoLink Class Reference
#include <iolink.h>
Inheritance diagram for dnai::models::gui::IoLink:

Collaboration diagram for dnai::models::gui::IoLink:

Public Member Functions | |
const data::IoLink & | data () const override |
Return the data component. More... | |
bool | setData (const data::IoLink &data) override |
void | serialize (QJsonObject &obj) const override |
Implement this function to serialize into QJsonObject. More... | |
![]() | |
virtual | ~IModelData ()=default |
virtual bool | setData (const data::IoLink &data)=0 |
set the data component of this object More... | |
![]() | |
virtual | ~ASerializable ()=default |
QJsonArray | serializeList (const QList< DataType * > &datalist) const |
Protected Member Functions | |
void | _deserialize (const QJsonObject &obj) override |
Implement this function in order to use deserialize(const QJsonObject &obj) More... | |
Private Attributes | |
data::IoLink | m_data |
Additional Inherited Members | |
![]() | |
static IoLink * | deserialize (const QJsonObject &obj, Args &...args) |
This function deserialize into a new instance of type T *. More... | |
Member Function Documentation
|
overrideprotectedvirtual |
Implement this function in order to use deserialize(const QJsonObject &obj)
- Parameters
-
obj
Implements dnai::interfaces::ASerializable< IoLink >.
|
overridevirtual |
Return the data component.
- Returns
- const T& data
Implements dnai::interfaces::IModelData< data::IoLink >.
|
overridevirtual |
Implement this function to serialize into QJsonObject.
- Parameters
-
obj
Implements dnai::interfaces::ASerializable< IoLink >.
|
override |
Member Data Documentation
|
private |
The documentation for this class was generated from the following files:
- Gui/app/include/dnai/models/gui/iolink.h
- Gui/app/src/dnai/models/gui/iolink.cpp