|
| QgsLayerMetadata ()=default |
| Constructor for QgsLayerMetadata. More...
|
|
void | addConstraint (const QgsLayerMetadata::Constraint &constraint) |
| Adds an individual constraint to the existing constraints. More...
|
|
QgsLayerMetadata * | clone () const override |
| Clones the metadata object. More...
|
|
void | combine (const QgsAbstractMetadataBase *other) override |
| Combines the metadata from this object with the metadata from an other object. More...
|
|
QgsLayerMetadata::ConstraintList | constraints () const |
| Returns a list of constraints associated with using the resource. More...
|
|
bool | contains (const QString &searchString) const |
| Returns true if the metadata identifier, title, abstract, keywords or categories contain searchString using case-insensitive search. More...
|
|
QgsCoordinateReferenceSystem | crs () const |
| Returns the coordinate reference system described by the layer's metadata. More...
|
|
QString | encoding () const |
| Returns the character encoding of the data in the resource. More...
|
|
QgsLayerMetadata::Extent & | extent () |
| Returns the spatial and temporal extents associated with the resource. More...
|
|
const QgsLayerMetadata::Extent & | extent () const |
| Returns the spatial and temporal extents associated with the resource. More...
|
|
QString | fees () const |
| Returns any fees associated with using the resource. More...
|
|
QStringList | licenses () const |
| Returns a list of licenses associated with the resource (examples: http://opendefinition.org/licenses/). More...
|
|
bool | matches (const QVector< QRegularExpression > &searchReList) const |
| Returns true if the metadata identifier, title, abstract, keywords or categories matches any regular expression from searchReList. More...
|
|
bool | operator== (const QgsLayerMetadata &metadataOther) const |
|
void | readFromLayer (const QgsMapLayer *layer) |
| Reads the metadata state from a layer's custom properties (see QgsMapLayer::customProperty() ). More...
|
|
bool | readMetadataXml (const QDomElement &metadataElement) override |
| Sets state from DOM document. More...
|
|
QStringList | rights () const |
| Returns a list of attribution or copyright strings associated with the resource. More...
|
|
void | saveToLayer (QgsMapLayer *layer) const |
| Saves the metadata to a layer's custom properties (see QgsMapLayer::setCustomProperty() ). More...
|
|
void | setConstraints (const QgsLayerMetadata::ConstraintList &constraints) |
| Sets the list of constraints associated with using the resource. More...
|
|
void | setCrs (const QgsCoordinateReferenceSystem &crs) |
| Sets the coordinate reference system for the layer's metadata. More...
|
|
void | setEncoding (const QString &encoding) |
| Sets the character encoding of the data in the resource. More...
|
|
void | setExtent (const QgsLayerMetadata::Extent &extent) |
| Sets the spatial and temporal extents associated with the resource. More...
|
|
void | setFees (const QString &fees) |
| Sets the fees associated with using the resource. More...
|
|
void | setLicenses (const QStringList &licenses) |
| Sets a list of licenses associated with the resource. More...
|
|
void | setRights (const QStringList &rights) |
| Sets a list of rights (attribution or copyright strings) associated with the resource. More...
|
|
bool | writeMetadataXml (QDomElement &metadataElement, QDomDocument &document) const override |
| Stores state in a DOM node. More...
|
|
virtual | ~QgsAbstractMetadataBase ()=default |
|
QString | abstract () const |
| Returns a free-form description of the resource. More...
|
|
void | addContact (const QgsAbstractMetadataBase::Contact &contact) |
| Adds an individual contact to the existing contacts. More...
|
|
void | addHistoryItem (const QString &text) |
| Adds a single history text to the end of the existing history list. More...
|
|
void | addKeywords (const QString &vocabulary, const QStringList &keywords) |
| Adds a list of descriptive keywords for a specified vocabulary. More...
|
|
void | addLink (const QgsAbstractMetadataBase::Link &link) |
| Adds an individual link to the existing links. More...
|
|
QStringList | categories () const |
| Returns categories of the resource. More...
|
|
virtual QgsAbstractMetadataBase * | clone () const =0 |
| Clones the metadata object. More...
|
|
virtual void | combine (const QgsAbstractMetadataBase *other) |
| Combines the metadata from this object with the metadata from an other object. More...
|
|
QgsAbstractMetadataBase::ContactList | contacts () const |
| Returns a list of contact persons or entities associated with the resource. More...
|
|
QStringList | history () const |
| Returns a freeform description of the history or lineage of the resource. More...
|
|
QString | identifier () const |
| A reference, URI, URL or some other mechanism to identify the resource. More...
|
|
QgsAbstractMetadataBase::KeywordMap | keywords () const |
| Returns the keywords map, which is a set of descriptive keywords associated with the resource. More...
|
|
QStringList | keywords (const QString &vocabulary) const |
| Returns a list of keywords for the specified vocabulary. More...
|
|
QStringList | keywordVocabularies () const |
| Returns a list of keyword vocabularies contained in the metadata. More...
|
|
QString | language () const |
| Returns the human language associated with the resource. More...
|
|
QgsAbstractMetadataBase::LinkList | links () const |
| Returns a list of online resources associated with the resource. More...
|
|
QString | parentIdentifier () const |
| A reference, URI, URL or some other mechanism to identify the parent resource that this resource is a part (child) of. More...
|
|
virtual bool | readMetadataXml (const QDomElement &metadataElement) |
| Sets state from DOM document. More...
|
|
bool | removeKeywords (const QString &vocabulary) |
| Remove a vocabulary from the list. More...
|
|
void | setAbstract (const QString &abstract) |
| Sets a free-form abstract (description) of the resource. More...
|
|
void | setCategories (const QStringList &categories) |
| Sets categories of the resource. More...
|
|
void | setContacts (const QgsAbstractMetadataBase::ContactList &contacts) |
| Sets the list of contacts or entities associated with the resource. More...
|
|
void | setHistory (const QStringList &history) |
| Sets the freeform description of the history or lineage of the resource. More...
|
|
void | setIdentifier (const QString &identifier) |
| Sets the reference, URI, URL or some other mechanism to identify the resource. More...
|
|
void | setKeywords (const QgsAbstractMetadataBase::KeywordMap &keywords) |
| Sets the keywords map, which is a set of descriptive keywords associated with the resource. More...
|
|
void | setLanguage (const QString &language) |
| Sets the human language associated with the resource. More...
|
|
void | setLinks (const QgsAbstractMetadataBase::LinkList &links) |
| Sets the list of online resources associated with the resource. More...
|
|
void | setParentIdentifier (const QString &parentIdentifier) |
| Sets a reference, URI, URL or some other mechanism to identify the parent resource that this resource is a part (child) of. More...
|
|
void | setTitle (const QString &title) |
| Sets the human readable title (name) of the resource, typically displayed in search results. More...
|
|
void | setType (const QString &type) |
| Sets the type (nature) of the resource. More...
|
|
QString | title () const |
| Returns the human readable name of the resource, typically displayed in search results. More...
|
|
QString | type () const |
| Returns the nature of the resource. More...
|
|
virtual bool | writeMetadataXml (QDomElement &metadataElement, QDomDocument &document) const |
| Stores state in a DOM node. More...
|
|