0027067: Avoid use of virtual methods for implementation of destructors in legacy...
[occt.git] / src / TopOpeBRepBuild / TopOpeBRepBuild_Area1dBuilder.hxx
1 // Created on: 1995-12-21
2 // Created by: Jean Yves LEBEY
3 // Copyright (c) 1995-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 _TopOpeBRepBuild_Area1dBuilder_HeaderFile
18 #define _TopOpeBRepBuild_Area1dBuilder_HeaderFile
19
20 #include <Standard.hxx>
21 #include <Standard_DefineAlloc.hxx>
22 #include <Standard_Handle.hxx>
23
24 #include <TopOpeBRepBuild_AreaBuilder.hxx>
25 #include <Standard_Boolean.hxx>
26 #include <TopOpeBRepBuild_ListOfLoop.hxx>
27 #include <Standard_Address.hxx>
28 #include <TopOpeBRepBuild_ListIteratorOfListOfLoop.hxx>
29 class TopOpeBRepBuild_PaveSet;
30 class TopOpeBRepBuild_PaveClassifier;
31 class TopOpeBRepBuild_LoopSet;
32 class TopOpeBRepBuild_LoopClassifier;
33 class TopOpeBRepBuild_Loop;
34
35
36
37 class TopOpeBRepBuild_Area1dBuilder  : public TopOpeBRepBuild_AreaBuilder
38 {
39 public:
40
41   DEFINE_STANDARD_ALLOC
42
43   
44   Standard_EXPORT TopOpeBRepBuild_Area1dBuilder();
45   
46   //! Creates a Area1dBuilder to find the areas of
47   //! the shapes described by <LS> using the classifier <LC>.
48   Standard_EXPORT TopOpeBRepBuild_Area1dBuilder(TopOpeBRepBuild_PaveSet& LS, TopOpeBRepBuild_PaveClassifier& LC, const Standard_Boolean ForceClass = Standard_False);
49   
50   //! Sets a Area1dBuilder to find the areas of
51   //! the shapes described by <LS> using the classifier <LC>.
52   Standard_EXPORT virtual void InitAreaBuilder (TopOpeBRepBuild_LoopSet& LS, TopOpeBRepBuild_LoopClassifier& LC, const Standard_Boolean ForceClass = Standard_False) Standard_OVERRIDE;
53   
54   Standard_EXPORT virtual void ADD_Loop_TO_LISTOFLoop (const Handle(TopOpeBRepBuild_Loop)& L, TopOpeBRepBuild_ListOfLoop& LOL, const Standard_Address s = NULL) const Standard_OVERRIDE;
55   
56   Standard_EXPORT virtual void REM_Loop_FROM_LISTOFLoop (TopOpeBRepBuild_ListIteratorOfListOfLoop& ITLOL, TopOpeBRepBuild_ListOfLoop& LOL, const Standard_Address s = NULL) const Standard_OVERRIDE;
57   
58   Standard_EXPORT virtual void ADD_LISTOFLoop_TO_LISTOFLoop (TopOpeBRepBuild_ListOfLoop& LOL1, TopOpeBRepBuild_ListOfLoop& LOL2, const Standard_Address s = NULL, const Standard_Address s1 = NULL, const Standard_Address s2 = NULL) const Standard_OVERRIDE;
59   
60   Standard_EXPORT static void DumpList (const TopOpeBRepBuild_ListOfLoop& L);
61
62
63
64
65 protected:
66
67
68
69
70
71 private:
72
73
74
75
76
77 };
78
79
80
81
82
83
84
85 #endif // _TopOpeBRepBuild_Area1dBuilder_HeaderFile