Public Member Functions |
virtual char ** | GetMetadata (const char *pszDomain="") |
| Fetch metadata.
|
virtual CPLErr | SetMetadata (char **papszMetadata, const char *pszDomain="") |
| Set metadata.
|
VRTSource * | ParseSource (CPLXMLNode *psSrc, const char *pszVRTPath) |
void | AddSourceParser (const char *pszElementName, VRTSourceParser pfnParser) |
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.
|
CPLErr | Delete (const char *pszName) |
| Delete named dataset.
|
CPLErr | Rename (const char *pszNewName, const char *pszOldName) |
| Rename a dataset.
|
CPLErr | CopyFiles (const char *pszNewName, const char *pszOldName) |
| Copy the files of a dataset.
|
GDALDataset * | CreateCopy (const char *, GDALDataset *, int, char **, GDALProgressFunc pfnProgress, void *pProgressData) CPL_WARN_UNUSED_RESULT |
| Create a copy of a dataset.
|
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) |
int | GetMOFlags () |
void | SetMOFlags (int nFlags) |
virtual const char * | GetDescription () const |
| Fetch object description.
|
virtual void | SetDescription (const char *) |
| Set object description.
|
virtual const char * | GetMetadataItem (const char *pszName, const char *pszDomain="") |
| Fetch single metadata item.
|
virtual CPLErr | SetMetadataItem (const char *pszName, const char *pszValue, const char *pszDomain="") |
| Set single metadata item.
|
Public Attributes |
char ** | papszSourceParsers |
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 *) |
CPLErr(* | pfnRename )(const char *pszNewName, const char *pszOldName) |
CPLErr(* | pfnCopyFiles )(const char *pszNewName, const char *pszOldName) |
char ** VRTDriver::GetMetadata |
( |
const char * |
pszDomain = "" | ) |
|
|
virtual |
Fetch metadata.
The returned string list is owned by the object, and may change at any time. It is formated as a "Name=value" list with the last pointer value being NULL. Use the the CPL StringList functions such as CSLFetchNameValue() to manipulate it.
Note that relatively few formats return any metadata at this time.
This method does the same thing as the C function GDALGetMetadata().
- Parameters
-
pszDomain | the domain of interest. Use "" or NULL for the default domain. |
- Returns
- NULL or a string list.
Reimplemented from GDALMajorObject.