Medical Imaging Interaction Toolkit  2016.11.0
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

#define DEPRECATED (   func)

cross-platform deprecation macro

Definition at line 183 of file mitkCommon.h.

#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 199 of file mitkCommon.h.

#define MITK_IMPORT

Definition at line 200 of file mitkCommon.h.

#define MITK_LOCAL

Definition at line 201 of file mitkCommon.h.

#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 44 of file mitkCommon.h.

#define mitkClassMacroItkParent (   className,
  SuperClassName 
)

Definition at line 53 of file mitkCommon.h.

#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 65 of file mitkCommon.h.

#define mitkCloneMacro (   classname)

Creates a Clone() method for "Classname". Returns a smartPtr of a clone of the calling object

Definition at line 162 of file mitkCommon.h.

#define mitkGetObjectMacroConst (   name,
  type 
)

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

Definition at line 153 of file mitkCommon.h.

Definition at line 34 of file mitkCommon.h.

#define mitkNewMacro1Param (   classname,
  type 
)

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

Definition at line 76 of file mitkCommon.h.

#define mitkNewMacro2Param (   classname,
  typea,
  typeb 
)

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

Definition at line 89 of file mitkCommon.h.

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

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

Definition at line 102 of file mitkCommon.h.

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

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

Definition at line 115 of file mitkCommon.h.

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

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

Definition at line 128 of file mitkCommon.h.

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

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

Definition at line 141 of file mitkCommon.h.

Typedef Documentation

typedef unsigned int MapperSlotId

Definition at line 37 of file mitkCommon.h.