LuciadCPillar 2023.1.04
luciad::Map::FeatureQuery Class Referencefinal

A query specifies which features you are interested in. More...

#include <luciad/maps/Map.h>

Classes

class  Builder
 Builder for a Map::FeatureQuery. More...
 

Public Member Functions

 FeatureQuery (const FeatureQuery &other)
 
 FeatureQuery (FeatureQuery &&other) noexcept
 
 ~FeatureQuery ()
 
std::optional< std::vector< LayerFeatureId > > getFeatures () const
 Returns the (optionally) features to select for this query. More...
 
Rectangle getRectangle () const
 Returns the rectangle the features must interact with, defined in device independent pixels. More...
 
bool isIncludeControllerLayers () const
 
FeatureQueryoperator= (FeatureQuery other) noexcept
 

Static Public Member Functions

static Builder newBuilder ()
 Creates the builder class for creation of the FeatureQuery. More...
 

Detailed Description

A query specifies which features you are interested in.

Constructor & Destructor Documentation

◆ ~FeatureQuery()

luciad::Map::FeatureQuery::~FeatureQuery ( )

◆ FeatureQuery() [1/2]

luciad::Map::FeatureQuery::FeatureQuery ( const FeatureQuery other)

◆ FeatureQuery() [2/2]

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

Member Function Documentation

◆ getFeatures()

std::optional< std::vector< LayerFeatureId > > luciad::Map::FeatureQuery::getFeatures ( ) const

Returns the (optionally) features to select for this query.

Returns
the (optionally) features to select for this query.
See also
Map::FeatureQuery::Builder::features

◆ getRectangle()

Rectangle luciad::Map::FeatureQuery::getRectangle ( ) const

Returns the rectangle the features must interact with, defined in device independent pixels.

Returns
the rectangle the features must interact with, defined in device independent pixels.

◆ isIncludeControllerLayers()

bool luciad::Map::FeatureQuery::isIncludeControllerLayers ( ) const
Returns
return if the controller layers are taken into account in the query.

◆ newBuilder()

static Builder luciad::Map::FeatureQuery::newBuilder ( )
static

Creates the builder class for creation of the FeatureQuery.

Returns
the builder class for creation of the FeatureQuery.

◆ operator=()

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