#include <string>
#include <sstream>
#include <stdlib.h>
#include "mitkVector.h"
#include "mitkCommon.h"
#include "mitkBaseProperty.h"
Go to the source code of this file.
Classes | |
class | mitk::GenericProperty< T > |
Namespaces | |
namespace | mitk |
Qmitk. | |
Defines | |
#define | mitkSpecializeGenericProperty(PropertyName, Type, DefaultValue) |
#define mitkSpecializeGenericProperty | ( | PropertyName, | |
Type, | |||
DefaultValue | |||
) |
class MITK_CORE_EXPORT PropertyName: public GenericProperty< Type > \ { \ public: \ mitkClassMacro(PropertyName, GenericProperty< Type >); \ itkNewMacro(PropertyName); \ mitkNewMacro1Param(PropertyName, Type); \ virtual ~PropertyName() {} \ protected: \ PropertyName() { m_Value = DefaultValue; } \ PropertyName(Type x) : GenericProperty<Type>(x) {} \ };
Generates a specialized subclass of mitk::GenericProperty. This way, GetNameOfClass() returns the value provided by PropertyName. Please see mitkProperties.h for examples.
PropertyName | the name of the instantiation of GenericProperty |
Type | the value type of the GenericProperty |
Definition at line 134 of file mitkGenericProperty.h.