Class containing set of hypotheses. More...
#include <SMESHGUI_Hypotheses.h>
Public Member Functions | |
HypothesesSet (const QString &) | |
HypothesesSet (const QString &, const QStringList &, const QStringList &) | |
QString | name () const |
void | set (bool, const QStringList &) |
int | count (bool) const |
void | setIsCustom (bool) |
bool | getIsCustom () const |
int | maxDim () const |
bool | isAlgo () const |
void | init (bool) |
bool | more () const |
void | next () |
QString | current () const |
Private Member Functions | |
QStringList * | list (bool) const |
QStringList * | list () const |
Private Attributes | |
QString | myHypoSetName |
QStringList | myHypoList |
QStringList | myAlgoList |
bool | myIsAlgo |
bool | myIsCustom |
int | myIndex |
Class containing set of hypotheses.
Actually it contains list of hypo types
HypothesesSet::HypothesesSet | ( | const QString & | theSetName | ) |
HypothesesSet::HypothesesSet | ( | const QString & | theSetName, |
const QStringList & | theHypoList, | ||
const QStringList & | theAlgoList | ||
) |
References list().
Referenced by SMESH::GetHypothesesSets().
QString HypothesesSet::current | ( | ) | const |
References list(), and myIndex.
Referenced by maxDim(), SMESHGUI_MeshOp::processSet(), and SMESHGUI_MeshOp::setFilteredAlgoData().
bool HypothesesSet::getIsCustom | ( | ) | const |
References myIsCustom.
Referenced by SMESH::mangledHypoSetName().
void HypothesesSet::init | ( | bool | isAlgo | ) |
References isAlgo(), myIndex, and myIsAlgo.
Referenced by maxDim(), SMESHGUI_MeshOp::onHypoSet(), and SMESHGUI_MeshOp::setFilteredAlgoData().
bool HypothesesSet::isAlgo | ( | ) | const |
References myIsAlgo.
Referenced by init(), maxDim(), and SMESHGUI_MeshOp::processSet().
|
private |
References myAlgoList, and myHypoList.
|
private |
int HypothesesSet::maxDim | ( | ) | const |
References current(), SMESH::GetHypothesisData(), init(), isAlgo(), more(), and next().
Referenced by SMESH::GetHypothesesSets(), and SMESH::mangledHypoSetName().
bool HypothesesSet::more | ( | ) | const |
References list(), and myIndex.
Referenced by maxDim(), SMESHGUI_MeshOp::processSet(), and SMESHGUI_MeshOp::setFilteredAlgoData().
QString HypothesesSet::name | ( | ) | const |
References myHypoSetName.
Referenced by SMESH::GetHypothesesSet(), and SMESH::mangledHypoSetName().
void HypothesesSet::next | ( | ) |
References myIndex.
Referenced by maxDim(), SMESHGUI_MeshOp::processSet(), and SMESHGUI_MeshOp::setFilteredAlgoData().
void HypothesesSet::setIsCustom | ( | bool | isCustom | ) |
References myIsCustom.
|
private |
Referenced by list().
|
private |
Referenced by list().
|
private |
Referenced by name().
|
private |
Referenced by getIsCustom(), and setIsCustom().