1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00

0024975: Improve of preprocessor directives in header files to be equal to the file name

Preprocessor directives were changed or created by function "check_headers" from script adm/upgrade.tcl (CR24816)
This commit is contained in:
ski 2021-10-18 11:52:10 +03:00 committed by smoskvin
parent 4f7ad5fb76
commit 5bd54bef32
142 changed files with 303 additions and 279 deletions

View File

@ -17,8 +17,8 @@
| de l'approximation a deux variables
| a utiliser dans AdvApp2Var
|--------------------------------------------------------------*/
#ifndef ApproxF2var_HeaderFile
#define ApproxF2var_HeaderFile
#ifndef AdvApp2Var_ApproxF2var_HeaderFile
#define AdvApp2Var_ApproxF2var_HeaderFile
#include <Standard_Macro.hxx>
#include <AdvApp2Var_Data_f2c.hxx>

View File

@ -12,8 +12,8 @@
// commercial license or contractual agreement.
// AdvApp2Var_Data_f2c.hxx
#ifndef Data_f2c_HeaderFile
#define Data_f2c_HeaderFile
#ifndef AdvApp2Var_Data_f2c_HeaderFile
#define AdvApp2Var_Data_f2c_HeaderFile
#ifndef F2CTYPE_DEFINED
typedef int integer;

View File

@ -12,8 +12,8 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef math_ContMatrices_HeaderFile
#define math_ContMatrices_HeaderFile
#ifndef AppCont_ContMatrices_HeaderFile
#define AppCont_ContMatrices_HeaderFile
#include <math_Vector.hxx>
#include <Standard_Real.hxx>

View File

@ -11,8 +11,8 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef _Aspect_DisplayConnection_H__
#define _Aspect_DisplayConnection_H__
#ifndef Aspect_DisplayConnection_HeaderFile
#define Aspect_DisplayConnection_HeaderFile
#include <Standard_Transient.hxx>
#include <Aspect_XAtom.hxx>

View File

@ -13,8 +13,8 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef ASPECT_POLYGONOFFSETMODE_HEADER
#define ASPECT_POLYGONOFFSETMODE_HEADER
#ifndef Aspect_PolygonOffsetMode_HeaderFile
#define Aspect_PolygonOffsetMode_HeaderFile
// Enumeration for polygon offset modes

View File

@ -12,8 +12,8 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef BOPDS_VectorOfPnt_HeaderFile
#define BOPDS_VectorOfPnt_HeaderFile
#ifndef BOPDS_VectorOfPoint_HeaderFile
#define BOPDS_VectorOfPoint_HeaderFile
#include <NCollection_Vector.hxx>
#include <BOPDS_Point.hxx>

View File

@ -12,8 +12,8 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef BOPTest_MapOfShapeSet_HeaderFile
#define BOPTest_MapOfShapeSet_HeaderFile
#ifndef BOPTools_MapOfSet_HeaderFile
#define BOPTools_MapOfSet_HeaderFile
#include <BOPTools_Set.hxx>
#include <BOPTools_SetMapHasher.hxx>

View File

@ -13,8 +13,8 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef _BRepBuilderAPI_BndBoxTreeSelector_Header
#define _BRepBuilderAPI_BndBoxTreeSelector_Header
#ifndef BRepBuilderAPI_BndBoxTreeSelector_HeaderFile
#define BRepBuilderAPI_BndBoxTreeSelector_HeaderFile
#include <TColStd_ListOfInteger.hxx>
#include <Bnd_Box.hxx>

View File

@ -13,8 +13,8 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef _BRepBuilderAPI_VertexInspector_Header
#define _BRepBuilderAPI_VertexInspector_Header
#ifndef BRepBuilderAPI_VertexInspector_HeaderFile
#define BRepBuilderAPI_VertexInspector_HeaderFile
#include <TColStd_ListOfInteger.hxx>
#include <NCollection_Vector.hxx>

View File

@ -13,8 +13,8 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef BRepMesh_CircleInspector_Header
#define BRepMesh_CircleInspector_Header
#ifndef BRepMesh_CircleInspector_HeaderFile
#define BRepMesh_CircleInspector_HeaderFile
#include <IMeshData_Types.hxx>
#include <BRepMesh_Circle.hxx>

View File

