aboutsummaryrefslogtreecommitdiffstats
path: root/Frameworks/MCPKit/MCPFoundationKit/MCPGeometryData.h
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2010-10-08 09:28:43 +0000
committerBibiko <bibiko@eva.mpg.de>2010-10-08 09:28:43 +0000
commite4f629711ee44c5c05bcdcd5062036d82bb73596 (patch)
tree5a844d1a85d8c7e780bd8dc9a540d4e8fdec4180 /Frameworks/MCPKit/MCPFoundationKit/MCPGeometryData.h
parentb7cf7ffeb1942ec77ff10dfffb4073f4940f4744 (diff)
downloadsequelpro-e4f629711ee44c5c05bcdcd5062036d82bb73596.tar.gz
sequelpro-e4f629711ee44c5c05bcdcd5062036d82bb73596.tar.bz2
sequelpro-e4f629711ee44c5c05bcdcd5062036d82bb73596.zip
• finished spatial field support
- added missing MULTIPOLYGON and GEOMETRYCOLLECTION support
Diffstat (limited to 'Frameworks/MCPKit/MCPFoundationKit/MCPGeometryData.h')
-rw-r--r--Frameworks/MCPKit/MCPFoundationKit/MCPGeometryData.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Frameworks/MCPKit/MCPFoundationKit/MCPGeometryData.h b/Frameworks/MCPKit/MCPFoundationKit/MCPGeometryData.h
index c37e286d..7d141991 100644
--- a/Frameworks/MCPKit/MCPFoundationKit/MCPGeometryData.h
+++ b/Frameworks/MCPKit/MCPFoundationKit/MCPGeometryData.h
@@ -44,8 +44,12 @@ typedef struct st_point_2d_
@interface MCPGeometryData : NSObject <NSCoding, NSCopying>
{
+ // Holds the WKB bytes coming from SQL server
Byte *geoBuffer;
+
+ // Holds the buffer length
NSUInteger bufferLength;
+
}
- (id)initWithBytes:(Byte*)geoData length:(NSUInteger)length;
@@ -54,5 +58,7 @@ typedef struct st_point_2d_
- (NSUInteger)length;
- (NSData*)data;
- (NSString*)wktString;
+- (NSInteger)wkbType;
+- (NSString*)wktType;
@end