Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-09-28 09:19:37

0001 // Copyright (c) 2026 OPEN CASCADE SAS
0002 //
0003 // This file is part of Open CASCADE Technology software library.
0004 //
0005 // This library is free software; you can redistribute it and/or modify it under
0006 // the terms of the GNU Lesser General Public License version 2.1 as published
0007 // by the Free Software Foundation, with special exception defined in the file
0008 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
0009 // distribution for complete text of the license and disclaimer of any warranty.
0010 //
0011 // Alternatively, this file may be used under the terms of Open CASCADE
0012 // commercial license or contractual agreement.
0013 
0014 #ifndef _BRepGraphInc_Load_HeaderFile
0015 #define _BRepGraphInc_Load_HeaderFile
0016 
0017 #include <cstdint>
0018 
0019 //! Internal storage-side types for fixed-size indexed load preparation.
0020 namespace BRepGraphInc_Load
0021 {
0022 
0023 //! Final section counts needed to prepare `BRepGraphInc_Storage` for indexed load.
0024 struct Counts
0025 {
0026   uint32_t NbVertices               = 0; //!< Number of `VertexDef` slots.
0027   uint32_t NbEdges                  = 0; //!< Number of `EdgeDef` slots.
0028   uint32_t NbCoEdges                = 0; //!< Number of `CoEdgeDef` slots.
0029   uint32_t NbWires                  = 0; //!< Number of `WireDef` slots.
0030   uint32_t NbFaces                  = 0; //!< Number of `FaceDef` slots.
0031   uint32_t NbShells                 = 0; //!< Number of `ShellDef` slots.
0032   uint32_t NbSolids                 = 0; //!< Number of `SolidDef` slots.
0033   uint32_t NbCompounds              = 0; //!< Number of `CompoundDef` slots.
0034   uint32_t NbCompSolids             = 0; //!< Number of `CompSolidDef` slots.
0035   uint32_t NbProducts               = 0; //!< Number of `ProductDef` slots.
0036   uint32_t NbOccurrences            = 0; //!< Number of `OccurrenceDef` slots.
0037   uint32_t NbShellRefs              = 0; //!< Number of `ShellRef` slots.
0038   uint32_t NbFaceRefs               = 0; //!< Number of `FaceRef` slots.
0039   uint32_t NbWireRefs               = 0; //!< Number of `WireRef` slots.
0040   uint32_t NbVertexRefs             = 0; //!< Number of `VertexRef` slots.
0041   uint32_t NbSolidRefs              = 0; //!< Number of `SolidRef` slots.
0042   uint32_t NbChildRefs              = 0; //!< Number of `ChildRef` slots.
0043   uint32_t NbOccurrenceRefs         = 0; //!< Number of `OccurrenceRef` slots.
0044   uint32_t NbFaceSurfaceReps        = 0; //!< Number of `FaceSurfaceRep` slots.
0045   uint32_t NbEdgeCurve3DReps        = 0; //!< Number of `EdgeCurve3DRep` slots.
0046   uint32_t NbCoEdgeCurve2DReps      = 0; //!< Number of `CoEdgeCurve2DRep` slots.
0047   uint32_t NbFaceTriangulationReps  = 0; //!< Number of `FaceTriangulationRep` slots.
0048   uint32_t NbEdgePolygon3DReps      = 0; //!< Number of `EdgePolygon3DRep` slots.
0049   uint32_t NbCoEdgePolygon2DReps    = 0; //!< Number of `CoEdgePolygon2DRep` slots.
0050   uint32_t NbCoEdgePolygonOnTriReps = 0; //!< Number of `CoEdgePolygonOnTriRep` slots.
0051   uint32_t NbRootProducts           = 0; //!< Number of root product ids outside storage tables.
0052 };
0053 
0054 } // namespace BRepGraphInc_Load
0055 
0056 #endif // _BRepGraphInc_Load_HeaderFile