\HeaderA{GDALDriver-class}{Class "GDALDriver": GDAL Driver Object}{GDALDriver.Rdash.class}
\aliasA{getDriverLongName}{GDALDriver-class}{getDriverLongName}
\aliasA{getDriverName}{GDALDriver-class}{getDriverName}
\aliasA{getGDALDriverNames}{GDALDriver-class}{getGDALDriverNames}
\aliasA{initialize,GDALDriver-method}{GDALDriver-class}{initialize,GDALDriver.Rdash.method}
\keyword{classes}{GDALDriver-class}
\begin{Description}\relax
\code{GDALDriver} objects encapsulate GDAL file format
drivers. \code{GDALDriver} inherits from \code{\LinkA{GDALMajorObject-class}{GDALMajorObject.Rdash.class}}.
\end{Description}
\begin{Usage}
\begin{verbatim}
getGDALDriverNames()
getDriverName(driver)
getDriverLongName(driver)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{driver}] An object inheriting from class 'GDALDriver'
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
\describe{
\item[\code{showGDALDriverNames}:] returns all driver names currently
installed in GDAL.

\item[\code{getDriverName}:] returns the GDAL driver name associated
with the driver object.

\item[\code{getDriverLongName}:] returns a longer driver name.
}
\end{Details}
\begin{Section}{Objects from the Class}
Objects can be created by calls of the form \code{new("GDALDriver", name, handle)}, where name: a string giving the name of a GDAL driver, handle: used internally; not for public consumption (default = NULL).
\end{Section}
\begin{Section}{Slots}
\describe{
\item[\code{handle}:] Object of class \code{"externalptr", from class "GDALMajorObject"}, used internally; not for public consumption
}
\end{Section}
\begin{Section}{Extends}
Class \code{"GDALMajorObject"}, directly.
\end{Section}
\begin{Section}{Methods}
\describe{
\item[initialize] \code{signature(.Object = "GDALDriver")}: drivername: a string giving the name of a GDAL driver, handle: used internally; not for public consumption (default = NULL) 
}
\end{Section}
\begin{Author}\relax
Timothy H. Keitt, modified by Roger Bivand
\end{Author}
\begin{SeeAlso}\relax
\code{\LinkA{GDALMajorObject-class}{GDALMajorObject.Rdash.class}}
\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
getGDALDriverNames()
logo <- system.file("pictures/logo.jpg", package="rgdal")[1]
x <- new("GDALReadOnlyDataset", logo)
getDriver(x)
getDriverLongName(getDriver(x))
GDAL.close(x)
\end{ExampleCode}
\end{Examples}

