summaryrefslogtreecommitdiff
path: root/src/SelectMgr/SelectMgr_AndFilter.cxx
blob: d9facde49dfce51a50e5c07a76145f82d36b88fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include <SelectMgr_AndFilter.ixx>

#include <SelectMgr_Filter.hxx>
#include <SelectMgr_ListIteratorOfListOfFilter.hxx>

 SelectMgr_AndFilter::SelectMgr_AndFilter()
{
}
Standard_Boolean SelectMgr_AndFilter::IsOk(const Handle(SelectMgr_EntityOwner)& anobj) const 
{
  SelectMgr_ListIteratorOfListOfFilter it(myFilters);
  for ( ; it.More();it.Next()) 
    if(!it.Value()->IsOk(anobj)) 
      return Standard_False;
  return Standard_True;
}