1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-05-16 10:54:53 +03:00

0031689: Coding Rules - including STEPCAFControl_Writer.hxx produces compilation error

Added missing #include <NCollection_Vector.hxx>.
This commit is contained in:
kgv 2020-07-24 19:18:26 +03:00 committed by bugmaster
parent 9c4214b416
commit 148820b2a9
3 changed files with 8 additions and 14 deletions

View File

@ -20,6 +20,8 @@
// (analysis of SDRs which the CDSR links should be done) // (analysis of SDRs which the CDSR links should be done)
// Names and validation props are supported for top-level shapes only // Names and validation props are supported for top-level shapes only
#include <STEPCAFControl_Writer.hxx>
#include <BRep_Builder.hxx> #include <BRep_Builder.hxx>
#include <GeomToStep_MakeAxis2Placement3d.hxx> #include <GeomToStep_MakeAxis2Placement3d.hxx>
#include <GeomToStep_MakeCartesianPoint.hxx> #include <GeomToStep_MakeCartesianPoint.hxx>
@ -28,7 +30,6 @@
#include <Interface_Static.hxx> #include <Interface_Static.hxx>
#include <Message_Messenger.hxx> #include <Message_Messenger.hxx>
#include <MoniTool_DataMapIteratorOfDataMapOfShapeTransient.hxx> #include <MoniTool_DataMapIteratorOfDataMapOfShapeTransient.hxx>
#include <NCollection_Vector.hxx>
#include <OSD_Path.hxx> #include <OSD_Path.hxx>
#include <Quantity_TypeOfColor.hxx> #include <Quantity_TypeOfColor.hxx>
#include <StepAP214_Protocol.hxx> #include <StepAP214_Protocol.hxx>
@ -51,7 +52,6 @@
#include <STEPCAFControl_ActorWrite.hxx> #include <STEPCAFControl_ActorWrite.hxx>
#include <STEPCAFControl_Controller.hxx> #include <STEPCAFControl_Controller.hxx>
#include <STEPCAFControl_ExternFile.hxx> #include <STEPCAFControl_ExternFile.hxx>
#include <STEPCAFControl_Writer.hxx>
#include <STEPConstruct.hxx> #include <STEPConstruct.hxx>
#include <STEPConstruct_DataMapOfAsciiStringTransient.hxx> #include <STEPConstruct_DataMapOfAsciiStringTransient.hxx>
#include <STEPConstruct_DataMapOfPointTransient.hxx> #include <STEPConstruct_DataMapOfPointTransient.hxx>
@ -60,7 +60,6 @@
#include <STEPConstruct_Styles.hxx> #include <STEPConstruct_Styles.hxx>
#include <STEPConstruct_ValidationProps.hxx> #include <STEPConstruct_ValidationProps.hxx>
#include <STEPControl_StepModelType.hxx> #include <STEPControl_StepModelType.hxx>
#include <STEPControl_Writer.hxx>
#include <StepData_Logical.hxx> #include <StepData_Logical.hxx>
#include <StepData_StepModel.hxx> #include <StepData_StepModel.hxx>
#include <StepDimTol_AngularityTolerance.hxx> #include <StepDimTol_AngularityTolerance.hxx>

View File

@ -16,19 +16,15 @@
#ifndef _STEPCAFControl_Writer_HeaderFile #ifndef _STEPCAFControl_Writer_HeaderFile
#define _STEPCAFControl_Writer_HeaderFile #define _STEPCAFControl_Writer_HeaderFile
#include <Standard.hxx> #include <IFSelect_ReturnStatus.hxx>
#include <MoniTool_DataMapOfShapeTransient.hxx>
#include <NCollection_Vector.hxx>
#include <Standard_DefineAlloc.hxx> #include <Standard_DefineAlloc.hxx>
#include <Standard_Handle.hxx> #include <Standard_Handle.hxx>
#include <STEPControl_Writer.hxx>
#include <STEPCAFControl_DataMapOfLabelShape.hxx> #include <STEPCAFControl_DataMapOfLabelShape.hxx>
#include <STEPCAFControl_DataMapOfLabelExternFile.hxx> #include <STEPCAFControl_DataMapOfLabelExternFile.hxx>
#include <Standard_Boolean.hxx>
#include <MoniTool_DataMapOfShapeTransient.hxx>
#include <IFSelect_ReturnStatus.hxx>
#include <Standard_CString.hxx>
#include <STEPControl_StepModelType.hxx> #include <STEPControl_StepModelType.hxx>
#include <TDF_LabelSequence.hxx> #include <STEPControl_Writer.hxx>
#include <StepAP242_GeometricItemSpecificUsage.hxx> #include <StepAP242_GeometricItemSpecificUsage.hxx>
#include <StepDimTol_Datum.hxx> #include <StepDimTol_Datum.hxx>
#include <StepDimTol_GeometricTolerance.hxx> #include <StepDimTol_GeometricTolerance.hxx>
@ -36,14 +32,13 @@
#include <StepRepr_ProductDefinitionShape.hxx> #include <StepRepr_ProductDefinitionShape.hxx>
#include <StepVisual_DraughtingModel.hxx> #include <StepVisual_DraughtingModel.hxx>
#include <StepVisual_HArray1OfPresentationStyleAssignment.hxx> #include <StepVisual_HArray1OfPresentationStyleAssignment.hxx>
#include <TDF_LabelSequence.hxx>
#include <XCAFDimTolObjects_GeomToleranceObject.hxx> #include <XCAFDimTolObjects_GeomToleranceObject.hxx>
class XSControl_WorkSession; class XSControl_WorkSession;
class TDocStd_Document; class TDocStd_Document;
class TDF_Label;
class TCollection_AsciiString; class TCollection_AsciiString;
class STEPCAFControl_ExternFile; class STEPCAFControl_ExternFile;
class STEPControl_Writer;
class TopoDS_Shape; class TopoDS_Shape;
//! Provides a tool to write DECAF document to the //! Provides a tool to write DECAF document to the

View File

@ -11,13 +11,13 @@
// Alternatively, this file may be used under the terms of Open CASCADE // Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement. // commercial license or contractual agreement.
#include <STEPControl_Writer.hxx>
#include <Interface_InterfaceModel.hxx> #include <Interface_InterfaceModel.hxx>
#include <Interface_Macros.hxx> #include <Interface_Macros.hxx>
#include <Message_ProgressIndicator.hxx> #include <Message_ProgressIndicator.hxx>
#include <STEPControl_ActorWrite.hxx> #include <STEPControl_ActorWrite.hxx>
#include <STEPControl_Controller.hxx> #include <STEPControl_Controller.hxx>
#include <STEPControl_Writer.hxx>
#include <StepData_StepModel.hxx> #include <StepData_StepModel.hxx>
#include <TopExp_Explorer.hxx> #include <TopExp_Explorer.hxx>
#include <TopoDS_Shape.hxx> #include <TopoDS_Shape.hxx>