GDAL
Public Member Functions | Public Attributes | Friends
VRTWarpedDataset Class Reference
Inheritance diagram for VRTWarpedDataset:
VRTDataset GDALDataset GDALMajorObject

List of all members.

Public Member Functions

 VRTWarpedDataset (int nXSize, int nYSize)
CPLErr Initialize (void *)
virtual CPLErr IBuildOverviews (const char *, int, int *, int, int *, GDALProgressFunc, void *)
virtual CPLXMLNodeSerializeToXML (const char *pszVRTPath)
virtual CPLErr XMLInit (CPLXMLNode *, const char *)
virtual CPLErr AddBand (GDALDataType eType, char **papszOptions=NULL)
 Add a band to a dataset.
virtual char ** GetFileList ()
 Fetch files forming dataset.
CPLErr ProcessBlock (int iBlockX, int iBlockY)
void GetBlockSize (int *, int *)

Public Attributes

int nOverviewCount
VRTWarpedDataset ** papoOverviews

Friends

class VRTWarpedRasterBand

Member Function Documentation

CPLErr VRTWarpedDataset::AddBand ( GDALDataType  eType,
char **  papszOptions = NULL 
) [virtual]

Add a band to a dataset.

This method will add a new band to the dataset if the underlying format supports this action. Most formats do not.

Note that the new GDALRasterBand is not returned. It may be fetched after successful completion of the method by calling GDALDataset::GetRasterBand(GDALDataset::GetRasterCount()) as the newest band will always be the last band.

Parameters:
eTypethe data type of the pixels in the new band.
papszOptionsa list of NAME=VALUE option strings. The supported options are format specific. NULL may be passed by default.
Returns:
CE_None on success or CE_Failure on failure.

Reimplemented from VRTDataset.

References GDALDataset::GetRasterCount().

Referenced by GDALCreateWarpedVRT().

char ** VRTWarpedDataset::GetFileList ( void  ) [virtual]

Fetch files forming dataset.

Returns a list of files believed to be part of this dataset. If it returns an empty list of files it means there is believed to be no local file system files associated with the dataset (for instance a virtual dataset). The returned file list is owned by the caller and should be deallocated with CSLDestroy().

The returned filenames will normally be relative or absolute paths depending on the path used to originally open the dataset. The strings will be UTF8 encoded.

This method is the same as the C GDALGetFileList() function.

Returns:
NULL or a NULL terminated array of file names.

Reimplemented from VRTDataset.

References GDALWarpOptions::hSrcDS, and VSIStatL().


The documentation for this class was generated from the following files:

Generated for GDAL by doxygen 1.7.6.1.