Builder for creating luciad::GeoPackageDataSource
.
More...
#include <luciad/formats/geopackage/GeoPackageDataSource.h>
◆ Builder() [1/2]
luciad::GeoPackageDataSource::Builder::Builder |
( |
const Builder & |
other | ) |
|
◆ Builder() [2/2]
luciad::GeoPackageDataSource::Builder::Builder |
( |
Builder && |
other | ) |
|
|
noexcept |
◆ ~Builder()
luciad::GeoPackageDataSource::Builder::~Builder |
( |
| ) |
|
◆ build()
Build the GeoPackage data source .
After calling this function, this builder should no longer be used.
- Exceptions
-
- Returns
- the GeoPackage data source.
◆ operator=()
Builder & luciad::GeoPackageDataSource::Builder::operator= |
( |
Builder |
other | ) |
|
|
noexcept |
◆ source()
Builder & luciad::GeoPackageDataSource::Builder::source |
( |
std::string |
source | ) |
|
Sets the absolute path to the GeoPackage file.
The extension of the file should be '.gpkg'. Calling this function is mandatory.
- Parameters
-
source | The absolute path to the GeoPackage file. |
◆ tableName()
Builder & luciad::GeoPackageDataSource::Builder::tableName |
( |
std::string |
tableName | ) |
|
Sets the name of the table that needs to be decoded.
Calling this function is optional. If not specified, the first features table is used.
- Parameters
-
tableName | The name of the table that needs to be decoded. |