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