SMESHDS_TSubMeshHolder< SUBMESH > Class Template Reference

A binder of a sub-mesh to its ID which can be negative. Provides fast access to a sub-mesh by its ID. More...

#include <SMESHDS_TSubMeshHolder.hxx>

Classes

struct  Iterator
 

Public Member Functions

void Add (int id, SUBMESH *sm)
 
void DeleteAll ()
 
SUBMESH * Get (int id) const
 
SMDS_Iterator< SUBMESH * > * GetIterator (const bool reverse=false) const
 
int GetMaxID () const
 
int GetMinID () const
 
 ~SMESHDS_TSubMeshHolder ()
 

Detailed Description

template<class SUBMESH>
class SMESHDS_TSubMeshHolder< SUBMESH >

A binder of a sub-mesh to its ID which can be negative. Provides fast access to a sub-mesh by its ID.

Issue 52457: Addition of hypotheses is 8 time longer than meshing.

Constructor & Destructor Documentation

◆ ~SMESHDS_TSubMeshHolder()

template<class SUBMESH >
SMESHDS_TSubMeshHolder< SUBMESH >::~SMESHDS_TSubMeshHolder ( )

Member Function Documentation

◆ Add()

template<class SUBMESH >
void SMESHDS_TSubMeshHolder< SUBMESH >::Add ( int  id,
SUBMESH *  sm 
)

◆ DeleteAll()

◆ Get()

template<class SUBMESH >
SUBMESH* SMESHDS_TSubMeshHolder< SUBMESH >::Get ( int  id) const

◆ GetIterator()

template<class SUBMESH >
SMDS_Iterator< SUBMESH* >* SMESHDS_TSubMeshHolder< SUBMESH >::GetIterator ( const bool  reverse = false) const

Referenced by SMESHDS_Mesh::SubMeshes().

◆ GetMaxID()

template<class SUBMESH >
int SMESHDS_TSubMeshHolder< SUBMESH >::GetMaxID ( ) const

◆ GetMinID()

template<class SUBMESH >
int SMESHDS_TSubMeshHolder< SUBMESH >::GetMinID ( ) const

The documentation for this class was generated from the following file:
  • src/3rdParty/salomesmesh/inc/SMESHDS_TSubMeshHolder.hxx