X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FExchangePlugin%2FExchangePlugin_Validators.h;h=ab1a142f9a2fb72b2450307987189a4ff7c15388;hb=eef14b29d313b9dd16453d12f20aa02383ee139c;hp=36fa3ea2fbe7e4c5eb1323e8a46519914cfb4fc3;hpb=34256ae486b79ee986202cd88e13dc5ca2e9d2ec;p=modules%2Fshaper.git diff --git a/src/ExchangePlugin/ExchangePlugin_Validators.h b/src/ExchangePlugin/ExchangePlugin_Validators.h index 36fa3ea2f..ab1a142f9 100644 --- a/src/ExchangePlugin/ExchangePlugin_Validators.h +++ b/src/ExchangePlugin/ExchangePlugin_Validators.h @@ -10,7 +10,8 @@ #include "ExchangePlugin.h" #include -/**\class ExchangePlugin_ImportFormatValidator +/** + * \class ExchangePlugin_FormatValidator * \ingroup Validators * \brief Validator for the imported formats checking * @@ -33,14 +34,25 @@ public: * allowed formats. */ virtual bool isValid(const AttributePtr& theAttribute, - const std::list& theArguments) const; + const std::list& theArguments, + std::string& 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 {