/[thuban]/branches/WIP-pyshapelib-bramz/Thuban/Model/data.py
ViewVC logotype

Diff of /branches/WIP-pyshapelib-bramz/Thuban/Model/data.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1073 by bh, Thu May 22 16:37:48 2003 UTC revision 1074 by bh, Tue May 27 17:39:43 2003 UTC
# Line 82  class ShapefileStore: Line 82  class ShapefileStore:
82          """          """
83          return ()          return ()
84    
85        def OrigShapeStore(self):
86            """Return None.
87    
88            The ShapefileStore was not derived from another shapestore.
89            """
90            return None
91    
92    
93  class DerivedShapeStore:  class DerivedShapeStore:
94    
# Line 101  class DerivedShapeStore: Line 108  class DerivedShapeStore:
108          return self.table          return self.table
109    
110      def Shapefile(self):      def Shapefile(self):
111          """Return the shapefile of he underlying shapestore"""          """Return the shapefile of the underlying shapestore"""
112          return self.shapestore.Shapefile()          return self.shapestore.Shapefile()
113    
114      def Dependencies(self):      def Dependencies(self):
115          """Return a tuple containing the shapestore and the table"""          """Return a tuple containing the shapestore and the table"""
116          return (self.shapestore, self.table)          return (self.shapestore, self.table)
117    
118        def OrigShapeStore(self):
119            """
120            Return the original shapestore the derived store was instantiated with
121            """
122            return self.shapestore
123    
124    
125  class SimpleStore:  class SimpleStore:
126    

Legend:
Removed from v.1073  
changed lines
  Added in v.1074

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26