Version: 6.3.1
Public Member Functions | Private Attributes

SMESH.Controls.LogicalNOT Class Reference

#include <SMESH_ControlsDef.hxx>

Inheritance diagram for SMESH.Controls.LogicalNOT:
Inheritance graph
[legend]

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

Detailed Description

Definition at line 588 of file SMESH_ControlsDef.hxx.


Constructor & Destructor Documentation

LogicalNOT::LogicalNOT ( )

Definition at line 2900 of file SMESH_Controls.cxx.

{}
LogicalNOT::~LogicalNOT ( ) [virtual]

Definition at line 2903 of file SMESH_Controls.cxx.

{}

Member Function Documentation

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;
}

Field Documentation

Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS