Changeset 13934

Show
Ignore:
Timestamp:
03/05/08 09:36:15 (2 months ago)
Author:
warmerdam
Message:

Clarify driver issue with OGRSFDriver::Open() in docs. (#2259)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/gdal/ogr/ogrsf_frmts/ogrsf_frmts.dox

    r13391 r13934  
    270270 
    271271  This method is what OGRSFDriverRegistrar uses to implement its Open()  
    272   method. 
    273   See it for more details. 
     272  method.  See it for more details. 
     273 
     274  Note, drivers do not normally set their own m_poDriver value, so a direct 
     275  call to this method (instead of indirectly via OGRSFDriverRegistrar) will 
     276  usually result in a datasource that does not know what driver it relates to 
     277  if GetDriver() is called on the datasource.  The application may directly 
     278  call SetDriver() after opening with this method to avoid this problem. 
    274279 
    275280  This method is the same as the C function OGR_Dr_Open().