1 -- Created on: 1995-03-22
2 -- Created by: Jean-Louis Frenkel
3 -- Copyright (c) 1995-1999 Matra Datavision
4 -- Copyright (c) 1999-2014 OPEN CASCADE SAS
6 -- This file is part of Open CASCADE Technology software library.
8 -- This library is free software; you can redistribute it and/or modify it under
9 -- the terms of the GNU Lesser General Public License version 2.1 as published
10 -- by the Free Software Foundation, with special exception defined in the file
11 -- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12 -- distribution for complete text of the license and disclaimer of any warranty.
14 -- Alternatively, this file may be used under the terms of Open CASCADE
15 -- commercial license or contractual agreement.
17 private class StoreList from CDF inherits Transient from Standard
21 ListOfDocument from CDM,
22 MapOfDocument from CDM,
23 MapIteratorOfMapOfDocument from CDM,
25 ExtendedString from TCollection,
28 raises NoSuchObject from Standard
31 Create(aDocument: Document from CDM)
32 returns StoreList from CDF;
34 IsConsistent(me) returns Boolean from Standard;
37 Store(me: mutable; aMetaData: out MetaData from CDM;
38 aStatusAssociatedText: out ExtendedString from TCollection)
39 returns StoreStatus from PCDM
40 ---Purpose: stores each object of the storelist in the reverse
41 -- order of which they had been added.
42 raises NoSuchObject from Standard;
43 ---Warning: if the active dbunit cannot be found
46 ---Category: Private methods.
49 Add(me: mutable; aDocument: Document from CDM)
52 ---Category: iteration methods
54 More(me) returns Boolean from Standard;
56 Value(me) returns Document from CDM;
61 myItems: MapOfDocument from CDM;
62 myStack: ListOfDocument from CDM;
63 myIterator: MapIteratorOfMapOfDocument from CDM;
64 myMainDocument: Document from CDM;
65 end StoreList from CDF;