|
ImagingTools Core SDK
|
#include <TIIdBasedHierarchical.h>
Inherits Interface.
Public Types | |
| enum | HierarchicalFlags { HF_CHILDS_SUPPORTED = 0x01 , HF_PARENT_SUPPORTED = 0x02 } |
Public Member Functions | |
| virtual int | GetHierarchicalFlags () const =0 |
| virtual const ICollectionInfo & | GetChildsList () const =0 |
| virtual HierarchicalInterfaceType * | GetChild (const QByteArray &id) const =0 |
| virtual HierarchicalInterfaceType * | GetParent () const =0 |
Common interface to define the hierarchical graph structures.
Definition at line 20 of file TIIdBasedHierarchical.h.
| enum imtbase::TIIdBasedHierarchical::HierarchicalFlags |
Flags describing supported features of this hierarchical graph.
| Enumerator | |
|---|---|
| HF_CHILDS_SUPPORTED | If active child information is supported. |
| HF_PARENT_SUPPORTED | If active parent information is supported. It will be inactive for single direction hierarchical graphs. |
Definition at line 29 of file TIIdBasedHierarchical.h.
|
pure virtual |
Get access to child node. For single direction graph when only parent connection is stored it will be always NULL. To check if this feature is supported check HF_CHILDS_SUPPORTED in flags.
|
pure virtual |
Get child nodes list.
|
pure virtual |
Get flags describing supported features of this hierarchical graph.
|
pure virtual |
Get access to parent node. For single direction graph when only child connection is stored it will be always NULL. To check if this feature is supported check HF_PARENT_SUPPORTED in flags.