X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FExchangePlugin%2FExchangePlugin_Validators.h;h=ffaa7664dab47eb3c07bb61758bea0509d473dd9;hb=f6bd0f4e080b833c0de7ef25822ebee641073445;hp=cf7851e7a7690b624b7f2e9da04d95eacfbf521f;hpb=4ca3fd41634c37f840d0cbb3f896fa97c2d3c457;p=modules%2Fshaper.git diff --git a/src/ExchangePlugin/ExchangePlugin_Validators.h b/src/ExchangePlugin/ExchangePlugin_Validators.h index cf7851e7a..ffaa7664d 100644 --- a/src/ExchangePlugin/ExchangePlugin_Validators.h +++ b/src/ExchangePlugin/ExchangePlugin_Validators.h @@ -1,8 +1,22 @@ -// Copyright (C) 2014-20xx CEA/DEN, EDF R&D - -// File: ExchangePlugin_Validators.h -// Created: Aug 01, 2014 -// Author: Sergey BELASH +// 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 EXCHANGEPLUGIN_VALIDATORS_H #define EXCHANGEPLUGIN_VALIDATORS_H @@ -10,7 +24,8 @@ #include "ExchangePlugin.h" #include -/**\class ExchangePlugin_ImportFormatValidator +/** + * \class ExchangePlugin_FormatValidator * \ingroup Validators * \brief Validator for the imported formats checking * @@ -34,14 +49,24 @@ public: */ virtual bool isValid(const AttributePtr& theAttribute, const std::list& theArguments, - std::string& theError) const; + Events_InfoMessage& theError) const; }; +/** + * \class ExchangePlugin_ImportFormatValidator + * \ingroup Validators + * \brief Validator for the import format. + */ class ExchangePlugin_ImportFormatValidator : public ExchangePlugin_FormatValidator { }; +/** + * \class ExchangePlugin_ExportFormatValidator + * \ingroup Validators + * \brief Validator for the export format. + */ class ExchangePlugin_ExportFormatValidator : public ExchangePlugin_FormatValidator {