Salome HOME
Mantis issue 0020545: error in Partition with keep non-limit shapes.
[modules/geom.git] / src / GEOMAlgo / GEOMAlgo_HAlgo.hxx
1 //  Copyright (C) 2007-2008  CEA/DEN, EDF R&D, OPEN CASCADE
2 //
3 //  Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 //  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
5 //
6 //  This library is free software; you can redistribute it and/or
7 //  modify it under the terms of the GNU Lesser General Public
8 //  License as published by the Free Software Foundation; either
9 //  version 2.1 of the License.
10 //
11 //  This library is distributed in the hope that it will be useful,
12 //  but WITHOUT ANY WARRANTY; without even the implied warranty of
13 //  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14 //  Lesser General Public License for more details.
15 //
16 //  You should have received a copy of the GNU Lesser General Public
17 //  License along with this library; if not, write to the Free Software
18 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
19 //
20 //  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
21 //
22 #ifndef _GEOMAlgo_HAlgo_HeaderFile
23 #define _GEOMAlgo_HAlgo_HeaderFile
24
25 #ifndef _Standard_HeaderFile
26 #include <Standard.hxx>
27 #endif
28 #ifndef _Handle_GEOMAlgo_HAlgo_HeaderFile
29 #include <Handle_GEOMAlgo_HAlgo.hxx>
30 #endif
31
32 #ifndef _Standard_Integer_HeaderFile
33 #include <Standard_Integer.hxx>
34 #endif
35 #ifndef _MMgt_TShared_HeaderFile
36 #include <MMgt_TShared.hxx>
37 #endif
38
39
40
41 class GEOMAlgo_HAlgo : public MMgt_TShared {
42
43 public:
44  // Methods PUBLIC
45  // 
46
47
48 Standard_EXPORT virtual  void Perform()  = 0;
49
50
51 Standard_EXPORT virtual  void CheckData() ;
52
53
54 Standard_EXPORT virtual  void CheckResult() ;
55
56
57 Standard_EXPORT   Standard_Integer ErrorStatus() const;
58
59
60 Standard_EXPORT   Standard_Integer WarningStatus() const;
61 //Standard_EXPORT ~GEOMAlgo_HAlgo();
62
63
64
65
66  // Type management
67  //
68  Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
69  //Standard_EXPORT Standard_Boolean            IsKind(const Handle(Standard_Type)&) const;
70
71 protected:
72
73  // Methods PROTECTED
74  // 
75
76
77 Standard_EXPORT GEOMAlgo_HAlgo();
78 Standard_EXPORT virtual ~GEOMAlgo_HAlgo();
79
80
81  // Fields PROTECTED
82  //
83 Standard_Integer myErrorStatus;
84 Standard_Integer myWarningStatus;
85
86
87 private: 
88
89  // Methods PRIVATE
90  // 
91
92
93  // Fields PRIVATE
94  //
95
96
97 };
98
99
100
101
102
103 // other Inline functions and methods (like "C++: function call" methods)
104 //
105
106
107 #endif