Version: 8.3.0
HypothesesSet Class Reference

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
 

Detailed Description

Class containing set of hypotheses.

Actually it contains list of hypo types

Constructor & Destructor Documentation

HypothesesSet::HypothesesSet ( const QString &  theSetName)
HypothesesSet::HypothesesSet ( const QString &  theSetName,
const QStringList &  theHypoList,
const QStringList &  theAlgoList 
)

Member Function Documentation

int HypothesesSet::count ( bool  isAlgo) const

References list().

Referenced by SMESH::GetHypothesesSets().

QString HypothesesSet::current ( ) const
bool HypothesesSet::getIsCustom ( ) const

References myIsCustom.

Referenced by SMESH::mangledHypoSetName().

void HypothesesSet::init ( bool  isAlgo)
bool HypothesesSet::isAlgo ( ) const

References myIsAlgo.

Referenced by init(), maxDim(), and SMESHGUI_MeshOp::processSet().

QStringList * HypothesesSet::list ( bool  is_algo) const
private

References myAlgoList, and myHypoList.

QStringList * HypothesesSet::list ( ) const
private

References myIsAlgo.

Referenced by count(), current(), more(), and set().

int HypothesesSet::maxDim ( ) const
bool HypothesesSet::more ( ) const
QString HypothesesSet::name ( ) const
void HypothesesSet::next ( )
void HypothesesSet::set ( bool  isAlgo,
const QStringList &  lst 
)

References list().

void HypothesesSet::setIsCustom ( bool  isCustom)

References myIsCustom.

Field Documentation

QStringList HypothesesSet::myAlgoList
private

Referenced by list().

QStringList HypothesesSet::myHypoList
private

Referenced by list().

QString HypothesesSet::myHypoSetName
private

Referenced by name().

int HypothesesSet::myIndex
private

Referenced by current(), init(), more(), and next().

bool HypothesesSet::myIsAlgo
private

Referenced by init(), isAlgo(), and list().

bool HypothesesSet::myIsCustom
private

Referenced by getIsCustom(), and setIsCustom().