GDAL
Public Member Functions | List of all members
GDALMDReaderManager Class Reference

The metadata reader main class. More...

#include <gdal_mdreader.h>

Public Member Functions

 GDALMDReaderManager ()
 GDALMDReaderManager()
 
virtual ~GDALMDReaderManager ()
 ~GDALMDReaderManager()
 
virtual GDALMDReaderBaseGetReader (const char *pszPath, char **papszSiblingFiles, GUInt32 nType=MDR_ANY)
 Try to detect metadata reader correspondent to the provided datasource path. More...
 

Detailed Description

The metadata reader main class.

The main purpose of this class is to provide an correspondent reader for provided path.

Member Function Documentation

◆ GetReader()

GDALMDReaderBase * GDALMDReaderManager::GetReader ( const char *  pszPath,
char **  papszSiblingFiles,
GUInt32  nType = MDR_ANY 
)
virtual

Try to detect metadata reader correspondent to the provided datasource path.

Parameters
pszPatha path to GDALDataset
papszSiblingFilesfile list for metadata search purposes
nTypea preferable reader type (may be the OR of MDReaders)
Returns
an appropriate reader or NULL if no such reader or error. The pointer delete by the GDALMDReaderManager, so the user have not delete it.

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

Generated for GDAL by doxygen 1.8.13.