0032969: Coding - get rid of unused headers [IMeshData to PLib]
[occt.git] / src / Interface / Interface_HGraph.cxx
1 // Copyright (c) 1999-2014 OPEN CASCADE SAS
2 //
3 // This file is part of Open CASCADE Technology software library.
4 //
5 // This library is free software; you can redistribute it and/or modify it under
6 // the terms of the GNU Lesser General Public License version 2.1 as published
7 // by the Free Software Foundation, with special exception defined in the file
8 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
9 // distribution for complete text of the license and disclaimer of any warranty.
10 //
11 // Alternatively, this file may be used under the terms of Open CASCADE
12 // commercial license or contractual agreement.
13
14
15 #include <Interface_GTool.hxx>
16 #include <Interface_HGraph.hxx>
17 #include <Interface_InterfaceModel.hxx>
18 #include <Interface_Protocol.hxx>
19 #include <Standard_Type.hxx>
20
21 IMPLEMENT_STANDARD_RTTIEXT(Interface_HGraph,Standard_Transient)
22
23 Interface_HGraph::Interface_HGraph (const Interface_Graph& agraph)
24     :  thegraph(agraph)    {  }
25    
26
27     Interface_HGraph::Interface_HGraph
28   (const Handle(Interface_InterfaceModel)& amodel,
29    const Interface_GeneralLib& lib,
30    const Standard_Boolean theModeStat)
31      :  thegraph (amodel,lib,theModeStat)    {  }
32
33
34      Interface_HGraph::Interface_HGraph
35   (const Handle(Interface_InterfaceModel)& amodel,
36    const Handle(Interface_Protocol)& protocol,
37    const Standard_Boolean theModeStat)
38      :  thegraph (amodel,protocol,theModeStat)    {  }
39
40
41      Interface_HGraph::Interface_HGraph
42   (const Handle(Interface_InterfaceModel)& amodel,
43    const Handle(Interface_GTool)& gtool,
44    const Standard_Boolean theModeStat)
45      :  thegraph (amodel,gtool,theModeStat)    {  }
46
47
48      Interface_HGraph::Interface_HGraph
49   (const Handle(Interface_InterfaceModel)& amodel,
50     const Standard_Boolean theModeStat)
51      :  thegraph (amodel,theModeStat)    {  }
52
53
54     const Interface_Graph&  Interface_HGraph::Graph () const
55       {  return thegraph;  }
56
57
58     Interface_Graph&  Interface_HGraph::CGraph ()
59       {  return thegraph;  }