X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModelAPI%2FModelAPI_AttributeValidator.h;h=1cf46a54cde7b10ccb2e8feb1586ee165d223138;hb=5303dd1fa6ad4411e38f8d36103c72109957e05c;hp=aa0680cbb5311c5939590d570595af06697c7765;hpb=caeb775daadc87ddd310c9cd718987f0e55d8a18;p=modules%2Fshaper.git diff --git a/src/ModelAPI/ModelAPI_AttributeValidator.h b/src/ModelAPI/ModelAPI_AttributeValidator.h index aa0680cbb..1cf46a54c 100644 --- a/src/ModelAPI/ModelAPI_AttributeValidator.h +++ b/src/ModelAPI/ModelAPI_AttributeValidator.h @@ -1,3 +1,5 @@ +// Copyright (C) 2014-20xx CEA/DEN, EDF R&D + // File: ModelAPI_AttributeValidator.h // Created: 4 Sep 2014 // Author: Mikhail PONIKAROV @@ -5,6 +7,7 @@ #ifndef ModelAPI_AttributeValidator_H #define ModelAPI_AttributeValidator_H +#include #include #include @@ -18,7 +21,10 @@ public: //! \param theAttribute the checked attribute //! \param theArguments arguments of the attribute virtual bool isValid(const AttributePtr& theAttribute, - const std::list& theArguments) const = 0; + const std::list& theArguments, + std::string& theError) const = 0; + + MODELAPI_EXPORT ~ModelAPI_AttributeValidator(); }; #endif