Medical Imaging Interaction Toolkit  2018.4.99-6ca56567
Medical Imaging Interaction Toolkit
mitk::IPropertyProvider Class Referenceabstract

#include <mitkIPropertyProvider.h>

Inheritance diagram for mitk::IPropertyProvider:

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...

Detailed Description

Interface implemented by classes that provide access to property information.

: This classes may not be the owner of the property, thus only grants const access to it. See IPropertyOwner for ownership.

Definition at line 24 of file mitkIPropertyProvider.h.

Constructor & Destructor Documentation

◆ ~IPropertyProvider()

mitk::IPropertyProvider::~IPropertyProvider ( )

Definition at line 15 of file mitkIPropertyProvider.cpp.

Member Function Documentation

◆ GetConstProperty()

virtual BaseProperty::ConstPointer mitk::IPropertyProvider::GetConstProperty ( const std::string &  propertyKey,
const std::string &  contextName = "",
bool  fallBackOnDefaultContext = true 
) const
pure virtual

◆ GetPropertyContextNames()

virtual std::vector<std::string> mitk::IPropertyProvider::GetPropertyContextNames ( ) const
pure virtual

Query names of existing contexts.

List of context names.

Implemented in mitk::DICOMImageBlockDescriptor, mitk::PropertyList, mitk::DataNode, and mitk::BaseData.

◆ GetPropertyKeys()

virtual std::vector<std::string> mitk::IPropertyProvider::GetPropertyKeys ( const std::string &  contextName = "",
bool  includeDefaultContext = false 
) const
pure virtual

Query keys of existing properties.

[in]contextNameOptional, default is empty string (default context). Search in specified context.
[in]includeDefaultContextOptional, default is false. Include default context.
List of property keys.

Implemented in mitk::DICOMImageBlockDescriptor, mitk::PropertyList, mitk::DataNode, and mitk::BaseData.

Referenced by mitk::PropertyRelationRuleBase::GetPropertyKeys().

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