b311480e |
1 | // Created on: 1997-10-22 |
2 | // Created by: Jean Yves LEBEY |
3 | // Copyright (c) 1997-1999 Matra Datavision |
4 | // Copyright (c) 1999-2012 OPEN CASCADE SAS |
5 | // |
6 | // The content of this file is subject to the Open CASCADE Technology Public |
7 | // License Version 6.5 (the "License"). You may not use the content of this file |
8 | // except in compliance with the License. Please obtain a copy of the License |
9 | // at http://www.opencascade.org and read it completely before using this file. |
10 | // |
11 | // The Initial Developer of the Original Code is Open CASCADE S.A.S., having its |
12 | // main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France. |
13 | // |
14 | // The Original Code and all software distributed under the License is |
15 | // distributed on an "AS IS" basis, without warranty of any kind, and the |
16 | // Initial Developer hereby disclaims all such warranties, including without |
17 | // limitation, any warranties of merchantability, fitness for a particular |
18 | // purpose or non-infringement. Please see the License for the specific terms |
19 | // and conditions governing the rights and limitations under the License. |
20 | |
7fd59977 |
21 | |
22 | #ifndef _TopOpeBRepDS_traceDSX_HeaderFile |
23 | #define _TopOpeBRepDS_traceDSX_HeaderFile |
24 | |
25 | #ifdef DEB |
26 | |
27 | #include <TopOpeBRepDS_define.hxx> |
28 | #include <TColStd_HArray1OfBoolean.hxx> |
29 | #include <TCollection_AsciiString.hxx> |
30 | #include <MMgt_TShared.hxx> |
31 | |
32 | class TopOpeBRepDS_traceDS : public MMgt_TShared { |
33 | public: |
34 | TopOpeBRepDS_traceDS(); |
35 | virtual Standard_Integer Nelem() const; |
36 | void SetHDS(const Handle(TopOpeBRepDS_HDataStructure)& HDS); |
37 | const Handle(TopOpeBRepDS_HDataStructure)& GetHDS() const; |
38 | void Set(const Standard_Integer i, const Standard_Boolean b); |
39 | void Set(const Standard_Boolean b, Standard_Integer n, char** a); |
40 | Standard_Boolean GetI(const Standard_Integer i) const; |
41 | void Allocate(); |
42 | protected: |
43 | Handle_TopOpeBRepDS_HDataStructure myHDS; |
44 | Standard_Integer myne; Handle_TColStd_HArray1OfBoolean myhe; |
45 | }; |
46 | |
47 | class TopOpeBRepDS_traceCURVE : public TopOpeBRepDS_traceDS { |
48 | public: |
49 | TopOpeBRepDS_traceCURVE(); |
50 | Standard_Integer Nelem() const; |
51 | }; |
52 | |
53 | class TopOpeBRepDS_traceSHAPE : public TopOpeBRepDS_traceDS { |
54 | public: |
55 | TopOpeBRepDS_traceSHAPE(); |
56 | Standard_Integer Nelem() const; |
57 | void SetSS(const TopoDS_Shape&,const TopoDS_Shape&); |
58 | void SetSSHDS(const TopoDS_Shape&,const TopoDS_Shape&,const Handle(TopOpeBRepDS_HDataStructure)&); |
59 | Standard_Integer Index(const TopoDS_Shape&) const; |
60 | Standard_Boolean GetS(const TopoDS_Shape&) const; |
61 | private: |
62 | Standard_Integer myns; |
63 | }; |
64 | |
65 | // #ifdef DEB |
66 | #endif |
67 | |
68 | // #define _TopOpeBRepDS_traceDSX_HeaderFile |
69 | #endif |