Remove unused includes

Remove unused includes, mostly AppEnum.h
This commit is contained in:
Magne Sjaastad 2024-11-04 08:53:03 +01:00
parent 7fe945e68d
commit 275526a64a
55 changed files with 8 additions and 101 deletions

View File

@ -18,7 +18,9 @@
#include "RiaEclipseFileNameTools.h" #include "RiaEclipseFileNameTools.h"
#include "QFileInfo" #include "cafAppEnum.h"
#include <QFileInfo>
namespace caf namespace caf
{ {

View File

@ -18,8 +18,6 @@
#pragma once #pragma once
#include "cafAppEnum.h"
#include <QString> #include <QString>
#include <vector> #include <vector>

View File

@ -18,7 +18,6 @@
#pragma once #pragma once
#include "cafAppEnum.h"
#include "cafPdmField.h" #include "cafPdmField.h"
#include "cafPdmObject.h" #include "cafPdmObject.h"

View File

@ -19,7 +19,6 @@
#pragma once #pragma once
#include "RiaDefines.h" #include "RiaDefines.h"
#include "cafAppEnum.h"
class RiaEclipseUnitTools class RiaEclipseUnitTools
{ {

View File

@ -20,8 +20,6 @@
#include "RiaDateTimeDefines.h" #include "RiaDateTimeDefines.h"
#include "cafAppEnum.h"
#include <QString> #include <QString>
#include <set> #include <set>

View File

@ -22,7 +22,6 @@
#include "ExportCommands/RicLgrSplitType.h" #include "ExportCommands/RicLgrSplitType.h"
#include "cafAppEnum.h"
#include "cafPdmField.h" #include "cafPdmField.h"
class RimWellPath; class RimWellPath;

View File

@ -22,7 +22,6 @@
#include "ExportCommands/RicLgrSplitType.h" #include "ExportCommands/RicLgrSplitType.h"
#include "cafAppEnum.h"
#include "cafPdmField.h" #include "cafPdmField.h"
class RimWellPath; class RimWellPath;

View File

@ -22,7 +22,6 @@
#include "CompletionExportCommands/RicExportCompletionDataSettingsUi.h" #include "CompletionExportCommands/RicExportCompletionDataSettingsUi.h"
#include "cafAppEnum.h"
#include "cafPdmField.h" #include "cafPdmField.h"
//================================================================================================== //==================================================================================================

View File

@ -22,7 +22,6 @@
#include "CompletionExportCommands/RicExportCompletionDataSettingsUi.h" #include "CompletionExportCommands/RicExportCompletionDataSettingsUi.h"
#include "cafAppEnum.h"
#include "cafPdmField.h" #include "cafPdmField.h"
//================================================================================================== //==================================================================================================

View File

@ -20,7 +20,6 @@
#include "RicfCommandObject.h" #include "RicfCommandObject.h"
#include "cafAppEnum.h"
#include "cafPdmField.h" #include "cafPdmField.h"
class RimWellPath; class RimWellPath;

View File

@ -26,6 +26,8 @@
#include "RigStimPlanFractureDefinition.h" #include "RigStimPlanFractureDefinition.h"
#include "cafAppEnum.h"
#include <QFile> #include <QFile>
#include <QStringView> #include <QStringView>
#include <QXmlStreamReader> #include <QXmlStreamReader>

View File

@ -21,13 +21,10 @@
#include "RiaFontCache.h" #include "RiaFontCache.h"
#include "RimAnnotationCollectionBase.h" #include "RimAnnotationCollectionBase.h"
#include "cafAppEnum.h"
#include "cafPdmChildArrayField.h" #include "cafPdmChildArrayField.h"
#include "cafPdmChildField.h" #include "cafPdmChildField.h"
#include "cafPdmField.h" #include "cafPdmField.h"
#include "cafPdmObject.h" #include "cafPdmObject.h"
#include "cafPdmPointer.h"
#include "cafTristate.h"
class RimAnnotationCollection; class RimAnnotationCollection;
class RimAnnotationGroupCollection; class RimAnnotationGroupCollection;

View File

@ -20,7 +20,6 @@
#include "RiaLineArcWellPathCalculator.h" #include "RiaLineArcWellPathCalculator.h"
#include "cafAppEnum.h"
#include "cafPdmCoreVec3d.h" #include "cafPdmCoreVec3d.h"
#include "cafPdmField.h" #include "cafPdmField.h"
#include "cafPdmObject.h" #include "cafPdmObject.h"

View File

@ -18,8 +18,6 @@
#pragma once #pragma once
#include "cafAppEnum.h"
#include "cafPdmChildArrayField.h"
#include "cafPdmField.h" #include "cafPdmField.h"
#include "cafPdmObject.h" #include "cafPdmObject.h"
#include "cafPdmPointer.h" #include "cafPdmPointer.h"
@ -28,7 +26,6 @@
#include "cafPdmChildField.h" #include "cafPdmChildField.h"
#include "cafPdmFieldCvfColor.h" #include "cafPdmFieldCvfColor.h"
#include "cafPdmFieldCvfVec3d.h" #include "cafPdmFieldCvfVec3d.h"
#include "cafPdmObject.h"
#include "cvfObject.h" #include "cvfObject.h"
#include "cvfVector3.h" #include "cvfVector3.h"

View File

@ -20,11 +20,8 @@
#include "RimAnnotationLineAppearance.h" #include "RimAnnotationLineAppearance.h"
#include "cafAppEnum.h"
#include "cafPdmChildArrayField.h"
#include "cafPdmField.h" #include "cafPdmField.h"
#include "cafPdmObject.h" #include "cafPdmObject.h"
#include "cafPdmPointer.h"
#include "cafPdmPtrField.h" #include "cafPdmPtrField.h"
// Include to make Pdm work for cvf::Color // Include to make Pdm work for cvf::Color

View File

@ -18,11 +18,8 @@
#pragma once #pragma once
#include "cafAppEnum.h"
#include "cafPdmChildArrayField.h"
#include "cafPdmField.h" #include "cafPdmField.h"
#include "cafPdmObject.h" #include "cafPdmObject.h"
#include "cafPdmPointer.h"
// Include to make Pdm work for cvf::Color // Include to make Pdm work for cvf::Color
#include "cafPdmChildField.h" #include "cafPdmChildField.h"

View File

@ -18,23 +18,10 @@
#pragma once #pragma once
#include "cafAppEnum.h"
#include "cafPdmChildArrayField.h"
#include "cafPdmField.h" #include "cafPdmField.h"
#include "cafPdmObject.h" #include "cafPdmObject.h"
#include "cafPdmPointer.h"
#include "cafPdmPtrField.h" #include "cafPdmPtrField.h"
// Include to make Pdm work for cvf::Color
#include "cafPdmChildField.h"
#include "cafPdmFieldCvfColor.h"
#include "cafPdmFieldCvfVec3d.h"
#include "cvfObject.h"
#include "cvfVector3.h"
#include <vector>
class RimTextAnnotation; class RimTextAnnotation;
//================================================================================================== //==================================================================================================

View File

@ -20,7 +20,6 @@
#include "RimCellFilter.h" #include "RimCellFilter.h"
#include "cafAppEnum.h"
#include "cafPdmField.h" #include "cafPdmField.h"
#include "cafPdmFieldCvfVec3d.h" #include "cafPdmFieldCvfVec3d.h"
#include "cafPdmObject.h" #include "cafPdmObject.h"

View File

@ -20,7 +20,6 @@
#include "RimCellFilter.h" #include "RimCellFilter.h"
#include "cafAppEnum.h"
#include "cafPdmField.h" #include "cafPdmField.h"
#include "cafPdmObject.h" #include "cafPdmObject.h"

View File

@ -18,7 +18,6 @@
#pragma once #pragma once
#include "cafAppEnum.h"
#include "cafPdmChildArrayField.h" #include "cafPdmChildArrayField.h"
#include "cafPdmField.h" #include "cafPdmField.h"
#include "cafPdmObject.h" #include "cafPdmObject.h"

View File

@ -20,7 +20,6 @@
#include "RimFractureTemplate.h" #include "RimFractureTemplate.h"
#include "cafAppEnum.h"
#include "cafPdmField.h" #include "cafPdmField.h"
#include "cafPdmFieldCvfVec3d.h" #include "cafPdmFieldCvfVec3d.h"
#include "cafPdmFieldHandle.h" #include "cafPdmFieldHandle.h"

View File

@ -19,7 +19,6 @@
#pragma once #pragma once
#include "cafAppEnum.h" #include "cafAppEnum.h"
#include "cafPdmBase.h"
#include "cafPdmField.h" #include "cafPdmField.h"
#include "cafPdmObject.h" #include "cafPdmObject.h"

View File

@ -19,13 +19,9 @@
#include "RimMeshFractureTemplate.h" #include "RimMeshFractureTemplate.h"
#include "cafAppEnum.h"
#include "cafPdmChildArrayField.h"
#include "cafPdmField.h" #include "cafPdmField.h"
#include "cafPdmFieldCvfVec3d.h"
#include "cafPdmFieldHandle.h" #include "cafPdmFieldHandle.h"
#include "cafPdmObject.h" #include "cafPdmObject.h"
#include "cafPdmPtrField.h"
#include "cvfObject.h" #include "cvfObject.h"
#include "cvfVector3.h" #include "cvfVector3.h"

View File

@ -26,7 +26,6 @@
#include "cafPdmObject.h" #include "cafPdmObject.h"
#include "cafAppEnum.h"
#include "cafPdmChildField.h" #include "cafPdmChildField.h"
#include "cafPdmField.h" #include "cafPdmField.h"
#include "cafPdmPtrField.h" #include "cafPdmPtrField.h"

View File

@ -22,7 +22,6 @@
#include "RimAbstractCorrelationPlot.h" #include "RimAbstractCorrelationPlot.h"
#include "cafAppEnum.h"
#include "cafPdmFieldCvfColor.h" #include "cafPdmFieldCvfColor.h"
#include <QDateTime> #include <QDateTime>

View File

@ -21,7 +21,6 @@
#include "RimGridView.h" #include "RimGridView.h"
#include "cafAppEnum.h"
#include "cafPdmChildField.h" #include "cafPdmChildField.h"
#include "cafPdmField.h" #include "cafPdmField.h"
#include "cafPdmFieldCvfColor.h" #include "cafPdmFieldCvfColor.h"

View File

@ -27,9 +27,6 @@
#include "cafPdmObject.h" #include "cafPdmObject.h"
#include "cafPdmPointer.h" #include "cafPdmPointer.h"
#include "cvfAssert.h"
#include "cvfObject.h"
#include "cvfVector2.h" #include "cvfVector2.h"
#include <cmath> #include <cmath>

View File

@ -19,7 +19,6 @@
#pragma once #pragma once
#include "cafAppEnum.h"
#include "cafPdmChildField.h" #include "cafPdmChildField.h"
#include "cafPdmField.h" #include "cafPdmField.h"
#include "cafPdmObject.h" #include "cafPdmObject.h"

View File

@ -27,8 +27,6 @@
#include "cafAppEnum.h" #include "cafAppEnum.h"
#include "cafPdmField.h" #include "cafPdmField.h"
#include "cafPdmObject.h" #include "cafPdmObject.h"
#include "cvfCollection.h"
#include "cvfObject.h"
class RigMainGrid; class RigMainGrid;
class RigSimWellData; class RigSimWellData;

View File

@ -18,11 +18,8 @@
#pragma once #pragma once
#include "RiaDefines.h"
#include "RigEnsembleFractureStatisticsCalculator.h" #include "RigEnsembleFractureStatisticsCalculator.h"
#include "RimEnsembleFractureStatistics.h"
#include "RimStatisticsPlot.h" #include "RimStatisticsPlot.h"
#include "cafAppEnum.h" #include "cafAppEnum.h"

View File

@ -21,7 +21,6 @@
#include "RiaDefines.h" #include "RiaDefines.h"
#include "RimAbstractPlotCollection.h" #include "RimAbstractPlotCollection.h"
#include "RimPlot.h"
#include "RimPlotAxisPropertiesInterface.h" #include "RimPlotAxisPropertiesInterface.h"
#include "RimPlotWindow.h" #include "RimPlotWindow.h"

View File

@ -19,7 +19,6 @@
#pragma once #pragma once
#include "RiaDefines.h"
#include "RimPlotAxisPropertiesInterface.h" #include "RimPlotAxisPropertiesInterface.h"
#include "RiuPlotAxis.h" #include "RiuPlotAxis.h"

View File

@ -18,8 +18,6 @@
#pragma once #pragma once
#include "RiaPlotDefines.h"
#include "RiuPlotAxis.h" #include "RiuPlotAxis.h"
#include "cafAppEnum.h" #include "cafAppEnum.h"

View File

@ -26,8 +26,6 @@
#include "cafPdmField.h" #include "cafPdmField.h"
#include "cafPdmObject.h" #include "cafPdmObject.h"
#include "cvfObject.h"
#include <QDateTime> #include <QDateTime>
class RimReservoirCellResultsStorageEntryInfo; class RimReservoirCellResultsStorageEntryInfo;

View File

@ -25,11 +25,9 @@
#include "Well/RigWellDiskData.h" #include "Well/RigWellDiskData.h"
#include "Well/RigWellResultBranch.h" #include "Well/RigWellResultBranch.h"
#include "cafAppEnum.h"
#include "cafPdmChildField.h" #include "cafPdmChildField.h"
#include "cafPdmField.h" #include "cafPdmField.h"
#include "cafPdmObject.h" #include "cafPdmObject.h"
#include "cafPdmPointer.h"
// Include to make Pdm work for cvf::Color // Include to make Pdm work for cvf::Color
#include "cafPdmFieldCvfColor.h" #include "cafPdmFieldCvfColor.h"

View File

@ -25,7 +25,6 @@
#include "cafPdmField.h" #include "cafPdmField.h"
#include "cafPdmFieldCvfColor.h" // Include to make Pdm work for cvf::Color #include "cafPdmFieldCvfColor.h" // Include to make Pdm work for cvf::Color
#include "cafPdmObject.h" #include "cafPdmObject.h"
#include "cafPdmPointer.h"
#include "cafPdmPtrField.h" #include "cafPdmPtrField.h"
#include "cafTristate.h" #include "cafTristate.h"

View File

@ -22,7 +22,6 @@
#include "cafAppEnum.h" #include "cafAppEnum.h"
#include "cafPdmChildArrayField.h" #include "cafPdmChildArrayField.h"
#include "cafPdmChildField.h"
#include "cafPdmField.h" #include "cafPdmField.h"
// Include to make Pdm work for cvf::Color // Include to make Pdm work for cvf::Color

View File

@ -18,7 +18,6 @@
#pragma once #pragma once
#include "cafAppEnum.h"
#include "cafPdmChildField.h" #include "cafPdmChildField.h"
#include "cafPdmField.h" #include "cafPdmField.h"
#include "cafPdmObject.h" #include "cafPdmObject.h"

View File

@ -23,8 +23,6 @@
#include "cvfObject.h" #include "cvfObject.h"
#include "cafAppEnum.h"
class RimEclipseView; class RimEclipseView;
class RivTernarySaturationOverlayItem; class RivTernarySaturationOverlayItem;
class RivTernaryScalarMapper; class RivTernaryScalarMapper;

View File

@ -20,10 +20,8 @@
#include "RimPlotAxisAnnotation.h" #include "RimPlotAxisAnnotation.h"
#include "cafAppEnum.h"
#include "cafPdmField.h" #include "cafPdmField.h"
#include "cafPdmObject.h" #include "cafPdmObject.h"
#include "cafPdmPtrField.h"
#include "cvfColor3.h" #include "cvfColor3.h"

View File

@ -22,9 +22,7 @@
#include "RigWbsParameter.h" #include "RigWbsParameter.h"
#include "Well/RigGeoMechWellLogExtractor.h" #include "Well/RigGeoMechWellLogExtractor.h"
#include "cafAppEnum.h"
#include "cafPdmField.h" #include "cafPdmField.h"
#include "cafPdmPtrField.h"
class RimGeoMechCase; class RimGeoMechCase;
class RimWellPath; class RimWellPath;

View File

@ -18,13 +18,9 @@
#pragma once #pragma once
#include "cafPdmChildField.h"
#include "cafPdmField.h" #include "cafPdmField.h"
#include "cafPdmObject.h" #include "cafPdmObject.h"
#include "cafPdmPointer.h"
#include "cafPdmPtrField.h"
#include "RiaDefines.h"
#include "RimPlotCurve.h" #include "RimPlotCurve.h"
#include "cafAppEnum.h" #include "cafAppEnum.h"

View File

@ -18,11 +18,8 @@
#pragma once #pragma once
#include "cafPdmChildField.h"
#include "cafPdmField.h" #include "cafPdmField.h"
#include "cafPdmObject.h" #include "cafPdmObject.h"
#include "cafPdmPointer.h"
#include "cafPdmPtrField.h"
#include "RiaDefines.h" #include "RiaDefines.h"

View File

@ -21,7 +21,6 @@
#include "cafPdmChildField.h" #include "cafPdmChildField.h"
#include "cafPdmField.h" #include "cafPdmField.h"
#include "cafPdmObject.h" #include "cafPdmObject.h"
#include "cafPdmPointer.h"
#include "cafPdmPtrField.h" #include "cafPdmPtrField.h"
#include "RiaDateTimeDefines.h" #include "RiaDateTimeDefines.h"

View File

@ -22,7 +22,6 @@
#include "cafPdmField.h" #include "cafPdmField.h"
#include "cafPdmObject.h" #include "cafPdmObject.h"
#include "cafPdmChildField.h"
#include "cafPdmFieldCvfColor.h" #include "cafPdmFieldCvfColor.h"
#include "cvfObject.h" #include "cvfObject.h"
#include "cvfVector3.h" #include "cvfVector3.h"

View File

@ -24,10 +24,7 @@
#include "RimEnsembleCurveSetInterface.h" #include "RimEnsembleCurveSetInterface.h"
#include "RimEnsembleWellLogStatistics.h" #include "RimEnsembleWellLogStatistics.h"
#include "RigEnsembleParameter.h"
#include "cafAppEnum.h" #include "cafAppEnum.h"
#include "cafPdmChildArrayField.h"
#include "cafPdmChildField.h" #include "cafPdmChildField.h"
#include "cafPdmField.h" #include "cafPdmField.h"
#include "cafPdmFieldCvfColor.h" #include "cafPdmFieldCvfColor.h"

View File

@ -26,8 +26,6 @@
#include "cafPdmField.h" #include "cafPdmField.h"
#include "cafPdmPtrField.h" #include "cafPdmPtrField.h"
#include "cvfObject.h"
#include <QDateTime> #include <QDateTime>
#include <map> #include <map>

View File

@ -29,7 +29,6 @@
#include "cafPdmChildField.h" #include "cafPdmChildField.h"
#include "cafPdmField.h" #include "cafPdmField.h"
#include "cafPdmObject.h" #include "cafPdmObject.h"
#include "cafPdmPointer.h"
#include "cafPdmProxyValueField.h" #include "cafPdmProxyValueField.h"
// Include to make Pdm work for cvf::Color // Include to make Pdm work for cvf::Color

View File

@ -19,8 +19,6 @@
#include "RimCheckableNamedObject.h" #include "RimCheckableNamedObject.h"
#include "cafAppEnum.h"
#include "cafPdmChildArrayField.h" #include "cafPdmChildArrayField.h"
#include "cafPdmField.h" #include "cafPdmField.h"
#include "cafPdmObject.h" #include "cafPdmObject.h"
@ -50,4 +48,4 @@ protected:
private: private:
caf::PdmChildArrayField<RimWellPathAttribute*> m_attributes; caf::PdmChildArrayField<RimWellPathAttribute*> m_attributes;
}; };

View File

@ -20,14 +20,12 @@
#include "RiaLineArcWellPathCalculator.h" #include "RiaLineArcWellPathCalculator.h"
#include "RiaWellPlanCalculator.h" #include "RiaWellPlanCalculator.h"
#include "cafAppEnum.h"
#include "cafPdmChildArrayField.h" #include "cafPdmChildArrayField.h"
#include "cafPdmChildField.h" #include "cafPdmChildField.h"
#include "cafPdmField.h" #include "cafPdmField.h"
#include "cafPdmFieldCvfColor.h" #include "cafPdmFieldCvfColor.h"
#include "cafPdmFieldCvfVec3d.h" #include "cafPdmFieldCvfVec3d.h"
#include "cafPdmObject.h" #include "cafPdmObject.h"
#include "cafPdmPtrField.h"
#include "cvfColor3.h" #include "cvfColor3.h"
#include "cvfObject.h" #include "cvfObject.h"

View File

@ -25,7 +25,6 @@
#include "cafPdmCoreVec3d.h" #include "cafPdmCoreVec3d.h"
#include "cafPdmField.h" #include "cafPdmField.h"
#include "cafPdmProxyValueField.h" #include "cafPdmProxyValueField.h"
#include "cafPdmPtrField.h"
class RimWellPathGeometryDef; class RimWellPathGeometryDef;

View File

@ -30,6 +30,8 @@
#include "cafAssert.h" #include "cafAssert.h"
#include <QStringList>
#include <cmath> #include <cmath>
//-------------------------------------------------------------------------------------------------- //--------------------------------------------------------------------------------------------------

View File

@ -19,13 +19,11 @@
#pragma once #pragma once
#include "RiaDefines.h"
#include "RigWbsParameter.h" #include "RigWbsParameter.h"
#include "RigWellLogExtractor.h" #include "RigWellLogExtractor.h"
#include "RigFemResultPosEnum.h" #include "RigFemResultPosEnum.h"
#include "cafAppEnum.h"
#include "cafTensor3.h" #include "cafTensor3.h"
#include "cvfObject.h" #include "cvfObject.h"

View File

@ -38,7 +38,6 @@
#include "cafCmdExecuteCommand.h" #include "cafCmdExecuteCommand.h"
#include "cafAppEnum.h"
#include "cafPdmField.h" #include "cafPdmField.h"
#include "cafPdmObject.h" #include "cafPdmObject.h"

View File

@ -1,7 +1,6 @@
#pragma once #pragma once
#include "cafAppEnum.h"
#include "cafPdmField.h" #include "cafPdmField.h"
#include "cafPdmObject.h" #include "cafPdmObject.h"