-// Copyright (C) 2007-2016 CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2021 CEA/DEN, EDF R&D, OPEN CASCADE
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
#include "SMDS_MeshElement.hxx"
+#include <smIdType.hxx>
+
// ============================================================
/*!
* \brief Base class for elements not contained in the mesh
{
public:
- virtual int GetID() const;
- virtual int GetShapeID() const;
+ virtual smIdType GetID() const;
+ virtual int GetShapeID() const;
virtual void setIsMarked( bool is ) const;
virtual bool isMarked() const;
protected:
- SMDS_CellOfNodes( int id = -1, int shapeID = 0);
+ SMDS_CellOfNodes( smIdType id = -1, int shapeID = 0);
- virtual void setID( const int id);
+ virtual void setID( const smIdType id);
virtual void setShapeID( const int shapeID );
- int myID;
- int myShapeID;
+ smIdType myID;
+ int myShapeID;
enum Bits { // use the 1st right bit of myShapeId to set/unset a mark
BIT_IS_MARKED = 1,