Salome HOME
Union of validator and filter functionalities.
[modules/shaper.git] / src / GeomValidators / GeomValidators_ConstructionComposite.h
1 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D
2
3 // File:        GeomValidators_ConstructionComposite.h
4 // Created:     20 Mar 2015
5 // Author:      Natalia ERMOLAEVA
6
7 #ifndef GeomValidators_ConstructionComposite_H
8 #define GeomValidators_ConstructionComposite_H
9
10 #include "GeomValidators.h"
11 #include "ModelAPI_AttributeValidator.h"
12
13 /**
14 * \ingroup Validators
15 * A validator of selection
16 */
17 class GeomValidators_ConstructionComposite : public ModelAPI_AttributeValidator
18 {
19  public:
20    GEOMVALIDATORS_EXPORT GeomValidators_ConstructionComposite() {}
21   //! returns true if attribute is valid
22   //! \param theAttribute the checked attribute
23   //! \param theArguments arguments of the attribute
24   GEOMVALIDATORS_EXPORT virtual bool isValid(const AttributePtr& theAttribute,
25                                              const std::list<std::string>& theArguments) const;
26 };
27
28 #endif