X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FFeaturesPlugin%2FFeaturesPlugin_ValidatorTransform.h;h=c06e1a0e32c92875a95c4c2fa93924b213f2b05b;hb=2a66d6831081d6dbd001749177444628bbd85374;hp=b1bb5c256347d3c08121aa412c24806298c457ba;hpb=23898b690da4986d891bde5b124bbcec7e8144f1;p=modules%2Fshaper.git diff --git a/src/FeaturesPlugin/FeaturesPlugin_ValidatorTransform.h b/src/FeaturesPlugin/FeaturesPlugin_ValidatorTransform.h index b1bb5c256..c06e1a0e3 100755 --- a/src/FeaturesPlugin/FeaturesPlugin_ValidatorTransform.h +++ b/src/FeaturesPlugin/FeaturesPlugin_ValidatorTransform.h @@ -1,27 +1,43 @@ -// Copyright (C) 2014-20xx CEA/DEN, EDF R&D - -// File: FeaturesPlugin_ValidatorTransform.h -// Created: 16 Sep 2015 -// Author: Natalia ERMOLAEVA +// Copyright (C) 2014-2017 CEA/DEN, EDF R&D +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 2.1 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +// +// See http://www.salome-platform.org/ or +// email : webmaster.salome@opencascade.com +// #ifndef FeaturesPlugin_ValidatorTransform_H #define FeaturesPlugin_ValidatorTransform_H #include "ModelAPI_AttributeValidator.h" -/** -* \ingroup Validators -* A validator of selection -*/ +/** \class FeaturesPlugin_ValidatorTransform + * \ingroup Validators + * \brief A validator of selection + */ class FeaturesPlugin_ValidatorTransform : public ModelAPI_AttributeValidator { public: - //! returns true if attribute is valid - //! \param theAttribute the checked attribute - //! \param theArguments arguments of the attribute + /** \return true if attribute is valid + * \param theAttribute the checked attribute + * \param theArguments arguments of the attribute + * \param theError error message + */ virtual bool isValid(const AttributePtr& theAttribute, const std::list& theArguments, - std::string& theError) const; + Events_InfoMessage& theError) const; }; #endif