1 // Copyright (C) 2007-2010 CEA/DEN, EDF R&D, OPEN CASCADE
3 // This library is free software; you can redistribute it and/or
4 // modify it under the terms of the GNU Lesser General Public
5 // License as published by the Free Software Foundation; either
6 // version 2.1 of the License.
8 // This library is distributed in the hope that it will be useful,
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 // Lesser General Public License for more details.
13 // You should have received a copy of the GNU Lesser General Public
14 // License along with this library; if not, write to the Free Software
15 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
20 #ifndef _Handle_GEOMAlgo_ClsfSolid_HeaderFile
21 #define _Handle_GEOMAlgo_ClsfSolid_HeaderFile
23 #ifndef _Standard_Macro_HeaderFile
24 #include <Standard_Macro.hxx>
26 #ifndef _Standard_HeaderFile
27 #include <Standard.hxx>
30 #ifndef _Handle_GEOMAlgo_Clsf_HeaderFile
31 #include <Handle_GEOMAlgo_Clsf.hxx>
34 class Standard_Transient;
35 class Handle_Standard_Type;
36 class Handle(GEOMAlgo_Clsf);
37 class GEOMAlgo_ClsfSolid;
38 Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(GEOMAlgo_ClsfSolid);
40 class Handle(GEOMAlgo_ClsfSolid) : public Handle(GEOMAlgo_Clsf) {
42 Handle(GEOMAlgo_ClsfSolid)():Handle(GEOMAlgo_Clsf)() {}
43 Handle(GEOMAlgo_ClsfSolid)(const Handle(GEOMAlgo_ClsfSolid)& aHandle) : Handle(GEOMAlgo_Clsf)(aHandle)
47 Handle(GEOMAlgo_ClsfSolid)(const GEOMAlgo_ClsfSolid* anItem) : Handle(GEOMAlgo_Clsf)((GEOMAlgo_Clsf *)anItem)
51 Handle(GEOMAlgo_ClsfSolid)& operator=(const Handle(GEOMAlgo_ClsfSolid)& aHandle)
53 Assign(aHandle.Access());
57 Handle(GEOMAlgo_ClsfSolid)& operator=(const GEOMAlgo_ClsfSolid* anItem)
59 Assign((Standard_Transient *)anItem);
63 GEOMAlgo_ClsfSolid* operator->() const
65 return (GEOMAlgo_ClsfSolid *)ControlAccess();
68 // Standard_EXPORT ~Handle(GEOMAlgo_ClsfSolid)();
70 Standard_EXPORT static const Handle(GEOMAlgo_ClsfSolid) DownCast(const Handle(Standard_Transient)& AnObject);