1 |
2003-05-07 Bernhard Herzog <[email protected]> |
2003-05-07 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
* Thuban/Model/session.py (Session.__init__): New instance |
4 |
|
variable shapestores to hold a list of all open shapestore objects |
5 |
|
(Session.ShapeStores): New. Accessor method for the shapestores |
6 |
|
list. |
7 |
|
(Session._add_shapestore, Session._clean_weak_store_refs): New. |
8 |
|
Internal methods to maintain the shapestores list. |
9 |
|
(Session.Tables): New. Return all tables open in the session. |
10 |
|
(Session.OpenShapefile): Insert the new ShapeStore into the |
11 |
|
shapestores list. |
12 |
|
|
13 |
|
* test/test_session.py (TestSessionSimple.test_initial_state): Add |
14 |
|
tests for ShapeStores and Tables |
15 |
|
(TestSessionWithContent.test_shape_stores) |
16 |
|
(TestSessionWithContent.test_tables): New. Test cases for |
17 |
|
ShapeStores and Tables |
18 |
|
|
19 |
|
2003-05-07 Bernhard Herzog <[email protected]> |
20 |
|
|
21 |
* Thuban/Model/transientdb.py (TransientTableBase.ReadRowAsDict): |
* Thuban/Model/transientdb.py (TransientTableBase.ReadRowAsDict): |
22 |
Add comments about the optimizations used. |
Add comments about the optimizations used. |
23 |
(AutoTransientTable.ReadValue, TransientTableBase.ReadValue): New. |
(AutoTransientTable.ReadValue, TransientTableBase.ReadValue): New. |