Search for usage in LXR

KOSMIndoorMap::MapCSSResultLayer Class Reference

#include <mapcssresult.h>

Public Member Functions

 MapCSSResultLayer (const MapCSSResultLayer &)=delete
 MapCSSResultLayer (MapCSSResultLayer &&) noexcept
void clear ()
const MapCSSDeclaration * declaration (MapCSSProperty prop) const
const std::vector< const MapCSSDeclaration * > & declarations () const
bool hasAreaProperties () const
bool hasClass (ClassSelectorKey cls) const
bool hasExtrudeProperties () const
bool hasLabelProperties () const
bool hasLineProperties () const
LayerSelectorKey layerSelector () const
MapCSSResultLayeroperator= (const MapCSSResultLayer &)=delete
MapCSSResultLayeroperator= (MapCSSResultLayer &&) noexcept
QByteArray tagValue (OSM::TagKey key) const

Detailed Description

Result of MapCSS stylesheet evaluation for a single layer selector.

Definition at line 36 of file mapcssresult.h.

Constructor & Destructor Documentation

◆ MapCSSResultLayer()

MapCSSResultLayer::MapCSSResultLayer ( )

Definition at line 27 of file mapcssresult.cpp.

Member Function Documentation

◆ clear()

void MapCSSResultLayer::clear ( )

Definition at line 35 of file mapcssresult.cpp.

◆ declaration()

const MapCSSDeclaration * MapCSSResultLayer::declaration ( MapCSSProperty prop) const

Returns the declaration for property @prop, or nullptr is this property isn't set.

Definition at line 64 of file mapcssresult.cpp.

◆ declarations()

const std::vector< const MapCSSDeclaration * > & MapCSSResultLayer::declarations ( ) const

The active declarations for the queried element.

Definition at line 75 of file mapcssresult.cpp.

◆ hasAreaProperties()

bool MapCSSResultLayer::hasAreaProperties ( ) const

Returns true if an area/polygon needs to be drawn.

Definition at line 44 of file mapcssresult.cpp.

◆ hasClass()

bool MapCSSResultLayer::hasClass ( ClassSelectorKey cls) const

Check whether this result layer has class cls set.

Definition at line 102 of file mapcssresult.cpp.

◆ hasExtrudeProperties()

bool MapCSSResultLayer::hasExtrudeProperties ( ) const

Returns true if a 3D extrusion is requested.

Definition at line 59 of file mapcssresult.cpp.

◆ hasLabelProperties()

bool MapCSSResultLayer::hasLabelProperties ( ) const

Returns true if a label needs to be drawn.

Definition at line 54 of file mapcssresult.cpp.

◆ hasLineProperties()

bool MapCSSResultLayer::hasLineProperties ( ) const

Returns true if a way/line needs to be drawn.

Definition at line 49 of file mapcssresult.cpp.

◆ layerSelector()

LayerSelectorKey MapCSSResultLayer::layerSelector ( ) const

The layer selector for this result.

Definition at line 107 of file mapcssresult.cpp.

◆ tagValue()

QByteArray MapCSSResultLayer::tagValue ( OSM::TagKey key) const

Tag lookup for tags overridden by the style sheet.

Definition at line 112 of file mapcssresult.cpp.

The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:20:03 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.