GDAL
|
Public Member Functions | |
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... | |
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. 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) |
![]() | |
int | GetMOFlags () |
void | SetMOFlags (int nFlags) |
virtual const char * | GetDescription () const |
Fetch object description. More... | |
virtual void | SetDescription (const char *) |
Set object description. More... | |
virtual const char * | GetMetadataItem (const char *pszName, const char *pszDomain="") |
Fetch single metadata item. More... | |
virtual CPLErr | SetMetadataItem (const char *pszName, const char *pszValue, const char *pszDomain="") |
Set single metadata item. More... | |
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) |
Additional Inherited Members | |
![]() | |
static CPLErr | DefaultCopyMasks (GDALDataset *poSrcDS, GDALDataset *poDstDS, int bStrict) |
static CPLErr | QuietDelete (const char *pszName) |
Delete dataset if found. More... | |
![]() | |
char ** | BuildMetadataDomainList (char **papszList, int bCheckNonEmpty,...) CPL_NULL_TERMINATED |
Helper function for custom implementations of GetMetadataDomainList() More... | |
![]() | |
int | nFlags |
CPLString | sDescription |
GDALMultiDomainMetadata | oMDMD |
|
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().
pszDomain | the domain of interest. Use "" or NULL for the default domain. |
Reimplemented from GDALMajorObject.
|
virtual |
Fetch list of metadata domains.
The returned string list is the list of (non-empty) metadata domains.
This method does the same thing as the C function GDALGetMetadataDomainList().
Reimplemented from GDALMajorObject.
|
virtual |
Set metadata.
The C function GDALSetMetadata() does the same thing as this method.
papszMetadataIn | the metadata in name=value string list format to apply. |
pszDomain | the domain of interest. Use "" or NULL for the default domain. |
Reimplemented from GDALMajorObject.