Salome HOME
GeomValidators documentation update
[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[in] theAttribute the checked attribute
23   //! \param[in] theArguments arguments of the attribute
24   //! \param[out] theError error message.
25   GEOMVALIDATORS_EXPORT virtual bool isValid(const AttributePtr& theAttribute,
26                                              const std::list<std::string>& theArguments,
27                                              std::string& theError) const;
28 };
29
30 #endif