Commit 144f03ca authored by VTK Developers's avatar VTK Developers Committed by Brad King

Include module-wide headers and export macros

Include the module-wide header from every header in each module.
Reference the export/visibility macro for the module.

Co-Author: Marcus D. Hanwell <marcus.hanwell@kitware.com>
Co-Author: Chris Harris <chris.harris@kitware.com>
parent 0c1471f1

Too many changes to show.

To preserve performance only 1000 of 1000+ files are displayed.

......@@ -21,6 +21,7 @@
#ifndef VTKAMRBASEPARTICLESREADER_H_
#define VTKAMRBASEPARTICLESREADER_H_
#include "vtkAMRCoreModule.h" // For export macro
#include "vtkMultiBlockDataSetAlgorithm.h"
class vtkInformation;
......@@ -31,7 +32,7 @@ class vtkPolyData;
class vtkDataArraySelection;
class vtkCallbackCommand;
class VTK_AMR_EXPORT vtkAMRBaseParticlesReader :
class VTKAMRCORE_EXPORT vtkAMRBaseParticlesReader :
public vtkMultiBlockDataSetAlgorithm
{
public:
......
......@@ -20,6 +20,7 @@
#ifndef VTKAMRBASEREADER_H_
#define VTKAMRBASEREADER_H_
#include "vtkAMRCoreModule.h" // For export macro
#include "vtkOverlappingAMRAlgorithm.h"
#include <vector> // STL vector header
#include <map> // STL map header
......@@ -35,7 +36,7 @@ class vtkAMRDataSetCache;
class vtkUniformGrid;
class vtkDataArray;
class VTK_AMR_EXPORT vtkAMRBaseReader :
class VTKAMRCORE_EXPORT vtkAMRBaseReader :
public vtkOverlappingAMRAlgorithm
{
public:
......
......@@ -22,6 +22,7 @@
#ifndef VTKAMRCUTPLANE_H_
#define VTKAMRCUTPLANE_H_
#include "vtkAMRCoreModule.h" // For export macro
#include "vtkMultiBlockDataSetAlgorithm.h"
#include <vector> // For STL vector
......@@ -41,7 +42,7 @@ class vtkCellArray;
class vtkPointData;
class vtkCellData;
class VTK_AMR_EXPORT vtkAMRCutPlane : public vtkMultiBlockDataSetAlgorithm
class VTKAMRCORE_EXPORT vtkAMRCutPlane : public vtkMultiBlockDataSetAlgorithm
{
public:
static vtkAMRCutPlane *New();
......
......@@ -23,13 +23,14 @@
#ifndef VTKAMRDATASETCACHE_H_
#define VTKAMRDATASETCACHE_H_
#include "vtkAMRCoreModule.h" // For export macro
#include "vtkObject.h"
#include <map> // For STL map used as the data-structure for the cache.
class vtkUniformGrid;
class vtkDataArray;
class VTK_AMR_EXPORT vtkAMRDataSetCache : public vtkObject
class VTKAMRCORE_EXPORT vtkAMRDataSetCache : public vtkObject
{
public:
static vtkAMRDataSetCache* New();
......
......@@ -24,6 +24,7 @@
#ifndef VTKAMRENZOPARTICLESREADER_H_
#define VTKAMRENZOPARTICLESREADER_H_
#include "vtkAMRCoreModule.h" // For export macro
#include "vtkAMRBaseParticlesReader.h"
......@@ -32,7 +33,7 @@ class vtkDataArray;
class vtkIntArray;
class vtkEnzoReaderInternal;
class VTK_AMR_EXPORT vtkAMREnzoParticlesReader :
class VTKAMRCORE_EXPORT vtkAMREnzoParticlesReader :
public vtkAMRBaseParticlesReader
{
public:
......
......@@ -21,6 +21,7 @@
#ifndef VTKAMRENZOREADER_H_
#define VTKAMRENZOREADER_H_
#include "vtkAMRCoreModule.h" // For export macro
#include "vtkAMRBaseReader.h"
#include <map> // For STL map
......@@ -28,7 +29,7 @@
class vtkOverlappingAMR;
class vtkEnzoReaderInternal;
class VTK_AMR_EXPORT vtkAMREnzoReader : public vtkAMRBaseReader
class VTKAMRCORE_EXPORT vtkAMREnzoReader : public vtkAMRBaseReader
{
public:
static vtkAMREnzoReader* New();
......
......@@ -20,6 +20,7 @@
#ifndef VTKAMRFLASHPARTICLESREADER_H_
#define VTKAMRFLASHPARTICLESREADER_H_
#include "vtkAMRCoreModule.h" // For export macro
#include "vtkAMRBaseParticlesReader.h"
class vtkIndent;
......@@ -28,7 +29,7 @@ class vtkPointData;
class vtkIdList;
class vtkFlashReaderInternal;
class VTK_AMR_EXPORT vtkAMRFlashParticlesReader :
class VTKAMRCORE_EXPORT vtkAMRFlashParticlesReader :
public vtkAMRBaseParticlesReader
{
public:
......
......@@ -21,12 +21,13 @@
#ifndef VTKAMRFLASHREADER_H_
#define VTKAMRFLASHREADER_H_
#include "vtkAMRCoreModule.h" // For export macro
#include "vtkAMRBaseReader.h"
class vtkOverlappingAMR;
class vtkFlashReaderInternal;
class VTK_AMR_EXPORT vtkAMRFlashReader : public vtkAMRBaseReader
class VTKAMRCORE_EXPORT vtkAMRFlashReader : public vtkAMRBaseReader
{
public:
static vtkAMRFlashReader* New();
......
......@@ -19,6 +19,7 @@
#ifndef VTKAMRGAUSSIANPULSESOURCE_H_
#define VTKAMRGAUSSIANPULSESOURCE_H_
#include "vtkAMRCoreModule.h" // For export macro
#include "vtkOverlappingAMRAlgorithm.h"
#include <cmath> // For std::exp
......@@ -28,7 +29,7 @@ class vtkUniformGrid;
class vtkInformation;
class vtkInformationVector;
class VTK_AMR_EXPORT vtkAMRGaussianPulseSource :
class VTKAMRCORE_EXPORT vtkAMRGaussianPulseSource :
public vtkOverlappingAMRAlgorithm
{
public:
......
......@@ -31,6 +31,7 @@
#ifndef __vtkAMRResampleFilter_h
#define __vtkAMRResampleFilter_h
#include "vtkAMRCoreModule.h" // For export macro
#include "vtkMultiBlockDataSetAlgorithm.h"
#include <vector> // For STL vector
......@@ -45,7 +46,7 @@ class vtkCellData;
class vtkPointData;
class vtkIndent;
class VTK_AMR_EXPORT vtkAMRResampleFilter : public vtkMultiBlockDataSetAlgorithm
class VTKAMRCORE_EXPORT vtkAMRResampleFilter : public vtkMultiBlockDataSetAlgorithm
{
public:
static vtkAMRResampleFilter *New();
......
......@@ -22,6 +22,7 @@
#ifndef VTKAMRSLICEFILTER_H_
#define VTKAMRSLICEFILTER_H_
#include "vtkAMRCoreModule.h" // For export macro
#include "vtkOverlappingAMRAlgorithm.h"
#include <vector> // For STL vector
......@@ -34,7 +35,7 @@ class vtkPlane;
class vtkAMRBox;
class vtkUniformGrid;
class VTK_AMR_EXPORT vtkAMRSliceFilter :
class VTKAMRCORE_EXPORT vtkAMRSliceFilter :
public vtkOverlappingAMRAlgorithm
{
public:
......
......@@ -24,6 +24,7 @@
#ifndef VTKAMRTOMULTIBLOCKFILTER_H_
#define VTKAMRTOMULTIBLOCKFILTER_H_
#include "vtkAMRCoreModule.h" // For export macro
#include "vtkMultiBlockDataSetAlgorithm.h"
class vtkInformation;
......@@ -33,7 +34,7 @@ class vtkMultiProcessController;
class vtkOverlappingAMR;
class vtkMultiBlockDataSet;
class VTK_AMR_EXPORT vtkAMRToMultiBlockFilter :
class VTKAMRCORE_EXPORT vtkAMRToMultiBlockFilter :
public vtkMultiBlockDataSetAlgorithm
{
public:
......
......@@ -24,6 +24,7 @@
#ifndef VTKAMRUTILITIES_H_
#define VTKAMRUTILITIES_H_
#include "vtkAMRCoreModule.h" // For export macro
#include "vtkObject.h"
#include <vector> // For C++ vector
......@@ -33,7 +34,7 @@ class vtkOverlappingAMR;
class vtkMultiProcessController;
class vtkUniformGrid;
class VTK_PARALLEL_EXPORT vtkAMRUtilities : public vtkObject
class VTKAMRCORE_EXPORT vtkAMRUtilities : public vtkObject
{
public:
......
......@@ -23,6 +23,7 @@
#ifndef __vtkAxis_h
#define __vtkAxis_h
#include "vtkChartsCoreModule.h" // For export macro
#include "vtkContextItem.h"
#include "vtkSmartPointer.h" // For vtkSmartPointer
#include "vtkVector.h" // For position variables
......@@ -36,7 +37,7 @@ class vtkDoubleArray;
class vtkStringArray;
class vtkTextProperty;
class VTK_CHARTS_EXPORT vtkAxis : public vtkContextItem
class VTKCHARTSCORE_EXPORT vtkAxis : public vtkContextItem
{
public:
vtkTypeMacro(vtkAxis, vtkContextItem);
......
......@@ -26,6 +26,7 @@
#define __vtkAxisExtended_h
#endif
#include "vtkChartsCoreModule.h" // For export macro
#include "vtkObject.h"
#include "vtkVector.h" // Needed for vtkVector
//
......@@ -35,7 +36,7 @@
# define VTK_DBL_EPSILON DBL_EPSILON
#endif // DBL_EPSILON
class VTK_CHARTS_EXPORT vtkAxisExtended : public vtkObject
class VTKCHARTSCORE_EXPORT vtkAxisExtended : public vtkObject
{
public:
vtkTypeMacro(vtkAxisExtended, vtkObject);
......
......@@ -21,6 +21,7 @@
#ifndef __vtkChart_h
#define __vtkChart_h
#include "vtkChartsCoreModule.h" // For export macro
#include "vtkContextItem.h"