Medical Imaging Interaction Toolkit  2018.4.99-6ca56567
Medical Imaging Interaction Toolkit
mitkCommon.h File Reference
#include "itkObject.h"
#include "mitkConfig.h"
#include "mitkExceptionMacro.h"
#include "mitkGetClassHierarchy.h"
#include "mitkLogMacros.h"

Go to the source code of this file.

Macros

#define mitkIpPicDescriptor
 
#define mitkClassMacro(className, SuperClassName)
 
#define mitkClassMacroItkParent(className, SuperClassName)
 
#define mitkClassMacroNoParent(className)
 
#define mitkNewMacro1Param(classname, type)
 
#define mitkNewMacro2Param(classname, typea, typeb)
 
#define mitkNewMacro3Param(classname, typea, typeb, typec)
 
#define mitkNewMacro4Param(classname, typea, typeb, typec, typed)
 
#define mitkNewMacro5Param(classname, typea, typeb, typec, typed, typee)
 
#define mitkNewMacro6Param(classname, typea, typeb, typec, typed, typee, typef)
 
#define mitkGetObjectMacroConst(name, type)
 
#define mitkCloneMacro(classname)
 
#define DEPRECATED(func)
 
#define MITK_EXPORT
 
#define MITK_IMPORT
 
#define MITK_LOCAL
 

Typedefs

typedef unsigned int MapperSlotId
 

Macro Definition Documentation

◆ DEPRECATED

◆ MITK_EXPORT

#define MITK_EXPORT

Mark templates as exported to generate public RTTI symbols which are needed for GCC and Clang to support e.g. dynamic_cast between DSOs.

Definition at line 195 of file mitkCommon.h.

◆ MITK_IMPORT

#define MITK_IMPORT

Definition at line 196 of file mitkCommon.h.

◆ MITK_LOCAL

#define MITK_LOCAL

Definition at line 197 of file mitkCommon.h.

◆ mitkClassMacro

#define mitkClassMacro (   className,
  SuperClassName 
)

From ITK 4.7 version, the TypeMacro overrides (by using the explicit attribute) the GetNameOfClass hence the SuperClass must provide one.

If not, use the mitkClassMacroNoParent version

Definition at line 40 of file mitkCommon.h.

Referenced by mitk::PropertyRelationRuleBase::GetDestinationUIDByInstanceID().

◆ mitkClassMacroItkParent

#define mitkClassMacroItkParent (   className,
  SuperClassName 
)

Definition at line 49 of file mitkCommon.h.

◆ mitkClassMacroNoParent

#define mitkClassMacroNoParent (   className)

At version 4.7 provides two type macros, the normal one expects the Superclass to provide the GetNameOfClass explicitely, the NoParent deos not expect anything.

Definition at line 61 of file mitkCommon.h.

◆ mitkCloneMacro

◆ mitkGetObjectMacroConst

#define mitkGetObjectMacroConst (   name,
  type 
)

Get a smart const pointer to an object. Creates the member Get"name"() (e.g., GetPoints()).

Definition at line 149 of file mitkCommon.h.

◆ mitkIpPicDescriptor

Definition at line 30 of file mitkCommon.h.

◆ mitkNewMacro1Param

#define mitkNewMacro1Param (   classname,
  type 
)

Macro for Constructors with one parameter for classes derived from itk::Lightobject

Definition at line 72 of file mitkCommon.h.

◆ mitkNewMacro2Param

#define mitkNewMacro2Param (   classname,
  typea,
  typeb 
)

Macro for Constructors with two parameters for classes derived from itk::Lightobject

Definition at line 85 of file mitkCommon.h.

Referenced by mitk::PropertyRelationRuleBase::GetDestinationUIDByInstanceID().

◆ mitkNewMacro3Param

#define mitkNewMacro3Param (   classname,
  typea,
  typeb,
  typec 
)

Macro for Constructors with three parameters for classes derived from itk::Lightobject

Definition at line 98 of file mitkCommon.h.

◆ mitkNewMacro4Param

#define mitkNewMacro4Param (   classname,
  typea,
  typeb,
  typec,
  typed 
)

Macro for Constructors with four parameters for classes derived from itk::Lightobject

Definition at line 111 of file mitkCommon.h.

◆ mitkNewMacro5Param

#define mitkNewMacro5Param (   classname,
  typea,
  typeb,
  typec,
  typed,
  typee 
)

Macro for Constructors with five parameters for classes derived from itk::Lightobject

Definition at line 124 of file mitkCommon.h.

◆ mitkNewMacro6Param

#define mitkNewMacro6Param (   classname,
  typea,
  typeb,
  typec,
  typed,
  typee,
  typef 
)

Macro for Constructors with six parameters for classes derived from itk::Lightobject

Definition at line 137 of file mitkCommon.h.

Typedef Documentation

◆ MapperSlotId

typedef unsigned int MapperSlotId

Definition at line 33 of file mitkCommon.h.