![]() |
MapLink Pro 11.1.1.0.
Envitia MapLink Pro: The Ultimate Mapping Application Toolkit
|
This class encapsulates the functionality associated with the geopackage metadata tables.
It provides access to a single row, from the gpkg_metadata table.
Public Member Functions | |
TSLGPkgMetadataScopeEnum | scope () const |
bool | metadata (TSLSimpleString &data) const |
unsigned int | metadataSize () const |
const char * | mimeType () const |
const char * | uri () const |
const TSLGPkgMetadataRefContainer * | references () const |
bool TSLGPkgMetadata::metadata | ( | TSLSimpleString & | data | ) | const |
Query the metadata contents.
This method will return the raw data from the metadata column. The metadata will be appended to the supplied TSLSimpleString.
The application may check the size of the metadata via the metadataSize() method.
data | The metadata will be appended to this string. |
unsigned int TSLGPkgMetadata::metadataSize | ( | ) | const |
Query the length of the metadata string.
Returns the length of the metadata string, in characters.
const char * TSLGPkgMetadata::mimeType | ( | ) | const |
Query the MIME type of the metadata.
Returns the MIME encoding of the metadata, if present.
const TSLGPkgMetadataRefContainer * TSLGPkgMetadata::references | ( | ) | const |
Query the metadata references associated with this metadata item.
Returns an object containing all the geopackage metadata references, which are associated with this metadata item.
TSLGPkgMetadataScopeEnum TSLGPkgMetadata::scope | ( | ) | const |
Query the scope of the metadata.
Returns the GeoPackage Metadata item scope, as defined in OGC GeoPackage specification Table 15.
const char * TSLGPkgMetadata::uri | ( | ) | const |
Query the URI of the metadata.
Returns the URI (Uniform Resource Identifier) reference to the metadata structure definition authority, if present.