Class for dataset open functions.
More...
#include <gdal_priv.h>
|
char * | pszFilename |
| Filename.
|
|
char ** | papszOpenOptions |
| Open options.
|
|
GDALAccess | eAccess |
| Access flag.
|
|
int | nOpenFlags |
| Open flags.
|
|
int | bStatOK |
| Whether stat()'ing the file was successful.
|
|
int | bIsDirectory |
| Whether the file is a directory.
|
|
VSILFILE * | fpL |
| Pointer to the file.
|
|
int | nHeaderBytes |
| Number of bytes in pabyHeader.
|
|
GByte * | pabyHeader |
| Buffer with first bytes of the file.
|
|
const char *const * | papszAllowedDrivers |
| Allowed drivers (NULL for all)
|
|
Class for dataset open functions.
◆ GDALOpenInfo()
GDALOpenInfo::GDALOpenInfo |
( |
const char * |
pszFilenameIn, |
|
|
int |
nOpenFlagsIn, |
|
|
const char *const * |
papszSiblingsIn = nullptr |
|
) |
| |
Constructor/.
- Parameters
-
pszFilenameIn | filename |
nOpenFlagsIn | open flags |
papszSiblingsIn | list of sibling files, or NULL. |
◆ AreSiblingFilesLoaded()
bool GDALOpenInfo::AreSiblingFilesLoaded |
( |
| ) |
const |
Return whether sibling files have been loaded.
- Returns
- true or false.
◆ GetSiblingFiles()
char ** GDALOpenInfo::GetSiblingFiles |
( |
| ) |
|
Return sibling files.
- Returns
- sibling files. Ownership below to the object.
◆ StealSiblingFiles()
char ** GDALOpenInfo::StealSiblingFiles |
( |
| ) |
|
Return sibling files and steal reference.
- Returns
- sibling files. Ownership below to the caller (must be freed with CSLDestroy)
◆ TryToIngest()
int GDALOpenInfo::TryToIngest |
( |
int |
nBytes | ) |
|
Ingest bytes from the file.
- Parameters
-
nBytes | number of bytes to ingest. |
- Returns
- TRUE if successful
The documentation for this class was generated from the following files: