|
Medical Imaging Interaction Toolkit
2026.06.00
Medical Imaging Interaction Toolkit
|
Information about a single node in a PropertyKeyPath. More...
#include <mitkPropertyKeyPath.h>

Public Types | |
| enum class | NodeType { Invalid , Element , ElementSelection , AnySelection , AnyElement } |
| Types of nodes within a PropertyKeyPath. More... | |
Public Member Functions | |
| NodeInfo () | |
| Default constructor. Creates an Invalid node. More... | |
| NodeInfo (const ElementNameType &name, NodeType type=NodeType::Element, ItemSelectionIndex index=0) | |
| Construct a node with given name, type, and selection index. More... | |
| bool | Matches (const NodeInfo &right) const |
| Check if this node matches another, respecting wildcards. More... | |
| bool | operator== (const NodeInfo &right) const |
| Check for exact equality (same type, name, and selection). More... | |
Public Attributes | |
| NodeType | type |
| The type of this node. More... | |
| ElementNameType | name |
| The element name for this node (empty for AnyElement). More... | |
| ItemSelectionIndex | selection |
| The selection index for ElementSelection nodes. More... | |
Information about a single node in a PropertyKeyPath.
Each node has a type, an optional name, and an optional selection index.
Definition at line 65 of file mitkPropertyKeyPath.h.
|
strong |
Types of nodes within a PropertyKeyPath.
Definition at line 68 of file mitkPropertyKeyPath.h.
| mitk::PropertyKeyPath::NodeInfo::NodeInfo | ( | ) |
Default constructor. Creates an Invalid node.
| mitk::PropertyKeyPath::NodeInfo::NodeInfo | ( | const ElementNameType & | name, |
| NodeType | type = NodeType::Element, |
||
| ItemSelectionIndex | index = 0 |
||
| ) |
Construct a node with given name, type, and selection index.
| [in] | name | The element name. |
| [in] | type | The node type (default: Element). |
| [in] | index | The selection index (default: 0). |
| bool mitk::PropertyKeyPath::NodeInfo::Matches | ( | const NodeInfo & | right | ) | const |
Check if this node matches another, respecting wildcards.
AnyElement matches any other valid node. AnySelection matches any selection index of the same element name.
| [in] | right | The node to match against. |
true if the nodes match. | bool mitk::PropertyKeyPath::NodeInfo::operator== | ( | const NodeInfo & | right | ) | const |
Check for exact equality (same type, name, and selection).
| [in] | right | The node to compare against. |
true if both nodes are identical. | ElementNameType mitk::PropertyKeyPath::NodeInfo::name |
The element name for this node (empty for AnyElement).
Definition at line 81 of file mitkPropertyKeyPath.h.
| ItemSelectionIndex mitk::PropertyKeyPath::NodeInfo::selection |
The selection index for ElementSelection nodes.
Definition at line 84 of file mitkPropertyKeyPath.h.
| NodeType mitk::PropertyKeyPath::NodeInfo::type |
The type of this node.
Definition at line 78 of file mitkPropertyKeyPath.h.