![]() |
ImFusion SDK 4.3
|
#include <ImFusion/GUI/DataItemModel.h>
Internal record to implement bookkeeping of the hierarchy in the underlying DataModel. More...
Inheritance diagram for DataItemModel::Item:Internal record to implement bookkeeping of the hierarchy in the underlying DataModel.
It enables two main things:
Public Attributes | |
| Data * | data = nullptr |
| Pointer to Data instance in parent model. | |
| Data * | proxyChild = nullptr |
Pointer to the DataGroup::proxyData if data is a DataGroup. | |
| Item * | parent = nullptr |
| Pointer to parent node. | |
| std::vector< std::unique_ptr< Item > > | children |
| Enumeration of child nodes, unique_ptr so that their addresses are persistent. | |
| ElementType | type = ElementType::Regular |
| Type of the underlying Data instance. | |
Additional Inherited Members | |
Public Member Functions inherited from SignalReceiver | |
| SignalReceiver ()=default | |
| Default constructor. | |
| SignalReceiver (const SignalReceiver &other) | |
| Copy constructor, does not copy any existing signal connections from other. | |
| SignalReceiver & | operator= (SignalReceiver rhs) |
| Assignment operator, disconnects all existing connections, does not copy any existing signal connections from rhs. | |
| virtual | ~SignalReceiver () |
| Virtual destructor disconnects from all connected signals. | |
Protected Member Functions inherited from SignalReceiver | |
| void | disconnectAll () |
| Disconnects all existing connections. | |
| Data* proxyChild = nullptr |
Pointer to the DataGroup::proxyData if data is a DataGroup.
Will serve as reference dataset instead of data if not null.