MapLink Pro 11.1.1.0.
Envitia MapLink Pro: The Ultimate Mapping Application Toolkit
Loading...
Searching...
No Matches
TSLGPkgMetadata Class Reference

Detailed Description

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 TSLGPkgMetadataRefContainerreferences () const
 

Member Function Documentation

◆ metadata()

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.

Parameters
dataThe metadata will be appended to this string.
Returns
true if the metadata was read, or false if an error occurred. On failure an error will be added to the error stack.

◆ metadataSize()

unsigned int TSLGPkgMetadata::metadataSize ( ) const

Query the length of the metadata string.

Returns the length of the metadata string, in characters.

◆ mimeType()

const char * TSLGPkgMetadata::mimeType ( ) const

Query the MIME type of the metadata.

Returns the MIME encoding of the metadata, if present.

◆ references()

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.

◆ scope()

TSLGPkgMetadataScopeEnum TSLGPkgMetadata::scope ( ) const

Query the scope of the metadata.

Returns the GeoPackage Metadata item scope, as defined in OGC GeoPackage specification Table 15.

◆ uri()

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.