#include <SMESH_LogicalFilter.hxx>
Public Types | |
enum | { LO_OR, LO_AND, LO_NOT, LO_UNDEFINED } |
Public Member Functions | |
SMESH_LogicalFilter (const QList< SUIT_SelectionFilter * > &, const int, bool takeOwnership=false) | |
virtual | ~SMESH_LogicalFilter () |
virtual bool | isOk (const SUIT_DataOwner *) const |
void | setFilters (const QList< SUIT_SelectionFilter * > &) |
void | setOperation (const int) |
const QList < SUIT_SelectionFilter * > | getFilters () const |
int | getOperation () const |
Private Member Functions | |
void | deleteFilters () |
Deletes filters if has an ownership. More... | |
Private Attributes | |
QList< SUIT_SelectionFilter * > | myFilters |
int | myOperation |
bool | myOwnership |
SMESH_LogicalFilter::SMESH_LogicalFilter | ( | const QList< SUIT_SelectionFilter * > & | theFilters, |
const int | theLogOp, | ||
bool | takeOwnership = false |
||
) |
References setFilters(), and setOperation().
|
virtual |
References deleteFilters().
|
private |
Deletes filters if has an ownership.
References myFilters, and myOwnership.
Referenced by setFilters(), and ~SMESH_LogicalFilter().
const QList< SUIT_SelectionFilter * > SMESH_LogicalFilter::getFilters | ( | ) | const |
References myFilters.
int SMESH_LogicalFilter::getOperation | ( | ) | const |
References myOperation.
|
virtual |
References LO_AND, LO_NOT, LO_OR, myFilters, and myOperation.
void SMESH_LogicalFilter::setFilters | ( | const QList< SUIT_SelectionFilter * > & | theFilters | ) |
References deleteFilters(), and myFilters.
Referenced by SMESHGUI_GroupDlg::setSelectionMode(), and SMESH_LogicalFilter().
void SMESH_LogicalFilter::setOperation | ( | const int | theLogOp | ) |
References myOperation.
Referenced by SMESH_LogicalFilter().
|
private |
Referenced by deleteFilters(), getFilters(), isOk(), and setFilters().
|
private |
Referenced by getOperation(), isOk(), and setOperation().
|
private |
Referenced by deleteFilters().