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 "QFileInfo"
#include "cafAppEnum.h"
#include <QFileInfo>
namespace caf
{

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -18,23 +18,10 @@
#pragma once
#include "cafAppEnum.h"
#include "cafPdmChildArrayField.h"
#include "cafPdmField.h"
#include "cafPdmObject.h"
#include "cafPdmPointer.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;
//==================================================================================================

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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