X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGEOMFiltersSelection%2FGEOM_SelectionFilter.h;h=480b35c474eb01295eb054204c8d189b0e67d327;hb=a1f6e9582ddccfe6117b2f8803c2618fa18b578f;hp=a4a1154323e63708e378ac66112f4e81349b1c13;hpb=f931ebe5b663153f8e276d607d870aa401a91048;p=modules%2Fgeom.git diff --git a/src/GEOMFiltersSelection/GEOM_SelectionFilter.h b/src/GEOMFiltersSelection/GEOM_SelectionFilter.h index a4a115432..480b35c47 100644 --- a/src/GEOMFiltersSelection/GEOM_SelectionFilter.h +++ b/src/GEOMFiltersSelection/GEOM_SelectionFilter.h @@ -1,3 +1,25 @@ +// Copyright (C) 2007-2014 CEA/DEN, EDF R&D, OPEN CASCADE +// +// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, +// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 2.1 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +// +// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com +// + #ifndef GEOM_SELECTIONFILTER_H #define GEOM_SELECTIONFILTER_H @@ -5,7 +27,7 @@ #include -#include +#include // IDL Headers #include @@ -20,7 +42,7 @@ public: virtual bool isOk( const SUIT_DataOwner* ) const; protected: - GEOM::GEOM_Object_ptr getObject( const SUIT_DataOwner* ) const; + GEOM::GEOM_Object_ptr getObject( const SUIT_DataOwner*, const bool = true ) const; bool getShape( const GEOM::GEOM_Object_ptr&, TopoDS_Shape& ) const; bool contains( const int ) const; @@ -33,7 +55,7 @@ protected: bool isShapeOk( const TopoDS_Shape& ) const; private: - QValueList myTypes; + QList myTypes; bool myAll; };