#include <mitkPropertyExtensions.h>
Definition at line 21 of file mitkPropertyExtensions.h.
◆ PropertyExtensions()
mitk::PropertyExtensions::PropertyExtensions |
( |
| ) |
|
◆ ~PropertyExtensions()
mitk::PropertyExtensions::~PropertyExtensions |
( |
| ) |
|
|
override |
◆ AddExtension()
bool mitk::PropertyExtensions::AddExtension |
( |
const std::string & |
propertyName, |
|
|
PropertyExtension::Pointer |
extension, |
|
|
const std::string & |
className, |
|
|
bool |
overwrite |
|
) |
| |
|
overridevirtual |
Add an extension to a specific property.
- Parameters
-
[in] | propertyName | Name of the property. |
[in] | extension | Property extension. |
[in] | className | Optional data node class name to which the property extension is restricted. |
[in] | overwrite | Overwrite already existing property extension. |
- Returns
- True if extension was added successfully.
Implements mitk::IPropertyExtensions.
◆ GetExtension()
PropertyExtension::Pointer mitk::PropertyExtensions::GetExtension |
( |
const std::string & |
propertyName, |
|
|
const std::string & |
className |
|
) |
| |
|
overridevirtual |
Get the extension of a specific property.
- Parameters
-
[in] | propertyName | Name of the property. |
[in] | className | Optional data node class name to which the returned property extension is restricted. |
- Returns
- Property extension or null pointer if no extension was found.
Implements mitk::IPropertyExtensions.
◆ HasExtension()
bool mitk::PropertyExtensions::HasExtension |
( |
const std::string & |
propertyName, |
|
|
const std::string & |
className |
|
) |
| |
|
overridevirtual |
Check if a specific property has an extension.
- Parameters
-
[in] | propertyName | Name of the property. |
[in] | className | Optional data node class name to which the property extension is restricted. |
- Returns
- True if the property has an extension, false otherwise.
Implements mitk::IPropertyExtensions.
◆ RemoveAllExtensions()
void mitk::PropertyExtensions::RemoveAllExtensions |
( |
const std::string & |
className | ) |
|
|
overridevirtual |
Remove all property extensions.
- Parameters
-
[in] | className | Optional data node class name to which the property extension is restricted. |
Implements mitk::IPropertyExtensions.
◆ RemoveExtension()
void mitk::PropertyExtensions::RemoveExtension |
( |
const std::string & |
propertyName, |
|
|
const std::string & |
className |
|
) |
| |
|
overridevirtual |
Remove extension of a specific property.
- Parameters
-
[in] | propertyName | Name of the property. |
[in] | className | Optional data node class name to which the property extension is restricted. |
Implements mitk::IPropertyExtensions.
The documentation for this class was generated from the following file: