0024814: Avoid using explicit names of Handle classes
[occt.git] / src / TopOpeBRepDS / TopOpeBRepDS_traceDSX.hxx
CommitLineData
b311480e 1// Created on: 1997-10-22
2// Created by: Jean Yves LEBEY
3// Copyright (c) 1997-1999 Matra Datavision
973c2be1 4// Copyright (c) 1999-2014 OPEN CASCADE SAS
b311480e 5//
973c2be1 6// This file is part of Open CASCADE Technology software library.
b311480e 7//
d5f74e42 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
973c2be1 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.
b311480e 13//
973c2be1 14// Alternatively, this file may be used under the terms of Open CASCADE
15// commercial license or contractual agreement.
7fd59977 16
17#ifndef _TopOpeBRepDS_traceDSX_HeaderFile
18#define _TopOpeBRepDS_traceDSX_HeaderFile
19
20#ifdef DEB
21
22#include <TopOpeBRepDS_define.hxx>
23#include <TColStd_HArray1OfBoolean.hxx>
24#include <TCollection_AsciiString.hxx>
25#include <MMgt_TShared.hxx>
26
27class TopOpeBRepDS_traceDS : public MMgt_TShared {
28public:
29 TopOpeBRepDS_traceDS();
30 virtual Standard_Integer Nelem() const;
31 void SetHDS(const Handle(TopOpeBRepDS_HDataStructure)& HDS);
32 const Handle(TopOpeBRepDS_HDataStructure)& GetHDS() const;
33 void Set(const Standard_Integer i, const Standard_Boolean b);
34 void Set(const Standard_Boolean b, Standard_Integer n, char** a);
35 Standard_Boolean GetI(const Standard_Integer i) const;
36 void Allocate();
37protected:
857ffd5e 38 Handle(TopOpeBRepDS_HDataStructure) myHDS;
39 Standard_Integer myne; Handle(TColStd_HArray1OfBoolean) myhe;
7fd59977 40};
41
42class TopOpeBRepDS_traceCURVE : public TopOpeBRepDS_traceDS {
43public:
44 TopOpeBRepDS_traceCURVE();
45 Standard_Integer Nelem() const;
46};
47
48class TopOpeBRepDS_traceSHAPE : public TopOpeBRepDS_traceDS {
49public:
50 TopOpeBRepDS_traceSHAPE();
51 Standard_Integer Nelem() const;
52 void SetSS(const TopoDS_Shape&,const TopoDS_Shape&);
53 void SetSSHDS(const TopoDS_Shape&,const TopoDS_Shape&,const Handle(TopOpeBRepDS_HDataStructure)&);
54 Standard_Integer Index(const TopoDS_Shape&) const;
55 Standard_Boolean GetS(const TopoDS_Shape&) const;
56private:
57 Standard_Integer myns;
58};
59
60// #ifdef DEB
61#endif
62
63// #define _TopOpeBRepDS_traceDSX_HeaderFile
64#endif