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 |
|
|
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 |
|
|