1 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D
3 // File: FeaturesPlugin_ValidatorTransform.h
4 // Created: 16 Sep 2015
5 // Author: Natalia ERMOLAEVA
7 #ifndef FeaturesPlugin_ValidatorTransform_H
8 #define FeaturesPlugin_ValidatorTransform_H
10 #include "ModelAPI_AttributeValidator.h"
12 /** \class FeaturesPlugin_ValidatorTransform
14 * \brief A validator of selection
16 class FeaturesPlugin_ValidatorTransform : public ModelAPI_AttributeValidator
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
24 virtual bool isValid(const AttributePtr& theAttribute,
25 const std::list<std::string>& theArguments,
26 Events_InfoMessage& theError) const;