Medical Imaging Interaction Toolkit  2023.04.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
 DataCollection - Class to facilitate loading/accessing structured data.
 

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 109 of file mitkGenericProperty.h.

◆ mitkDefineGenericProperty

#define mitkDefineGenericProperty (   PropertyName,
  Type,
  DefaultValue 
)

Definition at line 131 of file mitkGenericProperty.h.