Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Copyright update 2022
[modules/smesh.git]
/
src
/
SMESH_I
/
SMESH_Group_i.hxx
diff --git
a/src/SMESH_I/SMESH_Group_i.hxx
b/src/SMESH_I/SMESH_Group_i.hxx
index 92a34a24806afec599061acee35cf212b3bb071b..469adf293a682ec4ad534fc08219bde34d025cb5 100644
(file)
--- a/
src/SMESH_I/SMESH_Group_i.hxx
+++ b/
src/SMESH_I/SMESH_Group_i.hxx
@@
-1,4
+1,4
@@
-// Copyright (C) 2007-202
0
CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-202
2
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
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@
-61,13
+61,13
@@
class SMESH_I_EXPORT SMESH_GroupBase_i:
void SetName(const char* name);
char* GetName();
SMESH::ElementType GetType();
void SetName(const char* name);
char* GetName();
SMESH::ElementType GetType();
-
CORBA::Long
Size();
+
SMESH::smIdType
Size();
CORBA::Boolean IsEmpty();
CORBA::Boolean IsEmpty();
- CORBA::Boolean Contains(
CORBA::Long
elem_id);
-
CORBA::Long GetID(CORBA::Long
elem_index);
- SMESH::
long
_array* GetListOfID();
- SMESH::
long
_array* GetNodeIDs();
-
CORBA::Long
GetNumberOfNodes();
+ CORBA::Boolean Contains(
SMESH::smIdType
elem_id);
+
SMESH::smIdType GetID(SMESH::smIdType
elem_index);
+ SMESH::
smIdType
_array* GetListOfID();
+ SMESH::
smIdType
_array* GetNodeIDs();
+
SMESH::smIdType
GetNumberOfNodes();
CORBA::Boolean IsNodeInfoAvailable(); // for gui
virtual SMESH::SMESH_Mesh_ptr GetMesh();
CORBA::Boolean IsNodeInfoAvailable(); // for gui
virtual SMESH::SMESH_Mesh_ptr GetMesh();
@@
-77,15
+77,15
@@
class SMESH_I_EXPORT SMESH_GroupBase_i:
* Result array of number of elements per \a EntityType
* Inherited from SMESH_IDSource
*/
* Result array of number of elements per \a EntityType
* Inherited from SMESH_IDSource
*/
- virtual SMESH::
long
_array* GetMeshInfo();
+ virtual SMESH::
smIdType
_array* GetMeshInfo();
/*!
* Returns number of mesh elements of each \a ElementType
*/
/*!
* Returns number of mesh elements of each \a ElementType
*/
- virtual SMESH::
long
_array* GetNbElementsByType();
+ virtual SMESH::
smIdType
_array* GetNbElementsByType();
/*!
* Returns a sequence of all element IDs
*/
/*!
* Returns a sequence of all element IDs
*/
- virtual SMESH::
long
_array* GetIDs();
+ virtual SMESH::
smIdType
_array* GetIDs();
/*!
* Returns types of elements it contains
* Inherited from SMESH_IDSource interface
/*!
* Returns types of elements it contains
* Inherited from SMESH_IDSource interface
@@
-109,7
+109,7
@@
class SMESH_I_EXPORT SMESH_GroupBase_i:
// Internal C++ interface
// Internal C++ interface
- int GetLocalID() const { return myLocalID; }
+ int GetLocalID() const { return myLocalID; }
// return group persistent ID
SMESH_Mesh_i* GetMeshServant() const { return myMeshServant; }
SMESH_Group* GetSmeshGroup() const;
SMESHDS_GroupBase* GetGroupDS() const;
SMESH_Mesh_i* GetMeshServant() const { return myMeshServant; }
SMESH_Group* GetSmeshGroup() const;
SMESHDS_GroupBase* GetGroupDS() const;
@@
-150,13
+150,13
@@
class SMESH_I_EXPORT SMESH_Group_i:
const int theLocalID );
// CORBA interface implementation
void Clear();
const int theLocalID );
// CORBA interface implementation
void Clear();
-
CORBA::Long Add( const SMESH::long
_array& theIDs );
-
CORBA::Long Remove( const SMESH::long
_array& theIDs );
+
SMESH::smIdType Add( const SMESH::smIdType
_array& theIDs );
+
SMESH::smIdType Remove( const SMESH::smIdType
_array& theIDs );
-
CORBA::Long
AddByPredicate( SMESH::Predicate_ptr thePredicate );
-
CORBA::Long
RemoveByPredicate( SMESH::Predicate_ptr thePredicate );
+
SMESH::smIdType
AddByPredicate( SMESH::Predicate_ptr thePredicate );
+
SMESH::smIdType
RemoveByPredicate( SMESH::Predicate_ptr thePredicate );
-
CORBA::Long
AddFrom( SMESH::SMESH_IDSource_ptr theSource );
+
SMESH::smIdType
AddFrom( SMESH::SMESH_IDSource_ptr theSource );
};
// =========================
};
// =========================
@@
-199,8
+199,8
@@
class SMESH_I_EXPORT SMESH_GroupOnFilter_i:
void SetFilter(SMESH::Filter_ptr theFilter);
SMESH::Filter_ptr GetFilter();
virtual CORBA::Boolean IsUpToDate();
void SetFilter(SMESH::Filter_ptr theFilter);
SMESH::Filter_ptr GetFilter();
virtual CORBA::Boolean IsUpToDate();
- virtual SMESH::
long
_array* GetListOfID();
- virtual SMESH::
long
_array* GetMeshInfo();
+ virtual SMESH::
smIdType
_array* GetListOfID();
+ virtual SMESH::
smIdType
_array* GetMeshInfo();
//! @return false in two cases: 1) if mesh not loaded and GetMeshInfo() returns
//! incorrect information 2) mesh loaded but group contents is not computed.
virtual bool IsMeshInfoCorrect();
//! @return false in two cases: 1) if mesh not loaded and GetMeshInfo() returns
//! incorrect information 2) mesh loaded but group contents is not computed.
virtual bool IsMeshInfoCorrect();