#include <SMESH_ControlsDef.hxx>

Public Member Functions | |
| LogicalNOT () | |
| virtual | ~LogicalNOT () |
| virtual bool | IsSatisfy (long theElementId) |
| virtual void | SetMesh (const SMDS_Mesh *theMesh) |
| virtual void | SetPredicate (PredicatePtr thePred) |
| virtual SMDSAbs_ElementType | GetType () const |
Private Attributes | |
| PredicatePtr | myPredicate |
Definition at line 588 of file SMESH_ControlsDef.hxx.
| LogicalNOT::LogicalNOT | ( | ) |
Definition at line 2900 of file SMESH_Controls.cxx.
{}
| LogicalNOT::~LogicalNOT | ( | ) | [virtual] |
Definition at line 2903 of file SMESH_Controls.cxx.
{}
| SMDSAbs_ElementType LogicalNOT::GetType | ( | ) | const [virtual] |
Implements SMESH.Controls.Predicate.
Definition at line 2922 of file SMESH_Controls.cxx.
References SMESH.Controls.LogicalNOT.myPredicate, and SMDSAbs_All.
{
return myPredicate ? myPredicate->GetType() : SMDSAbs_All;
}
| bool LogicalNOT::IsSatisfy | ( | long | theElementId | ) | [virtual] |
Implements SMESH.Controls.Predicate.
Definition at line 2906 of file SMESH_Controls.cxx.
References SMESH.Controls.LogicalNOT.myPredicate.
{
return myPredicate && !myPredicate->IsSatisfy( theId );
}
| void LogicalNOT::SetMesh | ( | const SMDS_Mesh * | theMesh | ) | [virtual] |
Implements SMESH.Controls.Functor.
Definition at line 2911 of file SMESH_Controls.cxx.
References SMESH.Controls.LogicalNOT.myPredicate.
{
if ( myPredicate )
myPredicate->SetMesh( theMesh );
}
| void LogicalNOT::SetPredicate | ( | PredicatePtr | thePred | ) | [virtual] |
Definition at line 2917 of file SMESH_Controls.cxx.
References SMESH.Controls.LogicalNOT.myPredicate.
{
myPredicate = thePred;
}
Definition at line 598 of file SMESH_ControlsDef.hxx.
Referenced by SMESH.Controls.LogicalNOT.GetType(), SMESH.Controls.LogicalNOT.IsSatisfy(), SMESH.Controls.LogicalNOT.SetMesh(), and SMESH.Controls.LogicalNOT.SetPredicate().