|
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") |
Public Member Functions inherited from GDALDriver | |
| virtual CPLErr | SetMetadataItem (const char *pszName, const char *pszValue, const char *pszDomain="") |
| Set single metadata item. More... | |
| GDALDataset * | Create (const char *pszName, int nXSize, int nYSize, int nBands, GDALDataType eType, char **papszOptions) CPL_WARN_UNUSED_RESULT |
| Create a new dataset with this driver. More... | |
| CPLErr | Delete (const char *pszName) |
| Delete named dataset. More... | |
| CPLErr | Rename (const char *pszNewName, const char *pszOldName) |
| Rename a dataset. More... | |
| CPLErr | CopyFiles (const char *pszNewName, const char *pszOldName) |
| Copy the files of a dataset. More... | |
| GDALDataset * | CreateCopy (const char *, GDALDataset *, int, char **, GDALProgressFunc pfnProgress, void *pProgressData) CPL_WARN_UNUSED_RESULT |
| Create a copy of a dataset. More... | |
| GDALDataset * | DefaultCreateCopy (const char *, GDALDataset *, int, char **, GDALProgressFunc pfnProgress, void *pProgressData) CPL_WARN_UNUSED_RESULT |
| CPLErr | DefaultRename (const char *pszNewName, const char *pszOldName) |
| CPLErr | DefaultCopyFiles (const char *pszNewName, const char *pszOldName) |
Public Member Functions inherited from GDALMajorObject | |
| int | GetMOFlags () |
| void | SetMOFlags (int nFlagsIn) |
| virtual const char * | GetDescription () const |
| Fetch object description. More... | |
| virtual void | SetDescription (const char *) |
| Set object description. More... | |
| virtual char ** | GetMetadataDomainList () |
| Fetch list of metadata domains. More... | |
| virtual char ** | GetMetadata (const char *pszDomain="") |
| Fetch metadata. More... | |
| virtual CPLErr | SetMetadata (char **papszMetadata, const char *pszDomain="") |
| Set metadata. More... | |
| virtual const char * | GetMetadataItem (const char *pszName, const char *pszDomain="") |
| Fetch single metadata item. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from GDALDriver | |
| static CPLErr | DefaultCopyMasks (GDALDataset *poSrcDS, GDALDataset *poDstDS, int bStrict) |
| static CPLErr | QuietDelete (const char *pszName) |
| Delete dataset if found. More... | |
Public Attributes inherited from GDALDriver | |
| GDALDataset *(* | pfnOpen )(GDALOpenInfo *) |
| GDALDataset *(* | pfnCreate )(const char *pszName, int nXSize, int nYSize, int nBands, GDALDataType eType, char **papszOptions) |
| CPLErr(* | pfnDelete )(const char *pszName) |
| GDALDataset *(* | pfnCreateCopy )(const char *, GDALDataset *, int, char **, GDALProgressFunc pfnProgress, void *pProgressData) |
| void * | pDriverData |
| void(* | pfnUnloadDriver )(GDALDriver *) |
| int(* | pfnIdentify )(GDALOpenInfo *) |
| Identify() if the file is recognized or not by the driver. More... | |
| CPLErr(* | pfnRename )(const char *pszNewName, const char *pszOldName) |
| CPLErr(* | pfnCopyFiles )(const char *pszNewName, const char *pszOldName) |
| GDALDataset *(* | pfnOpenWithDriverArg )(GDALDriver *, GDALOpenInfo *) |
| GDALDataset *(* | pfnCreateVectorOnly )(GDALDriver *, const char *pszName, char **papszOptions) |
| CPLErr(* | pfnDeleteDataSource )(GDALDriver *, const char *pszName) |
Protected Member Functions inherited from GDALMajorObject | |
| char ** | BuildMetadataDomainList (char **papszList, int bCheckNonEmpty,...) CPL_NULL_TERMINATED |
| Helper function for custom implementations of GetMetadataDomainList() More... | |
Protected Attributes inherited from GDALMajorObject | |
| int | nFlags |
| CPLString | sDescription |
| GDALMultiDomainMetadata | oMDMD |
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*.
1.8.13.