Medical Imaging Interaction Toolkit
2023.12.00
Medical Imaging Interaction Toolkit
|
#include <mitkIPropertyProvider.h>
Public Member Functions | |
virtual | ~IPropertyProvider () |
virtual BaseProperty::ConstPointer | GetConstProperty (const std::string &propertyKey, const std::string &contextName="", bool fallBackOnDefaultContext=true) const =0 |
Get property by its key. More... | |
virtual std::vector< std::string > | GetPropertyKeys (const std::string &contextName="", bool includeDefaultContext=false) const =0 |
Query keys of existing properties. More... | |
virtual std::vector< std::string > | GetPropertyContextNames () const =0 |
Query names of existing contexts. More... | |
Interface implemented by classes that provide access to property information.
Definition at line 24 of file mitkIPropertyProvider.h.
|
virtual |
|
pure virtual |
Get property by its key.
[in] | propertyKey | Key of property. |
[in] | contextName | Optional, default is empty string (default context). Search in specified context. |
[in] | fallBackOnDefaultContext | Optional, default is true. Also search in default context if property was not found in given context. |
Implemented in mitk::DICOMImageBlockDescriptor, mitk::ROI::Element, mitk::DataNode, mitk::PropertyList, and mitk::BaseData.
|
pure virtual |
Query names of existing contexts.
Implemented in mitk::DICOMImageBlockDescriptor, mitk::ROI::Element, mitk::DataNode, mitk::PropertyList, and mitk::BaseData.
|
pure virtual |
Query keys of existing properties.
[in] | contextName | Optional, default is empty string (default context). Search in specified context. |
[in] | includeDefaultContext | Optional, default is false. Include default context. |
Implemented in mitk::DICOMImageBlockDescriptor, mitk::ROI::Element, mitk::DataNode, mitk::PropertyList, and mitk::BaseData.