From 938bb74003305ed83d48bc6379909a3ed1b3a1bd Mon Sep 17 00:00:00 2001 From: abv Date: Mon, 3 Mar 2014 13:52:33 +0400 Subject: [PATCH] 0024599: Tools for interacting with DRAW from Visual Studio debugger Minor correction of #include to avoid dependency of package Draw on DBRep (problem building by WOK). License statements in new files corrected for licensecheck command. Non-ascii en-dash symbol repleced by Ascii hyphen in debug.md. --- dox/dev_guides/debug/debug.md | 20 ++++++++++---------- src/BRepTools/BRepTools_Debug.cxx | 4 ++-- src/Draw/Draw_Debug.cxx | 2 +- src/GeomTools/GeomTools_Debug.cxx | 4 ++-- 4 files changed, 15 insertions(+), 15 deletions(-) diff --git a/dox/dev_guides/debug/debug.md b/dox/dev_guides/debug/debug.md index c618d3b9ab..7c9c12914f 100644 --- a/dox/dev_guides/debug/debug.md +++ b/dox/dev_guides/debug/debug.md @@ -43,8 +43,8 @@ const char* DBRep_Set (const char* theNameStr, void* theShapePtr) ~~~~~ Sets the specified shape as a value of DRAW interpreter variable with the given name. -- *theNameStr* – the DRAW interpreter variable name to set. -- *theShapePtr* – a pointer to *TopoDS_Shape* variable. +- *theNameStr* - the DRAW interpreter variable name to set. +- *theShapePtr* - a pointer to *TopoDS_Shape* variable. ~~~~~ const char* DrawTrSurf_Set (const char* theNameStr, void* theHandlePtr) @@ -53,10 +53,10 @@ const char* DrawTrSurf_SetPnt2d (const char* theNameStr, void* thePnt2dPtr) ~~~~~ Sets the specified geometric object as a value of DRAW interpreter variable with the given name. -- *theNameStr* – the DRAW interpreter variable name to set. -- *theHandlePtr* – a pointer to the geometric variable (Handle to *Geom_Geometry* or *Geom2d_Curve* or descendant) to be set. -- *thePntPtr* – a pointer to the variable of type *gp_Pnt* to be set. -- *thePnt2dPtr* – a pointer to the variable of type *gp_Pnt2d* to be set. +- *theNameStr* - the DRAW interpreter variable name to set. +- *theHandlePtr* - a pointer to the geometric variable (Handle to *Geom_Geometry* or *Geom2d_Curve* or descendant) to be set. +- *thePntPtr* - a pointer to the variable of type *gp_Pnt* to be set. +- *thePnt2dPtr* - a pointer to the variable of type *gp_Pnt2d* to be set. All these functions are defined in *TKDraw* toolkit and return a string indicating the result of execution. @@ -69,8 +69,8 @@ const char* BRepTools_Write (const char* theFileNameStr, void* theShapePtr) ~~~~~ Saves the specified shape to a file with the given name. -- *theFileNameStr* – the DRAW interpreter variable name to set. -- *theShapePtr* – a pointer to *TopoDS_Shape* variable. +- *theFileNameStr* - the DRAW interpreter variable name to set. +- *theShapePtr* - a pointer to *TopoDS_Shape* variable. ~~~~~ const char* BRepTools_Dump (void* theShapePtr) @@ -78,7 +78,7 @@ const char* BRepTools_DumpLoc (void* theShapePtr) ~~~~~ Dumps shape or its location to cout. -- *theShapePtr* – a pointer to *TopoDS_Shape* variable. +- *theShapePtr* - a pointer to *TopoDS_Shape* variable. The following additional function is provided by *TKGeomBase* toolkit: @@ -87,7 +87,7 @@ const char* GeomTools_Dump (void* theHandlePtr) ~~~~~ Dump geometric object to cout. -- *theHandlePtr* – a pointer to the geometric variable (Handle to *Geom_Geometry* or *Geom2d_Curve* or descendant) to be set. +- *theHandlePtr* - a pointer to the geometric variable (Handle to *Geom_Geometry* or *Geom2d_Curve* or descendant) to be set. @section occt_debug_vstudio Using Visual Studio debugger diff --git a/src/BRepTools/BRepTools_Debug.cxx b/src/BRepTools/BRepTools_Debug.cxx index bbe0c33885..37e832f61c 100644 --- a/src/BRepTools/BRepTools_Debug.cxx +++ b/src/BRepTools/BRepTools_Debug.cxx @@ -5,8 +5,8 @@ // // This file is part of Open CASCADE Technology software library. // -// This library is free software; you can redistribute it and / or modify it -// under the terms of the GNU Lesser General Public version 2.1 as published +// This library is free software; you can redistribute it and/or modify it under +// the terms of the GNU Lesser General Public License version 2.1 as published // by the Free Software Foundation, with special exception defined in the file // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT // distribution for complete text of the license and disclaimer of any warranty. diff --git a/src/Draw/Draw_Debug.cxx b/src/Draw/Draw_Debug.cxx index 2bf952edb1..01ffb2e97f 100644 --- a/src/Draw/Draw_Debug.cxx +++ b/src/Draw/Draw_Debug.cxx @@ -13,7 +13,7 @@ // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. -#include +#include #include #include diff --git a/src/GeomTools/GeomTools_Debug.cxx b/src/GeomTools/GeomTools_Debug.cxx index 730b9e87a0..0650926b88 100644 --- a/src/GeomTools/GeomTools_Debug.cxx +++ b/src/GeomTools/GeomTools_Debug.cxx @@ -5,8 +5,8 @@ // // This file is part of Open CASCADE Technology software library. // -// This library is free software; you can redistribute it and / or modify it -// under the terms of the GNU Lesser General Public version 2.1 as published +// This library is free software; you can redistribute it and/or modify it under +// the terms of the GNU Lesser General Public License version 2.1 as published // by the Free Software Foundation, with special exception defined in the file // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT // distribution for complete text of the license and disclaimer of any warranty. -- 2.20.1