]> SALOME platform Git repositories - modules/shaper.git/blob - src/FeaturesPlugin/FeaturesPlugin_ValidatorTransform.h
Salome HOME
Issue #839 Selection of Part sub-results
[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 /**
13 * \ingroup Validators
14 * A validator of selection
15 */
16 class FeaturesPlugin_ValidatorTransform : public ModelAPI_AttributeValidator
17 {
18  public:
19   //! returns true if attribute is valid
20   //! \param theAttribute the checked attribute
21   //! \param theArguments arguments of the attribute
22   virtual bool isValid(const AttributePtr& theAttribute,
23                        const std::list<std::string>& theArguments,
24                        std::string& theError) const;
25 };
26
27 #endif