![]() |
ImFusion C++ SDK 4.4.0
|
#include <ImFusion/GUI/DataItemModel.h>
Internal record to implement bookkeeping of the hierarchy in the underlying DataModel. More...
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 ImFusion::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 ImFusion::SignalReceiver | |
| void | disconnectAll () |
| Disconnects all existing connections. | |
| Data* ImFusion::DataItemModel::Item::proxyChild = nullptr |