1 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D
3 // File: ModuleBase_FilterMulti.h
4 // Created: 12 Jan 2015
5 // Author: Natalia ERMOLAEVA
7 #ifndef ModuleBase_FilterMulti_H
8 #define ModuleBase_FilterMulti_H
10 #include "ModuleBase.h"
12 #include "ModuleBase_Filter.h"
14 #include <StdSelect_TypeOfFace.hxx>
17 * An implementation of filter which support using of several filters according to OR statement
19 class ModuleBase_FilterMulti: public ModuleBase_Filter
22 * Creates a new filter according to the given type
23 * It is only for internal use.
24 * This class creates the sub-filters now. It is possible to use the filter factory for this.
25 * \param theType a type of the created filter
27 ModuleBase_Filter* findFilter(const std::string& theType);
30 MODULEBASE_EXPORT ModuleBase_FilterMulti():
31 ModuleBase_Filter() {}
34 * Sets the arguments to the filter.
35 * \param theArguments a list of arguments
37 MODULEBASE_EXPORT virtual void setArguments(const std::list<std::string>& theArguments);
41 * It creates an OCC face filter
43 virtual void createFilter();
46 std::list<std::string> myArguments; /// the filter arguments
49 #endif //ModuleBase_FilterMulti