Files
OCCT/src/MAT/MAT_TList.cdl
bugmaster b311480ed5 0023024: Update headers of OCCT files
Added appropriate copyright and license information in source files
2012-03-21 19:43:04 +04:00

221 lines
3.9 KiB
Plaintext
Executable File

-- Created on: 1992-06-23
-- Created by: Gilles DEBARBOUILLE
-- Copyright (c) 1992-1999 Matra Datavision
-- Copyright (c) 1999-2012 OPEN CASCADE SAS
--
-- The content of this file is subject to the Open CASCADE Technology Public
-- License Version 6.5 (the "License"). You may not use the content of this file
-- except in compliance with the License. Please obtain a copy of the License
-- at http://www.opencascade.org and read it completely before using this file.
--
-- The Initial Developer of the Original Code is Open CASCADE S.A.S., having its
-- main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France.
--
-- The Original Code and all software distributed under the License is
-- distributed on an "AS IS" basis, without warranty of any kind, and the
-- Initial Developer hereby disclaims all such warranties, including without
-- limitation, any warranties of merchantability, fitness for a particular
-- purpose or non-infringement. Please see the License for the specific terms
-- and conditions governing the rights and limitations under the License.
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;