Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Issue #1063: Problem of dynamic cast on Linux for Selection validators is solved
[modules/shaper.git]
/
src
/
ExchangePlugin
/
ExchangePlugin_Validators.h
diff --git
a/src/ExchangePlugin/ExchangePlugin_Validators.h
b/src/ExchangePlugin/ExchangePlugin_Validators.h
index 36fa3ea2fbe7e4c5eb1323e8a46519914cfb4fc3..ab1a142f9a2fb72b2450307987189a4ff7c15388 100644
(file)
--- a/
src/ExchangePlugin/ExchangePlugin_Validators.h
+++ b/
src/ExchangePlugin/ExchangePlugin_Validators.h
@@
-10,7
+10,8
@@
#include "ExchangePlugin.h"
#include <ModelAPI_AttributeValidator.h>
#include "ExchangePlugin.h"
#include <ModelAPI_AttributeValidator.h>
-/**\class ExchangePlugin_ImportFormatValidator
+/**
+ * \class ExchangePlugin_FormatValidator
* \ingroup Validators
* \brief Validator for the imported formats checking
*
* \ingroup Validators
* \brief Validator for the imported formats checking
*
@@
-33,14
+34,25
@@
public:
* allowed formats.
*/
virtual bool isValid(const AttributePtr& theAttribute,
* 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_ImportFormatValidator : public ExchangePlugin_FormatValidator
{
};
+/**
+ * \class ExchangePlugin_ExportFormatValidator
+ * \ingroup Validators
+ * \brief Validator for the export format.
+ */
class ExchangePlugin_ExportFormatValidator : public ExchangePlugin_FormatValidator
{
class ExchangePlugin_ExportFormatValidator : public ExchangePlugin_FormatValidator
{