1 // Copyright (c) 1999-2014 OPEN CASCADE SAS
3 // This file is part of Open CASCADE Technology software library.
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.
11 // Alternatively, this file may be used under the terms of Open CASCADE
12 // commercial license or contractual agreement.
15 #include <Interface_GeneralLib.hxx>
16 #include <Interface_Graph.hxx>
17 #include <Interface_GTool.hxx>
18 #include <Interface_HGraph.hxx>
19 #include <Interface_InterfaceModel.hxx>
20 #include <Interface_Protocol.hxx>
21 #include <Standard_DomainError.hxx>
22 #include <Standard_Type.hxx>
24 IMPLEMENT_STANDARD_RTTIEXT(Interface_HGraph,Standard_Transient)
26 Interface_HGraph::Interface_HGraph (const Interface_Graph& agraph)
27 : thegraph(agraph) { }
30 Interface_HGraph::Interface_HGraph
31 (const Handle(Interface_InterfaceModel)& amodel,
32 const Interface_GeneralLib& lib,
33 const Standard_Boolean theModeStat)
34 : thegraph (amodel,lib,theModeStat) { }
37 Interface_HGraph::Interface_HGraph
38 (const Handle(Interface_InterfaceModel)& amodel,
39 const Handle(Interface_Protocol)& protocol,
40 const Standard_Boolean theModeStat)
41 : thegraph (amodel,protocol,theModeStat) { }
44 Interface_HGraph::Interface_HGraph
45 (const Handle(Interface_InterfaceModel)& amodel,
46 const Handle(Interface_GTool)& gtool,
47 const Standard_Boolean theModeStat)
48 : thegraph (amodel,gtool,theModeStat) { }
51 Interface_HGraph::Interface_HGraph
52 (const Handle(Interface_InterfaceModel)& amodel,
53 const Standard_Boolean theModeStat)
54 : thegraph (amodel,theModeStat) { }
57 const Interface_Graph& Interface_HGraph::Graph () const
61 Interface_Graph& Interface_HGraph::CGraph ()