#include "vtkDebugLeaksManager.h"
#include "vtkCommonCoreModule.h"
#include "vtkObject.h"
#include <string>
Go to the source code of this file.
◆ VTK_CREATE_CREATE_FUNCTION
#define VTK_CREATE_CREATE_FUNCTION |
( |
|
classname | ) |
|
◆ VTK_FACTORY_INTERFACE_EXPORT
#define VTK_FACTORY_INTERFACE_EXPORT VTKCOMMONCORE_EXPORT |
◆ VTK_FACTORY_INTERFACE_IMPLEMENT
#define VTK_FACTORY_INTERFACE_IMPLEMENT |
( |
|
factoryName | ) |
|
Value:extern "C" \
VTK_FACTORY_INTERFACE_EXPORT \
const char* vtkGetFactoryCompilerUsed() \
{ \
return VTK_CXX_COMPILER; \
} \
extern "C" \
VTK_FACTORY_INTERFACE_EXPORT \
const char* vtkGetFactoryVersion() \
{ \
} \
extern "C" \
VTK_FACTORY_INTERFACE_EXPORT \
vtkObjectFactory* vtkLoad() \
{ \
return factoryName ::New(); \
}
Definition at line 320 of file vtkObjectFactory.h.
◆ VTK_OBJECT_FACTORY_NEW_BODY
#define VTK_OBJECT_FACTORY_NEW_BODY |
( |
|
thisClass | ) |
|
Value:
if(ret) \
{ \
return static_cast<thisClass*>(ret); \
} \
thisClass *result = new thisClass; \
result->InitializeObjectBase(); \
return result;
Definition at line 341 of file vtkObjectFactory.h.
◆ VTK_ABSTRACT_OBJECT_FACTORY_NEW_BODY
#define VTK_ABSTRACT_OBJECT_FACTORY_NEW_BODY |
( |
|
thisClass | ) |
|
Value:
if(ret) \
{ \
return static_cast<thisClass*>(ret); \
} \
vtkGenericWarningMacro("Error: no override found for '" #thisClass "'."); \
return nullptr;
Definition at line 354 of file vtkObjectFactory.h.
◆ VTK_STANDARD_NEW_BODY
#define VTK_STANDARD_NEW_BODY |
( |
|
thisClass | ) |
|
Value:thisClass *result = new thisClass; \
result->InitializeObjectBase(); \
return result;
Definition at line 368 of file vtkObjectFactory.h.
◆ vtkStandardNewMacro
#define vtkStandardNewMacro |
( |
|
thisClass | ) |
|
Value:thisClass* thisClass::New() \
{ \
VTK_STANDARD_NEW_BODY(thisClass) \
}
Definition at line 375 of file vtkObjectFactory.h.
◆ vtkObjectFactoryNewMacro
#define vtkObjectFactoryNewMacro |
( |
|
thisClass | ) |
|
Value:thisClass* thisClass::New() \
{ \
VTK_OBJECT_FACTORY_NEW_BODY(thisClass) \
}
Definition at line 382 of file vtkObjectFactory.h.
◆ vtkAbstractObjectFactoryNewMacro
#define vtkAbstractObjectFactoryNewMacro |
( |
|
thisClass | ) |
|
Value:thisClass* thisClass::New() \
{ \
VTK_ABSTRACT_OBJECT_FACTORY_NEW_BODY(thisClass) \
}
Definition at line 391 of file vtkObjectFactory.h.
◆ vtkObjectFactoryRegistryCleanupInstance