| 
    GDAL
    
   | 
 
Class for dataset open functions. More...
#include <gdal_priv.h>
Public Member Functions | |
| GDALOpenInfo (const char *pszFile, int nOpenFlagsIn, const char *const *papszSiblingFiles=nullptr) | |
| Constructor/.  More... | |
| int | TryToIngest (int nBytes) | 
| Ingest bytes from the file.  More... | |
| char ** | GetSiblingFiles () | 
| Return sibling files.  More... | |
| char ** | StealSiblingFiles () | 
| Return sibling files and steal reference.  More... | |
| bool | AreSiblingFilesLoaded () const | 
| Return whether sibling files have been loaded.  More... | |
| bool | IsSingleAllowedDriver (const char *pszDriverName) const | 
| Returns true if the driver name is the single in the list of allowed drivers.  More... | |
Public Attributes | |
| 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 | ( | const char * | pszFilenameIn, | 
| int | nOpenFlagsIn, | ||
| const char *const * | papszSiblingsIn = nullptr  | 
        ||
| ) | 
Constructor/.
| pszFilenameIn | filename | 
| nOpenFlagsIn | open flags | 
| papszSiblingsIn | list of sibling files, or NULL. | 
| bool GDALOpenInfo::AreSiblingFilesLoaded | ( | ) | const | 
Return whether sibling files have been loaded.
| char ** GDALOpenInfo::GetSiblingFiles | ( | ) | 
Return sibling files.
| bool GDALOpenInfo::IsSingleAllowedDriver | ( | const char * | pszDriverName | ) | const | 
Returns true if the driver name is the single in the list of allowed drivers.
| pszDriverName | Driver name to test. | 
| char ** GDALOpenInfo::StealSiblingFiles | ( | ) | 
Return sibling files and steal reference.
| int GDALOpenInfo::TryToIngest | ( | int | nBytes | ) | 
Ingest bytes from the file.
| nBytes | number of bytes to ingest. |