@ -13,8 +13,8 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef _BVH_BinnedBuilder_Header
#define _BVH_BinnedBuilder_Header
#ifndef BVH_BinnedBuilder_HeaderFile
#define BVH_BinnedBuilder_HeaderFile
#include <BVH_QueueBuilder.hxx>

View File

@ -13,8 +13,8 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef _BVH_Box_Header
#define _BVH_Box_Header
#ifndef BVH_Box_HeaderFile
#define BVH_Box_HeaderFile
#include <BVH_Constants.hxx>
#include <BVH_Types.hxx>

View File

@ -13,8 +13,8 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef _BVH_Builder_Header
#define _BVH_Builder_Header
#ifndef BVH_Builder_HeaderFile
#define BVH_Builder_HeaderFile
#include <BVH_Set.hxx>
#include <BVH_BinaryTree.hxx>

View File

@ -13,8 +13,8 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef _BVH_Geometry_Header
#define _BVH_Geometry_Header
#ifndef BVH_Geometry_HeaderFile
#define BVH_Geometry_HeaderFile
#include <BVH_ObjectSet.hxx>
#include <BVH_Builder.hxx>

View File

@ -13,8 +13,8 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef _BVH_Object_Header
#define _BVH_Object_Header
#ifndef BVH_Object_HeaderFile
#define BVH_Object_HeaderFile
#include <BVH_Box.hxx>
#include <BVH_Properties.hxx>

View File

@ -13,8 +13,8 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef _BVH_ObjectSet_Header
#define _BVH_ObjectSet_Header
#ifndef BVH_ObjectSet_HeaderFile
#define BVH_ObjectSet_HeaderFile
#include <BVH_Set.hxx>
#include <BVH_Object.hxx>

View File

@ -13,8 +13,8 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef _BVH_PrimitiveSet_Header
#define _BVH_PrimitiveSet_Header
#ifndef BVH_PrimitiveSet_HeaderFile
#define BVH_PrimitiveSet_HeaderFile
#include <BVH_Object.hxx>
#include <BVH_Builder.hxx>

View File

@ -13,8 +13,8 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef _BVH_Properties_Header
#define _BVH_Properties_Header
#ifndef BVH_Properties_HeaderFile
#define BVH_Properties_HeaderFile
#include <BVH_Box.hxx>

View File

@ -13,8 +13,8 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef _BVH_Set_Header
#define _BVH_Set_Header
#ifndef BVH_Set_HeaderFile
#define BVH_Set_HeaderFile
#include <BVH_Box.hxx>

View File

@ -13,8 +13,8 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef _BVH_Sorter_Header
#define _BVH_Sorter_Header
#ifndef BVH_Sorter_HeaderFile
#define BVH_Sorter_HeaderFile
#include <BVH_Set.hxx>

View File

@ -13,8 +13,8 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef _BVH_SpatialMedianBuilder_Header
#define _BVH_SpatialMedianBuilder_Header
#ifndef BVH_SpatialMedianBuilder_HeaderFile
#define BVH_SpatialMedianBuilder_HeaderFile
#include <BVH_BinnedBuilder.hxx>
#include <BVH_Box.hxx>

View File

@ -13,8 +13,8 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef _BVH_SweepPlaneBuilder_Header
#define _BVH_SweepPlaneBuilder_Header
#ifndef BVH_SweepPlaneBuilder_HeaderFile
#define BVH_SweepPlaneBuilder_HeaderFile
#include <BVH_QueueBuilder.hxx>
#include <BVH_QuickSorter.hxx>

View File

@ -13,8 +13,8 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef _BVH_Triangulation_Header
#define _BVH_Triangulation_Header
#ifndef BVH_Triangulation_HeaderFile
#define BVH_Triangulation_HeaderFile
#include <BVH_PrimitiveSet.hxx>

View File

@ -13,8 +13,8 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef _BVH_Types_Header
#define _BVH_Types_Header
#ifndef BVH_Types_HeaderFile
#define BVH_Types_HeaderFile
// Use this macro to switch between STL and OCCT vector types
#define _BVH_USE_STD_VECTOR_

View File

@ -13,8 +13,8 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef BinLDrivers_VectorOfDocumentSection_H
#define BinLDrivers_VectorOfDocumentSection_H
#ifndef BinLDrivers_VectorOfDocumentSection_HeaderFile
#define BinLDrivers_VectorOfDocumentSection_HeaderFile
#include <NCollection_Vector.hxx>
#include <BinLDrivers_DocumentSection.hxx>

View File

@ -13,8 +13,8 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef _ANAFILLETALGO_H_
#define _ANAFILLETALGO_H_
#ifndef ChFi2d_AnaFilletAlgo_HeaderFile
#define ChFi2d_AnaFilletAlgo_HeaderFile
#include <TopoDS_Wire.hxx>
#include <TopoDS_Edge.hxx>

View File

@ -13,8 +13,8 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef _CHAMFERAPI_H_
#define _CHAMFERAPI_H_
#ifndef ChFi2d_ChamferAPI_HeaderFile
#define ChFi2d_ChamferAPI_HeaderFile
#include <TopoDS_Edge.hxx>
#include <TopoDS_Wire.hxx>

View File

@ -13,8 +13,8 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef _CHFI2D_FILLETAPI_H_
#define _CHFI2D_FILLETAPI_H_
#ifndef ChFi2d_FilletAPI_HeaderFile
#define ChFi2d_FilletAPI_HeaderFile
#include <ChFi2d_FilletAlgo.hxx>
#include <ChFi2d_AnaFilletAlgo.hxx>

View File

@ -13,8 +13,8 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef _FILLETALGO_H_
#define _FILLETALGO_H_
#ifndef ChFi2d_FilletAlgo_HeaderFile
#define ChFi2d_FilletAlgo_HeaderFile
#include <TopoDS_Edge.hxx>
#include <TopoDS_Wire.hxx>

View File

