#include <gdal_priv.h>
Inheritance diagram for GDALMajorObject:
Public Member Functions | |
int | GetMOFlags () |
void | SetMOFlags (int nFlags) |
virtual const char * | GetDescription () const |
virtual void | SetDescription (const char *) |
virtual char ** | GetMetadata (const char *pszDomain="") |
virtual CPLErr | SetMetadata (char **papszMetadata, const char *pszDomain="") |
virtual const char * | GetMetadataItem (const char *pszName, const char *pszDomain="") |
virtual CPLErr | SetMetadataItem (const char *pszName, const char *pszValue, const char *pszDomain="") |
Protected Attributes | |
int | nFlags |
CPLString | sDescription |
GDALMultiDomainMetadata | oMDMD |
|
Fetch object description. The semantics of the returned description are specific to the derived type. For GDALDatasets it is the dataset name. For GDALRasterBands it is actually a description (if supported) or "". This method is the same as the C function GDALGetDescription().
|
|
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().
|
|
Fetch single metadata item. The C function GDALGetMetadataItem() does the same thing as this method.
|
|
Set object description. The semantics of the description are specific to the derived type. For GDALDatasets it is the dataset name. For GDALRasterBands it is actually a description (if supported) or "". Normally application code should not set the "description" for GDALDatasets. It is handled internally. This method is the same as the C function GDALSetDescription(). |
|
Set metadata. The C function GDALSetMetadata() does the same thing as this method.
|
|
Set single metadata item. The C function GDALSetMetadataItem() does the same thing as this method.
|