LuciadCPillar 2023.1.04
luciad::FeatureQuery::Builder Class Referencefinal

Builder to create a FeatureQuery. More...

#include <luciad/models/features/FeatureQuery.h>

Public Member Functions

 Builder (Builder &&other) noexcept
 
 Builder (const Builder &other)
 
 ~Builder ()
 
Builderbounds (Bounds bounds)
 Sets the bounds the queried features must interact with. More...
 
FeatureQuery build ()
 Creates the FeatureQuery for the configured conditions and settings. More...
 
Buildercondition (Expression condition)
 Sets the condition to apply. More...
 
BuilderfeatureIds (std::vector< FeatureId > featureIds)
 Sets the feature ids to select. More...
 
Builderlimit (uint32_t limit)
 Sets the maximum number of features to return. More...
 
Builderoperator= (Builder other) noexcept
 
Buildersort (SortOperator order)
 Sets the sorting of the features. More...
 

Detailed Description

Builder to create a FeatureQuery.

Constructor & Destructor Documentation

◆ ~Builder()

luciad::FeatureQuery::Builder::~Builder ( )

◆ Builder() [1/2]

luciad::FeatureQuery::Builder::Builder ( const Builder other)

◆ Builder() [2/2]

luciad::FeatureQuery::Builder::Builder ( Builder &&  other)
noexcept

Member Function Documentation

◆ bounds()

Builder & luciad::FeatureQuery::Builder::bounds ( Bounds  bounds)

Sets the bounds the queried features must interact with.

Parameters
boundsthe bounds the queried features must interact with
Returns
this

◆ build()

FeatureQuery luciad::FeatureQuery::Builder::build ( )

Creates the FeatureQuery for the configured conditions and settings.

Returns
the FeatureQuery for the configured conditions and settings.

◆ condition()

Builder & luciad::FeatureQuery::Builder::condition ( Expression  condition)

Sets the condition to apply.

Parameters
conditionthe condition to apply
Returns
this

◆ featureIds()

Builder & luciad::FeatureQuery::Builder::featureIds ( std::vector< FeatureId featureIds)

Sets the feature ids to select.

Parameters
featureIdsthe feature ids to select
Returns
this

◆ limit()

Builder & luciad::FeatureQuery::Builder::limit ( uint32_t  limit)

Sets the maximum number of features to return.

Parameters
limitthe maximum number of features to return
Returns
this

◆ operator=()

Builder & luciad::FeatureQuery::Builder::operator= ( Builder  other)
noexcept

◆ sort()

Builder & luciad::FeatureQuery::Builder::sort ( SortOperator  order)

Sets the sorting of the features.

Parameters
orderthe sorting of the features
Returns
this