My Project
Public Member Functions | List of all members
OGRSFDriver Class Referenceabstract

#include <ogrsf_frmts.h>

Inheritance diagram for OGRSFDriver:

Public Member Functions

virtual const char * GetName () OGR_DEPRECATED("Use GDALDriver class instead")=0
 
virtual OGRDataSourceOpen (const char *pszName, int bUpdate=FALSE) OGR_DEPRECATED("Use GDALDriver class instead")=0
 
virtual int TestCapability (const char *pszCap) OGR_DEPRECATED("Use GDALDriver class instead")=0
 
virtual OGRDataSourceCreateDataSource (const char *pszName, char **=NULL) OGR_DEPRECATED("Use GDALDriver class instead")
 
virtual OGRErr DeleteDataSource (const char *pszName) OGR_DEPRECATED("Use GDALDriver class instead")
 

Detailed Description

LEGACY class. Use GDALDriver in your new code ! This class may be removed in a later release.

Represents an operational format driver.

One OGRSFDriver derived class will normally exist for each file format registered for use, regardless of whether a file has or will be opened. The list of available drivers is normally managed by the OGRSFDriverRegistrar.

NOTE: Starting with GDAL 2.0, it is NOT safe to cast the handle of a C function that returns a OGRSFDriverH to a OGRSFDriver*. If a C++ object is needed, the handle should be cast to GDALDriver*.

Deprecated:

The documentation for this class was generated from the following file: