1 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D
3 // File: GeomValidators_ConstructionComposite.h
4 // Created: 20 Mar 2015
5 // Author: Natalia ERMOLAEVA
7 #ifndef GeomValidators_ConstructionComposite_H
8 #define GeomValidators_ConstructionComposite_H
10 #include "GeomValidators.h"
11 #include "ModelAPI_AttributeValidator.h"
15 * A validator of selection
17 class GeomValidators_ConstructionComposite : public ModelAPI_AttributeValidator
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;