1 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D -->
3 // File: ConstructionPlugin_Validators.h
4 // Created: 04 July 2016
5 // Author: Dmitry Bobylev
7 #ifndef ConstructionPlugin_Validators_H_
8 #define ConstructionPlugin_Validators_H_
10 #include <ModelAPI_AttributeValidator.h>
12 /// \class ConstructionPlugin_ValidatorPointLines
13 /// \ingroup Validators
14 /// \brief A validator for selection lines for point by intersection..
15 class ConstructionPlugin_ValidatorPointLines: public ModelAPI_AttributeValidator
18 //! \return True if the attribute is valid.
19 //! \param[in] theAttribute the checked attribute.
20 //! \param[in] theArguments arguments of the attribute.
21 //! \param[out] theError error message.
22 virtual bool isValid(const AttributePtr& theAttribute,
23 const std::list<std::string>& theArguments,
24 Events_InfoMessage& theError) const;