Version: 6.3.1
Public Member Functions | Data Fields

SMESH_HypoFilter.NamePredicate Struct Reference

#include <SMESH_HypoFilter.hxx>

Inheritance diagram for SMESH_HypoFilter.NamePredicate:
Inheritance graph
[legend]

Public Member Functions

 NamePredicate (std::string name)
bool IsOk (const SMESH_Hypothesis *aHyp, const TopoDS_Shape &aShape) const

Data Fields

std::string _name

Detailed Description

Definition at line 131 of file SMESH_HypoFilter.hxx.


Constructor & Destructor Documentation

SMESH_HypoFilter.NamePredicate.NamePredicate ( std::string  name)

Definition at line 133 of file SMESH_HypoFilter.hxx.

: _name(name){}

Member Function Documentation

bool SMESH_HypoFilter.NamePredicate::IsOk ( const SMESH_Hypothesis aHyp,
const TopoDS_Shape &  aShape 
) const [virtual]

Implements SMESH_HypoPredicate.

Definition at line 44 of file SMESH_HypoFilter.cxx.

{
  return ( _name == aHyp->GetName() );
}

Field Documentation

Definition at line 132 of file SMESH_HypoFilter.hxx.

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