X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModelHighAPI%2FModelHighAPI_Tools.h;h=5db774d70d2bbe974d5003172a9ec49fce21b5c1;hb=5dd93936ffd114ed1b28deaa92954e2dfbb11866;hp=789d43a0c2fc34e13fd655fd9884db73bf0f0836;hpb=086aa81da7d411db27b5f8a51ecba2dd0804b847;p=modules%2Fshaper.git diff --git a/src/ModelHighAPI/ModelHighAPI_Tools.h b/src/ModelHighAPI/ModelHighAPI_Tools.h index 789d43a0c..5db774d70 100644 --- a/src/ModelHighAPI/ModelHighAPI_Tools.h +++ b/src/ModelHighAPI/ModelHighAPI_Tools.h @@ -25,7 +25,6 @@ class GeomDataAPI_Point; class GeomDataAPI_Point2D; //-------------------------------------------------------------------------------------- class ModelAPI_AttributeBoolean; -class ModelAPI_AttributeDocRef; class ModelAPI_AttributeDouble; class ModelAPI_AttributeIntArray; class ModelAPI_AttributeInteger; @@ -130,6 +129,12 @@ GeomAPI_Shape::ShapeType shapeTypeByStr(std::string theShapeTypeStr); MODELHIGHAPI_EXPORT GeomAPI_Shape::ShapeType getShapeType(const ModelHighAPI_Selection& theSelection); +/// Performs the high level API dump, then closes all and executes the script: +/// model must be recreated fully, with all attributes +/// \returns true if check is well done +MODELHIGHAPI_EXPORT +bool checkPythonDump(); + //-------------------------------------------------------------------------------------- //-------------------------------------------------------------------------------------- #endif /* SRC_MODELHIGHAPI_MODELHIGHAPI_TOOLS_H_ */