@ -14,15 +14,14 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef ChFiKPart_ComputeData_CS_HeaderFile
#define ChFiKPart_ComputeData_CS_HeaderFile
#include <Adaptor3d_Surface.hxx>
#include <gp_Pnt2d.hxx>
#include <gp_Cylinder.hxx>
#include <gp_Circ.hxx>
#ifndef ChFiKPart_ComputeData_CS_HeaderFile
#define ChFiKPart_ComputeData_CS_HeaderFile
void ChFiKPart_CornerSpine(const Handle(Adaptor3d_Surface)& S1,
const Handle(Adaptor3d_Surface)& S2,
const gp_Pnt2d& P1S1,

View File

@ -14,8 +14,8 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef ChFiKPart_ComputeData_PlnCon_HeaderFile
#define ChFiKPart_ComputeData_PlnCon_HeaderFile
#ifndef ChFiKPart_ComputeData_FilPlnCon_HeaderFile
#define ChFiKPart_ComputeData_FilPlnCon_HeaderFile
Standard_Boolean ChFiKPart_MakeFillet(TopOpeBRepDS_DataStructure& DStr,
const Handle(ChFiDS_SurfData)& Data,

View File

@ -14,8 +14,8 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef ChFiKPart_ComputeData_PlnCyl_HeaderFile
#define ChFiKPart_ComputeData_PlnCyl_HeaderFile
#ifndef ChFiKPart_ComputeData_FilPlnCyl_HeaderFile
#define ChFiKPart_ComputeData_FilPlnCyl_HeaderFile
Standard_Boolean ChFiKPart_MakeFillet(TopOpeBRepDS_DataStructure& DStr,
const Handle(ChFiDS_SurfData)& Data,

View File

@ -14,8 +14,8 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef ChFiKPart_ComputeData_PlnPln_HeaderFile
#define ChFiKPart_ComputeData_PlnPln_HeaderFile
#ifndef ChFiKPart_ComputeData_FilPlnPln_HeaderFile
#define ChFiKPart_ComputeData_FilPlnPln_HeaderFile
Standard_Boolean ChFiKPart_MakeFillet(TopOpeBRepDS_DataStructure& DStr,
const Handle(ChFiDS_SurfData)& Data,

View File

@ -11,8 +11,8 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef __Cocoa_LocalPool_h_
#define __Cocoa_LocalPool_h_
#ifndef Cocoa_LocalPool_HeaderFile
#define Cocoa_LocalPool_HeaderFile
#if defined(__clang__) && (__clang_major__ >= 4)
#if __has_feature(objc_arc)

View File

@ -13,8 +13,8 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef _Cocoa_Window_H__
#define _Cocoa_Window_H__
#ifndef Cocoa_Window_HeaderFile
#define Cocoa_Window_HeaderFile
#if defined(__APPLE__)
#import <TargetConditionals.h>

View File

@ -14,13 +14,13 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef Convert_CosAndSinEvalFunction_HeaderFile
#define Convert_CosAndSinEvalFunction_HeaderFile
#include <TColgp_Array1OfPnt2d.hxx>
#include <TColStd_Array1OfReal.hxx>
#include <TColStd_Array1OfInteger.hxx>
#ifndef _Convert_CosAnSinEvalFunction_HeaderFile
#define _Convert_CosAnSinEvalFunction_HeaderFile
typedef void Convert_CosAndSinEvalFunction(Standard_Real,
const Standard_Integer,
const TColgp_Array1OfPnt2d&,

View File

@ -14,12 +14,12 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef Convert_PolynomialCosAndSin_HeaderFile
#define Convert_PolynomialCosAndSin_HeaderFile
#include <TColStd_HArray1OfReal.hxx>
#include <TColStd_HArray1OfInteger.hxx>
#ifndef _Convert_PolynomialCosAnSin_HeaderFile
#define _Convert_PolynomialCosAnSin_HeaderFile
void BuildPolynomialCosAndSin
(const Standard_Real,
const Standard_Real,

View File

@ -11,8 +11,8 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef _DsgPrs_DatumPrs_H__
#define _DsgPrs_DatumPrs_H__
#ifndef DsgPrs_DatumPrs_HeaderFile
#define DsgPrs_DatumPrs_HeaderFile
#include <gp_Ax2.hxx>
#include <Prs3d_Drawer.hxx>

View File

@ -12,8 +12,8 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef _Font_BRepFont_H__
#define _Font_BRepFont_H__
#ifndef Font_BRepFont_HeaderFile
#define Font_BRepFont_HeaderFile
#include <StdPrs_BRepFont.hxx>

View File

@ -13,8 +13,8 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef _Font_FTFont_H__
#define _Font_FTFont_H__
#ifndef Font_FTFont_HeaderFile
#define Font_FTFont_HeaderFile
#include <Font_FontAspect.hxx>
#include <Font_Hinting.hxx>

View File

@ -13,8 +13,8 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef _Font_FTLibrary_H__
#define _Font_FTLibrary_H__
#ifndef Font_FTLibrary_HeaderFile
#define Font_FTLibrary_HeaderFile
#include <Standard_Type.hxx>
#include <Standard_Transient.hxx>

View File

@ -11,8 +11,8 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef _Graphic3d_BufferType_H__
#define _Graphic3d_BufferType_H__
#ifndef Graphic3d_BufferType_HeaderFile
#define Graphic3d_BufferType_HeaderFile
//! Define buffers available for dump
enum Graphic3d_BufferType

View File

@ -13,8 +13,8 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef _Graphic3d_MarkerImage_H__
#define _Graphic3d_MarkerImage_H__
#ifndef Graphic3d_MarkerImage_HeaderFile
#define Graphic3d_MarkerImage_HeaderFile
#include <Aspect_TypeOfMarker.hxx>
#include <Graphic3d_Vec4.hxx>

View File

@ -13,8 +13,8 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef Graphic3d_TRANS_MODE_FLAGS_HXX
#define Graphic3d_TRANS_MODE_FLAGS_HXX
#ifndef Graphic3d_TransModeFlags_HeaderFile
#define Graphic3d_TransModeFlags_HeaderFile
//! Transform Persistence Mode defining whether to lock in object position, rotation and / or zooming relative to camera position.
enum Graphic3d_TransModeFlags

View File

@ -13,8 +13,8 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef _Graphic3d_Vec_H__
#define _Graphic3d_Vec_H__
#ifndef Graphic3d_Vec_HeaderFile
#define Graphic3d_Vec_HeaderFile
#include <Graphic3d_Vec2.hxx>
#include <Graphic3d_Vec3.hxx>

View File

@ -11,6 +11,9 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef IGESData_Dump_HeaderFile
#define IGESData_Dump_HeaderFile
// --------------------------
// IGESData_Dump.hxx
// --------------------------
@ -307,3 +310,5 @@ if (str.IsNull()) S << "(undefined)";\
}\
}\
}
#endif

View File

@ -13,8 +13,8 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef _Image_AlienPixMap_H__
#define _Image_AlienPixMap_H__
#ifndef Image_AlienPixMap_HeaderFile
#define Image_AlienPixMap_HeaderFile
#include <Image_PixMap.hxx>

View File

@ -13,8 +13,8 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef _Image_Color_H__
#define _Image_Color_H__
#ifndef Image_Color_HeaderFile
#define Image_Color_HeaderFile
#include <Standard.hxx>

View File

@ -13,8 +13,8 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef _Image_Diff_H__
#define _Image_Diff_H__
#ifndef Image_Diff_HeaderFile
#define Image_Diff_HeaderFile
#include <Image_PixMap.hxx>
#include <TCollection_AsciiString.hxx>

View File

@ -13,8 +13,8 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef _Image_PixMap_H__
#define _Image_PixMap_H__
#ifndef Image_PixMap_HeaderFile
#define Image_PixMap_HeaderFile
#include <Image_CompressedFormat.hxx>
#include <Image_PixMapData.hxx>

View File

@ -13,8 +13,8 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef _Image_PixMapData_H__
#define _Image_PixMapData_H__
#ifndef Image_PixMapData_HeaderFile
#define Image_PixMapData_HeaderFile
#include <Image_Color.hxx>
#include <NCollection_Buffer.hxx>

View File

@ -15,8 +15,8 @@
//============================================================================
//======================================================= IntAna2d_Outils.hxx
//============================================================================
#ifndef IntAna2d_Outil_HeaderFile
#define IntAna2d_Outil_HeaderFile
#ifndef IntAna2d_Outils_HeaderFile
#define IntAna2d_Outils_HeaderFile
#include <math_DirectPolynomialRoots.hxx>
#include <math_TrigonometricFunctionRoots.hxx>

View File

@ -12,6 +12,9 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef IntImp_ComputeTangence_HeaderFile
#define IntImp_ComputeTangence_HeaderFile
#include <gp_Vec.hxx>
#include <IntImp_ConstIsoparametric.hxx>
@ -21,3 +24,5 @@ Standard_EXPORT Standard_Boolean IntImp_ComputeTangence(const gp_Vec DPuv[],
const Standard_Real EpsUV[],
Standard_Real Tgduv[],
IntImp_ConstIsoparametric TabIso[]);
#endif

View File

@ -11,6 +11,9 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef Interface_Statics_HeaderFile
#define Interface_Statics_HeaderFile
// Macros to help static Handles not to be "constructed" before main run
// In order to avoid it, the Handle to be statically reserved is encapsulated
// in a structure itself designated through a Null Pointer :
@ -90,3 +93,5 @@ Handle(type)& var = var##_s->H;
#define InitHandleVal(type,var,value) \
if(!var##_s) { var##_s=new type##_struc; var##_s->H=value; }\
Handle(type)& var = var##_s->H;
#endif

View File

@ -11,6 +11,9 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef Interface_Translates_HeaderFile
#define Interface_Translates_HeaderFile
// Interface_Translates.hxx
// This set of macros provides some simple translation formula, i.e.
@ -81,3 +84,5 @@ if (!seq.IsNull()) {\
for (nument = numlow; nument <= numup; nument ++)\
seq->Append(arr->Value(nument));\
}
#endif

View File

@ -13,8 +13,8 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef _Sequence_Declare_HeaderFile
#define _Sequence_Declare_HeaderFile
#ifndef LDOM_DeclareSequence_HeaderFile
#define LDOM_DeclareSequence_HeaderFile
#ifndef _Standard_Macro_HeaderFile
#include <Standard_Macro.hxx>

View File

@ -13,8 +13,8 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef MeshVS_BUILDERPRIORITY_HXX
#define MeshVS_BUILDERPRIORITY_HXX
#ifndef MeshVS_BuilderPriority_HeaderFile
#define MeshVS_BuilderPriority_HeaderFile
typedef Standard_Integer MeshVS_BuilderPriority;

View File

@ -13,8 +13,8 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef MeshVS_DISPLAY_MODE_FLAGS_HXX
#define MeshVS_DISPLAY_MODE_FLAGS_HXX
#ifndef MeshVS_DisplayModeFlags_HeaderFile
#define MeshVS_DisplayModeFlags_HeaderFile
typedef Standard_Integer MeshVS_DisplayModeFlags;

View File

@ -13,8 +13,8 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef MeshVS_ENTITYTYPEHXX
#define MeshVS_ENTITYTYPEHXX
#ifndef MeshVS_EntityType_HeaderFile
#define MeshVS_EntityType_HeaderFile
typedef enum
{

View File

@ -13,8 +13,8 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef MeshVS_SELECTION_MODE_FLAGS_HXX
#define MeshVS_SELECTION_MODE_FLAGS_HXX
#ifndef MeshVS_SelectionModeFlags_HeaderFile
#define MeshVS_SelectionModeFlags_HeaderFile
typedef enum
{

View File

@ -11,8 +11,8 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef __TWO_NODES_STRUCT_HEADER__
#define __TWO_NODES_STRUCT_HEADER__
#ifndef MeshVS_TwoNodes_HeaderFile
#define MeshVS_TwoNodes_HeaderFile
#ifndef _Standard_HeaderFile
#include <Standard.hxx>

View File

@ -13,8 +13,8 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef _NCollection_String_H__
#define _NCollection_String_H__
#ifndef NCollection_String_HeaderFile
#define NCollection_String_HeaderFile
#include "NCollection_UtfString.hxx"

View File

@ -13,8 +13,8 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef _NCollection_UtfIterator_H__
#define _NCollection_UtfIterator_H__
#ifndef NCollection_UtfIterator_HeaderFile
#define NCollection_UtfIterator_HeaderFile
#include <Standard_Handle.hxx>

View File

@ -13,8 +13,8 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef _NCollection_UtfString_H__
#define _NCollection_UtfString_H__
#ifndef NCollection_UtfString_HeaderFile
#define NCollection_UtfString_HeaderFile
#include <NCollection_UtfIterator.hxx>

View File

@ -12,8 +12,8 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef _NCollection_Vec2_H__
#define _NCollection_Vec2_H__
#ifndef NCollection_Vec2_HeaderFile
#define NCollection_Vec2_HeaderFile
#include <cmath> // std::sqrt()

View File

@ -12,8 +12,8 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef _NCollection_Vec3_H__
#define _NCollection_Vec3_H__
#ifndef NCollection_Vec3_HeaderFile
#define NCollection_Vec3_HeaderFile
#include <cstring>
#include <cmath>

View File

@ -12,8 +12,8 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef _NCollection_Vec4_H__
#define _NCollection_Vec4_H__
#ifndef NCollection_Vec4_HeaderFile
#define NCollection_Vec4_HeaderFile
#include <NCollection_Vec3.hxx>

View File

@ -12,8 +12,8 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef List_Of_Errors
#define List_Of_Errors
#ifndef OSD_ErrorList_HeaderFile
#define OSD_ErrorList_HeaderFile
#include <OSD_WhoAmI.hxx>
#include <errno.h>

View File

@ -13,8 +13,8 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef _OSD_MemInfo_H__
#define _OSD_MemInfo_H__
#ifndef OSD_MemInfo_HeaderFile
#define OSD_MemInfo_HeaderFile
#include <NCollection_Map.hxx>
#include <TCollection_AsciiString.hxx>

View File

@ -12,8 +12,8 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef __OSD_WNT_H
# define __OSD_WNT_H
#ifndef OSD_WNT_HeaderFile
#define OSD_WNT_HeaderFile
# ifndef STRICT
# define STRICT
@ -110,4 +110,4 @@ void SetResponseDirectoryProc ( RESPONSE_DIR_PROC );
}
# endif /* __cplusplus */
#endif /* __OSD_WNT_H */
#endif

View File

@ -13,8 +13,8 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef _OpenGl_ArbDbg_H__
#define _OpenGl_ArbDbg_H__
#ifndef OpenGl_ArbDbg_HeaderFile
#define OpenGl_ArbDbg_HeaderFile
#include <OpenGl_GlFunctions.hxx>

View File

@ -13,8 +13,8 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef _OpenGl_ArbFBO_H__
#define _OpenGl_ArbFBO_H__
#ifndef OpenGl_ArbFBO_HeaderFile
#define OpenGl_ArbFBO_HeaderFile
#include <OpenGl_GlFunctions.hxx>

View File

@ -13,8 +13,8 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef _OpenGl_ArbIns_H__
#define _OpenGl_ArbIns_H__
#ifndef OpenGl_ArbIns_HeaderFile
#define OpenGl_ArbIns_HeaderFile
#include <OpenGl_GlFunctions.hxx>

View File

@ -13,8 +13,8 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef _OpenGl_ArbTBO_H__
#define _OpenGl_ArbTBO_H__
#ifndef OpenGl_ArbTBO_HeaderFile
#define OpenGl_ArbTBO_HeaderFile
#include <OpenGl_GlFunctions.hxx>

View File

@ -13,8 +13,8 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef _OpenGl_CappingAlgo_H__
#define _OpenGl_CappingAlgo_H__
#ifndef OpenGl_CappingAlgo_HeaderFile
#define OpenGl_CappingAlgo_HeaderFile
#include <OpenGl_Group.hxx>

View File

@ -13,8 +13,8 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef _OpenGl_CappingPlaneResource_H__
#define _OpenGl_CappingPlaneResource_H__
#ifndef OpenGl_CappingPlaneResource_HeaderFile
#define OpenGl_CappingPlaneResource_HeaderFile
#include <OpenGl_PrimitiveArray.hxx>
#include <OpenGl_Resource.hxx>

View File

@ -13,8 +13,8 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef _OpenGl_Caps_H__
#define _OpenGl_Caps_H__
#ifndef OpenGl_Caps_HeaderFile
#define OpenGl_Caps_HeaderFile
#include <Standard_Type.hxx>
#include <Standard_Transient.hxx>

View File

@ -13,8 +13,8 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef _OpenGl_Clipping_H__
#define _OpenGl_Clipping_H__
#ifndef OpenGl_Clipping_HeaderFile
#define OpenGl_Clipping_HeaderFile
#include <Graphic3d_SequenceOfHClipPlane.hxx>
#include <NCollection_Vector.hxx>

View File

@ -13,8 +13,8 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef _OpenGl_Context_H__
#define _OpenGl_Context_H__
#ifndef OpenGl_Context_HeaderFile
#define OpenGl_Context_HeaderFile
#include <Aspect_Handle.hxx>
#include <Aspect_HatchStyle.hxx>

View File

@ -13,8 +13,8 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef OpenGl_Element_Header
#define OpenGl_Element_Header
#ifndef OpenGl_Element_HeaderFile
#define OpenGl_Element_HeaderFile
#include <OpenGl_RenderFilter.hxx>
#include <Standard_Type.hxx>

View File

@ -13,8 +13,8 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef _OpenGl_ExtGS_H__
#define _OpenGl_ExtGS_H__
#ifndef OpenGl_ExtGS_HeaderFile
#define OpenGl_ExtGS_HeaderFile
#include <OpenGl_GlFunctions.hxx>

View File

@ -11,8 +11,8 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef OpenGl_Flipper_Header
#define OpenGl_Flipper_Header
#ifndef OpenGl_Flipper_HeaderFile
#define OpenGl_Flipper_HeaderFile
#include <OpenGl_Element.hxx>
#include <OpenGl_Vec.hxx>

View File

@ -13,8 +13,8 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef _OpenGl_Font_H__
#define _OpenGl_Font_H__
#ifndef OpenGl_Font_HeaderFile
#define OpenGl_Font_HeaderFile
#include <OpenGl_Texture.hxx>
#include <OpenGl_Vec.hxx>

View File

@ -12,8 +12,8 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef OPENGL_FRAME_BUFFER_H
#define OPENGL_FRAME_BUFFER_H
#ifndef OpenGl_FrameBuffer_HeaderFile
#define OpenGl_FrameBuffer_HeaderFile
#include <OpenGl_Resource.hxx>

View File

@ -13,8 +13,8 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef _OpenGl_GlCore11_Header
#define _OpenGl_GlCore11_Header
#ifndef OpenGl_GlCore11_HeaderFile
#define OpenGl_GlCore11_HeaderFile
#include <OpenGl_GlCore11Fwd.hxx>

View File

@ -13,8 +13,8 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef _OpenGl_GlCore11Fwd_Header
#define _OpenGl_GlCore11Fwd_Header
#ifndef OpenGl_GlCore11Fwd_HeaderFile
#define OpenGl_GlCore11Fwd_HeaderFile
#include <OpenGl_GlFunctions.hxx>

View File

@ -13,8 +13,8 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef _OpenGl_GlCore12_Header
#define _OpenGl_GlCore12_Header
#ifndef OpenGl_GlCore12_HeaderFile
#define OpenGl_GlCore12_HeaderFile
#include <OpenGl_GlCore11.hxx>

View File

@ -13,8 +13,8 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef _OpenGl_GlCore13_Header
#define _OpenGl_GlCore13_Header
#ifndef OpenGl_GlCore13_HeaderFile
#define OpenGl_GlCore13_HeaderFile
#include <OpenGl_GlCore12.hxx>

View File

@ -13,8 +13,8 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef _OpenGl_GlCore14_Header
#define _OpenGl_GlCore14_Header
#ifndef OpenGl_GlCore14_HeaderFile
#define OpenGl_GlCore14_HeaderFile
#include <OpenGl_GlCore13.hxx>

View File

@ -13,8 +13,8 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef _OpenGl_GlCore15_Header
#define _OpenGl_GlCore15_Header
#ifndef OpenGl_GlCore15_HeaderFile
#define OpenGl_GlCore15_HeaderFile
#include <OpenGl_GlCore14.hxx>

View File

@ -13,8 +13,8 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef _OpenGl_GlCore20_Header
#define _OpenGl_GlCore20_Header
#ifndef OpenGl_GlCore20_HeaderFile
#define OpenGl_GlCore20_HeaderFile
#include <OpenGl_GlCore15.hxx>

View File

@ -13,8 +13,8 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef _OpenGl_GlCore21_Header
#define _OpenGl_GlCore21_Header
#ifndef OpenGl_GlCore21_HeaderFile
#define OpenGl_GlCore21_HeaderFile
#include <OpenGl_GlCore20.hxx>

View File

@ -13,8 +13,8 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef _OpenGl_GlCore30_Header
#define _OpenGl_GlCore30_Header
#ifndef OpenGl_GlCore30_HeaderFile
#define OpenGl_GlCore30_HeaderFile
#include <OpenGl_GlCore21.hxx>

View File

@ -13,8 +13,8 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef _OpenGl_GlCore31_Header
#define _OpenGl_GlCore31_Header
#ifndef OpenGl_GlCore31_HeaderFile
#define OpenGl_GlCore31_HeaderFile
#include <OpenGl_GlCore30.hxx>

View File

@ -13,8 +13,8 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef _OpenGl_GlCore32_Header
#define _OpenGl_GlCore32_Header
#ifndef OpenGl_GlCore32_HeaderFile
#define OpenGl_GlCore32_HeaderFile
#include <OpenGl_GlCore31.hxx>

View File

@ -13,8 +13,8 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef _OpenGl_GlCore33_Header
#define _OpenGl_GlCore33_Header
#ifndef OpenGl_GlCore33_HeaderFile
#define OpenGl_GlCore33_HeaderFile
#include <OpenGl_GlCore32.hxx>

View File

@ -13,8 +13,8 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef _OpenGl_GlCore40_Header
#define _OpenGl_GlCore40_Header
#ifndef OpenGl_GlCore40_HeaderFile
#define OpenGl_GlCore40_HeaderFile
#include <OpenGl_GlCore33.hxx>

View File

@ -13,8 +13,8 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef _OpenGl_GlCore41_Header
#define _OpenGl_GlCore41_Header
#ifndef OpenGl_GlCore41_HeaderFile
#define OpenGl_GlCore41_HeaderFile
#include <OpenGl_GlCore40.hxx>

View File

@ -13,8 +13,8 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef _OpenGl_GlCore42_Header
#define _OpenGl_GlCore42_Header
#ifndef OpenGl_GlCore42_HeaderFile
#define OpenGl_GlCore42_HeaderFile
#include <OpenGl_GlCore41.hxx>

View File

@ -13,8 +13,8 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef _OpenGl_GlCore43_Header
#define _OpenGl_GlCore43_Header
#ifndef OpenGl_GlCore43_HeaderFile
#define OpenGl_GlCore43_HeaderFile
#include <OpenGl_GlCore42.hxx>

Some files were not shown because too many files have changed in this diff Show More