1 // Name : SketchAPI_Constraint.h
5 // 08/08/16 - Artem ZHIDKOV - Creation of the file
7 #ifndef SRC_SKETCHAPI_SKETCHAPI_CONSTRAINT_H_
8 #define SRC_SKETCHAPI_SKETCHAPI_CONSTRAINT_H_
10 #include "SketchAPI.h"
12 #include <ModelHighAPI_Interface.h>
13 #include <ModelHighAPI_Macro.h>
14 #include <ModelHighAPI_RefAttr.h>
16 #include <SketchPlugin_Constraint.h>
18 /**\class SketchAPI_Constraint
20 * \brief Interface for Constraint feature
22 class SketchAPI_Constraint : public ModelHighAPI_Interface
25 /// Constructor without values
27 explicit SketchAPI_Constraint(const std::shared_ptr<ModelAPI_Feature> & theFeature);
31 virtual ~SketchAPI_Constraint();
33 static std::string ID()
35 static const std::string DUMMY;
38 virtual std::string getID() { return ID(); }
43 /// Dump wrapped feature
45 virtual void dump(ModelHighAPI_Dumper& theDumper) const;