Medical Imaging Interaction Toolkit  2018.4.99-87d68d9f
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.

Remarks
: 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 ( )
virtual

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.

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

Parameters
[in]contextNameOptional, default is empty string (default context). Search in specified context.
[in]includeDefaultContextOptional, default is false. Include default context.
Returns
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: