1 -- Created on: 2000-09-29
2 -- Created by: Pavel TELKOV
3 -- Copyright (c) 2000-2014 OPEN CASCADE SAS
5 -- This file is part of Open CASCADE Technology software library.
7 -- This library is free software; you can redistribute it and/or modify it under
8 -- the terms of the GNU Lesser General Public License version 2.1 as published
9 -- by the Free Software Foundation, with special exception defined in the file
10 -- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
11 -- distribution for complete text of the license and disclaimer of any warranty.
13 -- Alternatively, this file may be used under the terms of Open CASCADE
14 -- commercial license or contractual agreement.
16 class GraphNode from PXCAFDoc inherits Attribute from PDF
23 GraphNodeSequence from PXCAFDoc
26 Create returns GraphNode from PXCAFDoc;
28 SetFather (me : mutable;F : GraphNode from PXCAFDoc)
29 returns Integer from Standard;
31 SetChild (me : mutable;Ch : GraphNode from PXCAFDoc)
32 returns Integer from Standard;
34 GetFather (me ; Findex : Integer from Standard)
35 returns GraphNode from PXCAFDoc;
37 GetChild (me ; Chindex : Integer from Standard)
38 returns GraphNode from PXCAFDoc;
40 FatherIndex (me ; F : GraphNode from PXCAFDoc)
41 returns Integer from Standard;
43 ChildIndex (me ; Ch : GraphNode from PXCAFDoc)
44 returns Integer from Standard;
46 NbFathers (me) returns Integer from Standard;
48 NbChildren (me) returns Integer from Standard;
50 SetGraphID(me : mutable; GUID : GUID from Standard);
52 GetGraphID(me) returns GUID from Standard;
56 myFathers : GraphNodeSequence from PXCAFDoc;
57 myChildren : GraphNodeSequence from PXCAFDoc;
58 myGraphID : GUID from Standard;