PageRenderTime 32ms CodeModel.GetById 27ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/src/contrib/geom-5.1.2.7/inc/Handle_GEOMAlgo_ClsfSurf.hxx

http://pythonocc.googlecode.com/
C++ Header | 72 lines | 42 code | 11 blank | 19 comment | 0 complexity | b980789a671d6f2268f6605bd9b11a65 MD5 | raw file
 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#ifndef _Handle_GEOMAlgo_ClsfSurf_HeaderFile
21#define _Handle_GEOMAlgo_ClsfSurf_HeaderFile
22
23#ifndef _Standard_Macro_HeaderFile
24#include <Standard_Macro.hxx>
25#endif
26#ifndef _Standard_HeaderFile
27#include <Standard.hxx>
28#endif
29
30#ifndef _Handle_GEOMAlgo_Clsf_HeaderFile
31#include <Handle_GEOMAlgo_Clsf.hxx>
32#endif
33
34class Standard_Transient;
35class Handle_Standard_Type;
36class Handle(GEOMAlgo_Clsf);
37class GEOMAlgo_ClsfSurf;
38Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(GEOMAlgo_ClsfSurf);
39
40class Handle(GEOMAlgo_ClsfSurf) : public Handle(GEOMAlgo_Clsf) {
41  public:
42    Handle(GEOMAlgo_ClsfSurf)():Handle(GEOMAlgo_Clsf)() {} 
43    Handle(GEOMAlgo_ClsfSurf)(const Handle(GEOMAlgo_ClsfSurf)& aHandle) : Handle(GEOMAlgo_Clsf)(aHandle) 
44     {
45     }
46
47    Handle(GEOMAlgo_ClsfSurf)(const GEOMAlgo_ClsfSurf* anItem) : Handle(GEOMAlgo_Clsf)((GEOMAlgo_Clsf *)anItem) 
48     {
49     }
50
51    Handle(GEOMAlgo_ClsfSurf)& operator=(const Handle(GEOMAlgo_ClsfSurf)& aHandle)
52     {
53      Assign(aHandle.Access());
54      return *this;
55     }
56
57    Handle(GEOMAlgo_ClsfSurf)& operator=(const GEOMAlgo_ClsfSurf* anItem)
58     {
59      Assign((Standard_Transient *)anItem);
60      return *this;
61     }
62
63    GEOMAlgo_ClsfSurf* operator->() const
64     {
65      return (GEOMAlgo_ClsfSurf *)ControlAccess();
66     }
67
68//   Standard_EXPORT ~Handle(GEOMAlgo_ClsfSurf)();
69 
70   Standard_EXPORT static const Handle(GEOMAlgo_ClsfSurf) DownCast(const Handle(Standard_Transient)& AnObject);
71};
72#endif