Interface of property filters service.
More...
#include <mitkIPropertyFilters.h>
Interface of property filters service.
This service allows you manage property name filters. A mitk::PropertyFilter consist of blacklist and whitelist entries and can be restricted to certain data node types. The property view only displays filtered properties if filters were found.
Definition at line 34 of file mitkIPropertyFilters.h.
◆ ~IPropertyFilters()
virtual mitk::IPropertyFilters::~IPropertyFilters |
( |
| ) |
|
|
virtual |
◆ AddFilter()
virtual bool mitk::IPropertyFilters::AddFilter |
( |
const PropertyFilter & |
filter, |
|
|
const std::string & |
className = "" , |
|
|
bool |
overwrite = false |
|
) |
| |
|
pure virtual |
Add a property filter.
- Parameters
-
[in] | filter | The property filter. |
[in] | className | Optional data node class name to which the filter is restricted. |
[in] | overwrite | Overwrite already existing filter. |
- Returns
- True if filter was added auccessfully.
Implemented in mitk::PropertyFilters.
◆ ApplyFilter()
Apply property filter to property list.
- Parameters
-
[in] | propertyMap | Property list to which the filter is applied. |
[in] | className | Optional data node class name for which the filter is chosen. |
- Returns
- Filtered property list.
Implemented in mitk::PropertyFilters.
◆ GetFilter()
virtual PropertyFilter mitk::IPropertyFilters::GetFilter |
( |
const std::string & |
className = "" | ) |
const |
|
pure virtual |
Get the current property filter.
- Parameters
-
[in] | className | Optional data node class name for which the filter is returned. |
- Returns
- The current property filter.
Implemented in mitk::PropertyFilters.
◆ HasFilter()
virtual bool mitk::IPropertyFilters::HasFilter |
( |
const std::string & |
className = "" | ) |
const |
|
pure virtual |
Check if a specific data node class name has a property filter.
- Parameters
-
[in] | className | The data node class name or empty string for global property filter. |
- Returns
- True if data node class name has a filter, false otherwise.
Implemented in mitk::PropertyFilters.
◆ RemoveAllFilters()
virtual void mitk::IPropertyFilters::RemoveAllFilters |
( |
| ) |
|
|
pure virtual |
◆ RemoveFilter()
virtual void mitk::IPropertyFilters::RemoveFilter |
( |
const std::string & |
className = "" | ) |
|
|
pure virtual |
Remove property filter for a specific data node class name.
- Parameters
-
[in] | className | The data node class name or empty string for global property filter. |
Implemented in mitk::PropertyFilters.
The documentation for this class was generated from the following file: