Opened 16 years ago
Last modified 15 years ago
#481 new defect
Extend FdoIDataReader to provide raw access to current geometry
Reported by: | waltweltonlair | Owned by: | gregboone |
---|---|---|---|
Priority: | minor | Milestone: | 3.6.0 |
Component: | FDO API | Version: | 3.4.0 |
Severity: | 5 (Wish List) | Keywords: | |
Cc: | External ID: |
Description
The FdoIFeatureReader interfaces provides the following method which gives raw access to the current geometry pointed to by the reader:
FDO_API virtual const FdoByte * GetGeometry(FdoString* propertyName, !FdoInt32 * count) = 0;
For performance reasons the FdoIDataReader interface should provide the same method. Currently with FdoIDataReader, the only way to obtain the geometry is via the following FdoIReader method:
FDO_API virtual FdoByteArray* GetGeometry(FdoString* propertyName) = 0;
which allocates a copy of the data. Callers then have a choice of which method to call, depending on their context.
Enhancement Request.