]> SALOME platform Git repositories - modules/shaper.git/blob - src/SketchShapePlugin/SketchShapePlugin_Validators.cpp
Salome HOME
Construction of vertices/edges/faces on the base of sketch: a special group box in...
[modules/shaper.git] / src / SketchShapePlugin / SketchShapePlugin_Validators.cpp
1 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D -->
2
3 // File:        SketchShapePlugin_Validators.cpp
4 // Created:     25 Nov 2015
5 // Author:      Natalia ERMOLAEVA
6
7 #include "SketchShapePlugin_Validators.h"
8
9 //#include "SketchShapePlugin_Feature.h"
10
11 bool SketchShapePlugin_FeatureValidator::isValid(const AttributePtr& theAttribute, 
12                                                  const std::list<std::string>& theArguments,
13                                                  std::string& theError) const
14 {
15   /*if (theAttribute->attributeType() != ModelAPI_AttributeRefAttr::typeId()) {
16     theError = "The attribute with the " + theAttribute->attributeType() + " type is not processed";
17     return false;
18   }*/
19
20   return true;
21 }