#include "ExchangePlugin.h"
#include <ModelAPI_AttributeValidator.h>
-/**\class ExchangePlugin_ImportFormatValidator
+/**
+ * \class ExchangePlugin_FormatValidator
* \ingroup Validators
* \brief Validator for the imported formats checking
*
* allowed formats.
*/
virtual bool isValid(const AttributePtr& theAttribute,
- const std::list<std::string>& theArguments) const;
+ const std::list<std::string>& 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
{