-- Created on: 1992-06-23 -- Created by: Gilles DEBARBOUILLE -- Copyright (c) 1992-1999 Matra Datavision -- Copyright (c) 1999-2014 OPEN CASCADE SAS -- -- This file is part of Open CASCADE Technology software library. -- -- This library is free software; you can redistribute it and/or modify it under -- the terms of the GNU Lesser General Public License version 2.1 as published -- by the Free Software Foundation, with special exception defined in the file -- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT -- distribution for complete text of the license and disclaimer of any warranty. -- -- Alternatively, this file may be used under the terms of Open CASCADE -- commercial license or contractual agreement. generic class TList from MAT (Item as any) ---Purpose: inherits TShared --uses --raises class TListNode from MAT ---Purpose: inherits TShared --uses --raises is Create returns mutable TListNode from MAT; ---C++: inline Create(anitem : Item) returns mutable TListNode from MAT; ---C++: inline GetItem(me) returns any Item -- C++: return & ---C++: inline is static; Next(me) returns mutable TListNode from MAT ---C++: inline is static; Previous(me) returns mutable TListNode from MAT ---C++: inline is static; SetItem(me : mutable ; anitem : any Item) ---C++: inline is static; Next(me : mutable ; atlistnode : mutable TListNode from MAT) ---C++: inline is static; Previous(me : mutable ; atlistnode : mutable TListNode from MAT) ---C++: inline is static; Dummy(me) is static; fields thenext : TListNode from MAT; theprevious : TListNode from MAT; theitem : Item; end TListNode; is Create returns mutable TList from MAT; First(me : mutable) is static; Last(me : mutable) is static; Init(me : mutable ; aniten : any Item) is static; Next(me : mutable) is static; Previous(me : mutable) is static; More(me) returns Boolean is static; Current(me) returns any Item is static; Current(me ; anitem : any Item) is static; FirstItem(me) returns any Item is static; LastItem(me) returns any Item is static; PreviousItem(me) returns any Item is static; NextItem(me) returns any Item is static; Number(me) returns Integer ---C++: inline is static; Index(me) returns Integer ---C++: inline is static; Brackets(me : mutable ; anindex : Integer) returns any Item -- C++: return & ---C++: alias operator() is static; Unlink(me : mutable) is static; LinkBefore(me : mutable ; anitem : any Item) is static; LinkAfter(me : mutable ; anitem : any Item) is static; FrontAdd(me : mutable ; anitem : any Item) is static; BackAdd(me : mutable ; anitem : any Item) is static; Permute(me : mutable) is static; Loop(me) is static; IsEmpty(me) returns Boolean is static; Dump(me : mutable ; ashift , alevel : Integer); fields thefirstnode : TListNode from MAT; thelastnode : TListNode from MAT; thecurrentnode : TListNode from MAT; thecurrentindex : Integer; thenumberofitems : Integer; end TList;