mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-02-06 23:54:18 +05:00
0020511: EDF 1101 SMESH : Add CGNS to Mesh Format Supported
- virtual int Extent(); + virtual int Extent() const;
This commit is contained in:
parent
4f20185178
commit
2ddb295e4a
@ -49,7 +49,7 @@ SMESHDS_Group::SMESHDS_Group (const int theID,
|
|||||||
//purpose :
|
//purpose :
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
|
||||||
int SMESHDS_Group::Extent()
|
int SMESHDS_Group::Extent() const
|
||||||
{
|
{
|
||||||
return myGroup.Extent();
|
return myGroup.Extent();
|
||||||
}
|
}
|
||||||
|
@ -46,7 +46,7 @@ class SMESHDS_EXPORT SMESHDS_Group : public SMESHDS_GroupBase
|
|||||||
|
|
||||||
virtual void SetType(SMDSAbs_ElementType theType);
|
virtual void SetType(SMDSAbs_ElementType theType);
|
||||||
|
|
||||||
virtual int Extent();
|
virtual int Extent() const;
|
||||||
|
|
||||||
virtual bool IsEmpty();
|
virtual bool IsEmpty();
|
||||||
|
|
||||||
|
@ -105,7 +105,7 @@ void SMESHDS_GroupBase::resetIterator()
|
|||||||
//purpose :
|
//purpose :
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
|
||||||
int SMESHDS_GroupBase::Extent()
|
int SMESHDS_GroupBase::Extent() const
|
||||||
{
|
{
|
||||||
SMDS_ElemIteratorPtr it = GetElements();
|
SMDS_ElemIteratorPtr it = GetElements();
|
||||||
int nb = 0;
|
int nb = 0;
|
||||||
|
@ -58,7 +58,7 @@ class SMESHDS_EXPORT SMESHDS_GroupBase
|
|||||||
|
|
||||||
const char* GetStoreName () const { return myStoreName.c_str(); }
|
const char* GetStoreName () const { return myStoreName.c_str(); }
|
||||||
|
|
||||||
virtual int Extent();
|
virtual int Extent() const;
|
||||||
|
|
||||||
virtual bool IsEmpty();
|
virtual bool IsEmpty();
|
||||||
|
|
||||||
@ -97,11 +97,12 @@ class SMESHDS_EXPORT SMESHDS_GroupBase
|
|||||||
const SMESHDS_Mesh* myMesh;
|
const SMESHDS_Mesh* myMesh;
|
||||||
SMDSAbs_ElementType myType;
|
SMDSAbs_ElementType myType;
|
||||||
std::string myStoreName;
|
std::string myStoreName;
|
||||||
|
Quantity_Color myColor;
|
||||||
|
|
||||||
// for GetID()
|
// for GetID()
|
||||||
int myCurIndex;
|
int myCurIndex;
|
||||||
int myCurID;
|
int myCurID;
|
||||||
SMDS_ElemIteratorPtr myIterator;
|
SMDS_ElemIteratorPtr myIterator;
|
||||||
Quantity_Color myColor;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -66,7 +66,7 @@ void SMESHDS_GroupOnFilter::SetPredicate( const SMESH_PredicatePtr& thePredicate
|
|||||||
*/
|
*/
|
||||||
//================================================================================
|
//================================================================================
|
||||||
|
|
||||||
int SMESHDS_GroupOnFilter::Extent()
|
int SMESHDS_GroupOnFilter::Extent() const
|
||||||
{
|
{
|
||||||
update();
|
update();
|
||||||
return myElements.size();
|
return myElements.size();
|
||||||
|
@ -46,7 +46,7 @@ class SMESHDS_EXPORT SMESHDS_GroupOnFilter: public SMESHDS_GroupBase
|
|||||||
|
|
||||||
SMESH_PredicatePtr GetPredicate() const { return myPredicate; }
|
SMESH_PredicatePtr GetPredicate() const { return myPredicate; }
|
||||||
|
|
||||||
virtual int Extent();
|
virtual int Extent() const;
|
||||||
|
|
||||||
virtual bool Contains (const int theID);
|
virtual bool Contains (const int theID);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user