GDAL
|
LEGACY class. More...
#include <ogrsf_frmts.h>
Public Member Functions | |
virtual const char * | GetName () OGR_DEPRECATED("Use GDALDriver class instead")=0 |
virtual OGRDataSource * | Open (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 OGRDataSource * | CreateDataSource (const char *pszName, char **=NULL) OGR_DEPRECATED("Use GDALDriver class instead") |
virtual OGRErr | DeleteDataSource (const char *pszName) OGR_DEPRECATED("Use GDALDriver class instead") |
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*.