-// Copyright (C) 2007-2019 CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2022 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
*/
struct NotifyerAndWaiter
{
- virtual void OnBaseObjModified(NotifyerAndWaiter* obj, bool removed) {};
+ virtual void OnBaseObjModified(NotifyerAndWaiter* /*obj*/, bool /*removed*/) {};
// specific reaction on modification of a base object
void Modified( bool removed=false, NotifyerAndWaiter* who = 0);
public virtual Functor_i
{
public:
- CORBA::Double GetValue( CORBA::Long theElementId );
- CORBA::Boolean IsApplicable( CORBA::Long theElementId );
+ CORBA::Double GetValue( SMESH::smIdType theElementId );
+ CORBA::Boolean IsApplicable( SMESH::smIdType theElementId );
SMESH::Histogram* GetHistogram(CORBA::Short nbIntervals,
CORBA::Boolean isLogarithmic);
SMESH::Histogram* GetLocalHistogram(CORBA::Short nbIntervals,
{
public:
RangeOfIds_i();
- void SetRange( const SMESH::long_array& theIds );
+ void SetRange( const SMESH::smIdType_array& theIds );
CORBA::Boolean SetRangeStr( const char* theRange );
char* GetRangeStr();
void SetElementType( ElementType theType );
void SetPoint( CORBA::Double x, CORBA::Double y, CORBA::Double z );
- void SetVertex( GEOM::GEOM_Object_ptr vertex )
- throw (SALOME::SALOME_Exception);
- void SetNode ( CORBA::Long nodeID )
- throw (SALOME::SALOME_Exception);
+ void SetVertex( GEOM::GEOM_Object_ptr vertex );
+ void SetNode ( SMESH::smIdType nodeID );
void SetThreshold ( const char* threshold,
- SMESH::ConnectedElements::ThresholdType type )
- throw (SALOME::SALOME_Exception);
+ SMESH::ConnectedElements::ThresholdType type );
char* GetThreshold ( SMESH::ConnectedElements::ThresholdType& type );
private:
Controls::Filter::TIdSequence& );
virtual
- long_array*
+ smIdType_array*
GetElementsId( SMESH_Mesh_ptr );
virtual
- long_array*
+ smIdType_array*
GetElementsIdFromParts( const ListOfIDSources& theParts );
virtual
// =========================
// SMESH_IDSource interface
// =========================
- virtual SMESH::long_array* GetIDs();
- virtual SMESH::long_array* GetMeshInfo();
- virtual SMESH::long_array* GetNbElementsByType();
+ virtual SMESH::smIdType_array* GetIDs();
+ virtual SMESH::smIdType_array* GetMeshInfo();
+ virtual SMESH::smIdType_array* GetNbElementsByType();
virtual SMESH::array_of_ElementType* GetTypes();
virtual SMESH::SMESH_Mesh_ptr GetMesh();
virtual bool IsMeshInfoCorrect() { return true; }