0030675: Visualization - remove redundant proxy classes in hierarchy of PrsMgr_Presen...
[occt.git] / src / TopOpeBRepDS / TopOpeBRepDS_Dumper.hxx
1 // Created on: 1994-08-04
2 // Created by: Jean Yves LEBEY
3 // Copyright (c) 1994-1999 Matra Datavision
4 // Copyright (c) 1999-2014 OPEN CASCADE SAS
5 //
6 // This file is part of Open CASCADE Technology software library.
7 //
8 // This library is free software; you can redistribute it and/or modify it under
9 // the terms of the GNU Lesser General Public License version 2.1 as published
10 // by the Free Software Foundation, with special exception defined in the file
11 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12 // distribution for complete text of the license and disclaimer of any warranty.
13 //
14 // Alternatively, this file may be used under the terms of Open CASCADE
15 // commercial license or contractual agreement.
16
17 #ifndef _TopOpeBRepDS_Dumper_HeaderFile
18 #define _TopOpeBRepDS_Dumper_HeaderFile
19
20 #include <Standard.hxx>
21 #include <Standard_DefineAlloc.hxx>
22 #include <Standard_Handle.hxx>
23
24 #include <Standard_OStream.hxx>
25 #include <Standard_Boolean.hxx>
26 #include <TopOpeBRepDS_Kind.hxx>
27 #include <Standard_Integer.hxx>
28 #include <TopAbs_ShapeEnum.hxx>
29 #include <TopOpeBRepDS_ListOfInterference.hxx>
30 #include <TCollection_AsciiString.hxx>
31 #include <TopTools_ListOfShape.hxx>
32 class TopOpeBRepDS_HDataStructure;
33 class Geom_Curve;
34 class Geom2d_Curve;
35 class gp_Pnt;
36 class gp_Pnt2d;
37 class Geom_BSplineCurve;
38 class Geom2d_BSplineCurve;
39 class TCollection_AsciiString;
40 class TopoDS_Shape;
41 class TopOpeBRepDS_Interference;
42
43
44
45 class TopOpeBRepDS_Dumper 
46 {
47 public:
48
49   DEFINE_STANDARD_ALLOC
50
51   
52   Standard_EXPORT TopOpeBRepDS_Dumper(const Handle(TopOpeBRepDS_HDataStructure)& HDS);
53
54   Standard_EXPORT TCollection_AsciiString SDumpRefOri (const TopOpeBRepDS_Kind K, const Standard_Integer I) const;
55   
56   Standard_EXPORT TCollection_AsciiString SDumpRefOri (const TopoDS_Shape& S) const;
57
58   Standard_EXPORT TCollection_AsciiString SPrintShape (const Standard_Integer I) const;
59   
60   Standard_EXPORT TCollection_AsciiString SPrintShape (const TopoDS_Shape& S) const;
61   
62   Standard_EXPORT TCollection_AsciiString SPrintShapeRefOri (const TopoDS_Shape& S, const TCollection_AsciiString& B = "") const;
63   
64   Standard_EXPORT TCollection_AsciiString SPrintShapeRefOri (const TopTools_ListOfShape& L, const TCollection_AsciiString& B = "") const;
65
66
67
68
69 protected:
70
71
72
73
74
75 private:
76
77
78
79   Handle(TopOpeBRepDS_HDataStructure) myHDS;
80
81
82 };
83
84
85
86
87
88
89
90 #endif // _TopOpeBRepDS_Dumper_HeaderFile