#include <Collection.h>
|
|
| Collection (const Collection &_rhs) |
| |
|
Collection & | operator= (const Collection &_rhs) |
| |
|
bool | operator== (const Collection &_dss) const |
| |
| cres_qresult< Feature > | salientRegion (const knowCore::Uri &_salientregionUri) const |
| |
|
cres_qresult< bool > | hasFeature (const knowCore::Uri &_salientregionUri) const |
| |
| cres_qresult< QList< Feature > > | features (const QList< QPair< knowCore::Uri, knowCore::ConstrainedValue > > &_constraints, const OperatorOptions &_operatorOptions=OperatorOptions()) const |
| |
|
template<typename... _TArgs_> |
| cres_qresult< QList< Feature > > | features (const knowCore::Uri &_uri, const knowCore::ConstrainedValue &_constraint, const _TArgs_ &...) const |
| |
|
cres_qresult< Feature > | insertFeatureFromCbor (const QCborMap &_map) |
| |
| cres_qresult< void > | importFromOverpass (QIODevice *_device) |
| |
| cres_qresult< Feature > | createFeature (const knowGIS::GeometryObject &_geometry, const knowCore::ValueHash &_properties, const knowCore::Uri &_featureUri=knowCore::Uri::createUnique({"salientregion"})) |
| |
|
bool | operator== (const Derive &_rhs) const |
| |
| bool | isValid () const |
| |
| bool | isReadOnly () const |
| |
| knowCore::Uri | uri () const |
| |
| kDB::Repository::Connection | connection () const |
| |
| cres_qresult< std::size_t > | count () const |
| |
| cres_qresult< QList< ValueType > > | all () const |
| |
|
|
| Collection (const kDB::Repository::RDF::FocusNodeCollectionWrapper< Collection > &_rhs) |
| |
|
| operator Derive () const |
| |
|
cres_qresult< ValueType > | focusNode (const knowCore::Uri &_uri) const |
| |
|
cres_qresult< bool > | hasFocusNode (const knowCore::Uri &_focusNodeUri, const knowCore::Uri &_typeUri=Derive::primaryType()) const |
| |
|
cres_qresult< QList< ValueType > > | focusNodes (const QList< QPair< knowCore::Uri, knowCore::ConstrainedValue > > &_constraints, const FocusNodeCollection::OperatorOptions &_operatorOptions) const |
| |
|
cres_qresult< QList< ValueType > > | focusNodes (const knowCore::Uri &_uri, const knowCore::ConstrainedValue &_constraint, const _TArgs_ &... _args) const |
| |
|
cres_qresult< ValueType > | createFocusNode (const knowCore::Uri &_typeUri, const knowCore::ValueHash &_properties, const knowCore::Uri &_focusNodeUri) |
| |
|
FocusNodeCollection & | focusNodeCollection () |
| |
|
const FocusNodeCollection & | focusNodeCollection () const |
| |
Interface a kDB::Repository::TripleStore that contains a collection of salientregions
◆ allFeatures()
- Returns
- an interface to the collection that list all salient regions.
◆ createFeature()
| cres_qresult< Feature > Collection::createFeature |
( |
const knowGIS::GeometryObject & | _geometry, |
|
|
const knowCore::ValueHash & | _properties, |
|
|
const knowCore::Uri & | _featureUri = knowCore::Uri::createUnique({"salientregion"}) ) |
Create a new Feature of uri type _typeUri with geometry _geometry and add it to the _rdfGraph.
◆ features()
- Parameters
-
| _constraints | a list of pair of list of uris representing the property uri and a constraint. |
| _operatorOptions | set the precision used by operators |
- Returns
- the list of features that satisfies the constraints
◆ importFromOverpass()
| cres_qresult< void > Collection::importFromOverpass |
( |
QIODevice * | _device | ) |
|
Import the content of the iodevice from overpass raw API output.
◆ salientRegion()
| cres_qresult< Feature > Collection::salientRegion |
( |
const knowCore::Uri & | _salientregionUri | ) |
const |
- Returns
- the salientRegion with the Uri _salientRegionUri
The documentation for this class was generated from the following files:
- extensions/kDBGIS/Features/Collection.h
- extensions/kDBGIS/Features/Collection.cpp