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
Validators return InfoMessage instead of string as an error
[modules/shaper.git]
/
src
/
GeomValidators
/
GeomValidators_Positive.h
diff --git
a/src/GeomValidators/GeomValidators_Positive.h
b/src/GeomValidators/GeomValidators_Positive.h
index abfbe948bc519bd8bcbe0cbd390a46d947cf368d..08a30d288c1c59b8e13fbb5d9ab23fd8eb58faec 100644
(file)
--- a/
src/GeomValidators/GeomValidators_Positive.h
+++ b/
src/GeomValidators/GeomValidators_Positive.h
@@
-19,10
+19,12
@@
public:
//! Constructor for only one instance per application: will register the validator
GeomValidators_Positive();
//! returns true if attribute is valid
//! Constructor for only one instance per application: will register the validator
GeomValidators_Positive();
//! returns true if attribute is valid
- //! \param theAttribute the checked attribute
- //! \param theArguments arguments of the attribute
+ //! \param[in] theAttribute the checked attribute
+ //! \param[in] theArguments arguments of the attribute
+ //! \param[out] theError error message.
GEOMVALIDATORS_EXPORT virtual bool isValid(const AttributePtr& theAttribute,
GEOMVALIDATORS_EXPORT virtual bool isValid(const AttributePtr& theAttribute,
- const std::list<std::string>& theArguments) const;
+ const std::list<std::string>& theArguments,
+ Events_InfoMessage& theError) const;
};
};