Medical Imaging Interaction Toolkit  2018.4.99-12ad79a3
Medical Imaging Interaction Toolkit
mitk::DICOMTagPath::NodeInfo Struct Reference

#include <mitkDICOMTagPath.h>

Collaboration diagram for mitk::DICOMTagPath::NodeInfo:

Public Types

enum  NodeType {
  NodeType::Invalid, NodeType::Element, NodeType::SequenceSelection, NodeType::AnySelection,
  NodeType::AnyElement
}
 

Public Member Functions

 NodeInfo ()
 
 NodeInfo (const DICOMTag &tag, NodeType type=NodeType::Element, ItemSelectionIndex index=0)
 
bool Matches (const NodeInfo &right) const
 
bool operator== (const NodeInfo &right) const
 

Public Attributes

NodeType type
 
DICOMTag tag
 
ItemSelectionIndex selection
 

Detailed Description

Definition at line 39 of file mitkDICOMTagPath.h.

Member Enumeration Documentation

◆ NodeType

Enumerator
Invalid 
Element 
SequenceSelection 
AnySelection 
AnyElement 

Definition at line 41 of file mitkDICOMTagPath.h.

Constructor & Destructor Documentation

◆ NodeInfo() [1/2]

mitk::DICOMTagPath::NodeInfo::NodeInfo ( )

Definition at line 54 of file mitkDICOMTagPath.cpp.

◆ NodeInfo() [2/2]

mitk::DICOMTagPath::NodeInfo::NodeInfo ( const DICOMTag tag,
NodeType  type = NodeType::Element,
ItemSelectionIndex  index = 0 
)

Definition at line 60 of file mitkDICOMTagPath.cpp.

Member Function Documentation

◆ Matches()

bool mitk::DICOMTagPath::NodeInfo::Matches ( const NodeInfo right) const

Definition at line 73 of file mitkDICOMTagPath.cpp.

References AnyElement, AnySelection, Element, Invalid, selection, tag, and type.

Referenced by operator==().

◆ operator==()

bool mitk::DICOMTagPath::NodeInfo::operator== ( const NodeInfo right) const

Definition at line 63 of file mitkDICOMTagPath.cpp.

References Matches(), selection, tag, and type.

Member Data Documentation

◆ selection

ItemSelectionIndex mitk::DICOMTagPath::NodeInfo::selection

◆ tag

◆ type

NodeType mitk::DICOMTagPath::NodeInfo::type

The documentation for this struct was generated from the following files: