Medical Imaging Interaction Toolkit  2024.06.00
Medical Imaging Interaction Toolkit
mitkGenericProperty.h File Reference
#include <sstream>
#include <cstdlib>
#include <string>
#include "mitkBaseProperty.h"
#include "mitkNumericTypes.h"
#include <MitkCoreExports.h>

Go to the source code of this file.

Classes

class  mitk::GenericProperty< T >
 

Namespaces

 mitk
 Find image slices visible on a given plane.
 

Macros

#define mitkDeclareGenericProperty(PropertyName, Type, Export)
 
#define mitkDefineGenericProperty(PropertyName, Type, DefaultValue)
 

Macro Definition Documentation

◆ mitkDeclareGenericProperty

#define mitkDeclareGenericProperty (   PropertyName,
  Type,
  Export 
)

Generates a specialized subclass of mitk::GenericProperty. This way, GetNameOfClass() returns the value provided by PropertyName. Please see mitkProperties.h for examples.

Parameters
PropertyNamethe name of the subclass of GenericProperty
Typethe value type of the GenericProperty
Exportthe export macro for DLL usage

Definition at line 120 of file mitkGenericProperty.h.

◆ mitkDefineGenericProperty

#define mitkDefineGenericProperty (   PropertyName,
  Type,
  DefaultValue 
)

Definition at line 145 of file mitkGenericProperty.h.