Salome HOME
*** empty log message ***
[modules/geom.git] / src / GEOMAlgo / GEOMAlgo_HAlgo.cxx
1 // Copyright (C) 2005  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
2 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
3 // 
4 // This library is free software; you can redistribute it and/or
5 // modify it under the terms of the GNU Lesser General Public
6 // License as published by the Free Software Foundation; either 
7 // version 2.1 of the License.
8 // 
9 // This library is distributed in the hope that it will be useful 
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of 
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
12 // Lesser General Public License for more details.
13 //
14 // You should have received a copy of the GNU Lesser General Public  
15 // License along with this library; if not, write to the Free Software 
16 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
17 //
18 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
19 //
20 // File:        GEOMAlgo_Algo.cxx
21 // Created:     Sat Dec 04 12:39:47 2004
22 // Author:      Peter KURNEV
23 //              <peter@PREFEX>
24
25
26 #include <GEOMAlgo_HAlgo.ixx>
27
28 //=======================================================================
29 // function: 
30 // purpose: 
31 //=======================================================================
32   GEOMAlgo_HAlgo::GEOMAlgo_HAlgo()
33 :
34   myErrorStatus(1),
35   myWarningStatus(0)
36 {}
37 //=======================================================================
38 // function: ~
39 // purpose: 
40 //=======================================================================
41   GEOMAlgo_HAlgo::~GEOMAlgo_HAlgo()
42 {
43 }
44 //=======================================================================
45 // function: CheckData
46 // purpose: 
47 //=======================================================================
48   void GEOMAlgo_HAlgo::CheckData()
49 {
50   myErrorStatus=0;
51 }
52 //=======================================================================
53 // function: CheckResult
54 // purpose: 
55 //=======================================================================
56   void GEOMAlgo_HAlgo::CheckResult()
57 {
58   myErrorStatus=0;
59 }
60 //=======================================================================
61 // function: ErrorStatus
62 // purpose: 
63 //=======================================================================
64   Standard_Integer GEOMAlgo_HAlgo::ErrorStatus()const
65 {
66   return myErrorStatus;
67 }
68 //=======================================================================
69 // function: WarningStatus
70 // purpose: 
71 //=======================================================================
72   Standard_Integer GEOMAlgo_HAlgo::WarningStatus()const
73 {
74   return myWarningStatus;
75 }
76 //  myErrorStatus
77 //
78 // 1 - object is just initialized