Version: 8.3.0
SMESH::Controls::RangeOfIds Class Reference

#include <SMESH_ControlsDef.hxx>

Inheritance diagram for SMESH::Controls::RangeOfIds:

Public Member Functions

 RangeOfIds ()
 
virtual void SetMesh (const SMDS_Mesh *theMesh)
 
virtual bool IsSatisfy (long theNodeId)
 
virtual SMDSAbs_ElementType GetType () const
 
virtual void SetType (SMDSAbs_ElementType theType)
 
bool AddToRange (long theEntityId)
 
void GetRangeStr (TCollection_AsciiString &)
 
bool SetRangeStr (const TCollection_AsciiString &)
 
virtual Predicateclone () const
 

Protected Attributes

const SMDS_MeshmyMesh
 
TColStd_SequenceOfInteger myMin
 
TColStd_SequenceOfInteger myMax
 
TColStd_MapOfInteger myIds
 
SMDSAbs_ElementType myType
 

Constructor & Destructor Documentation

RangeOfIds::RangeOfIds ( )

References myMesh, myType, and SMDSAbs_All.

Member Function Documentation

bool RangeOfIds::AddToRange ( long  theEntityId)

References myIds.

void RangeOfIds::GetRangeStr ( TCollection_AsciiString &  theResStr)

References myIds, myMax, and myMin.

SMDSAbs_ElementType RangeOfIds::GetType ( ) const
virtual

Implements SMESH::Controls::Predicate.

References myType.

void RangeOfIds::SetMesh ( const SMDS_Mesh theMesh)
virtual

Implements SMESH::Controls::Functor.

References myMesh.

bool RangeOfIds::SetRangeStr ( const TCollection_AsciiString &  theStr)

References myIds, myMax, and myMin.

void RangeOfIds::SetType ( SMDSAbs_ElementType  theType)
virtual

References myType.

Field Documentation

TColStd_MapOfInteger SMESH::Controls::RangeOfIds::myIds
protected
TColStd_SequenceOfInteger SMESH::Controls::RangeOfIds::myMax
protected

Referenced by GetRangeStr(), IsSatisfy(), and SetRangeStr().

const SMDS_Mesh* SMESH::Controls::RangeOfIds::myMesh
protected

Referenced by IsSatisfy(), RangeOfIds(), and SetMesh().

TColStd_SequenceOfInteger SMESH::Controls::RangeOfIds::myMin
protected

Referenced by GetRangeStr(), IsSatisfy(), and SetRangeStr().

SMDSAbs_ElementType SMESH::Controls::RangeOfIds::myType
protected