KOSMIndoorMap::MapCSSResult

Search for usage in LXR

KOSMIndoorMap::MapCSSResult Class Reference

#include <mapcssresult.h>

Public Member Functions

 MapCSSResult (const MapCSSResultLayer &)=delete
 
 MapCSSResult (MapCSSResult &&) noexcept
 
void clear ()
 
MapCSSResultoperator= (const MapCSSResult &)=delete
 
MapCSSResultoperator= (MapCSSResult &&) noexcept
 
MapCSSResultLayeroperator[] (LayerSelectorKey layer)
 
const MapCSSResultLayeroperator[] (LayerSelectorKey layer) const
 
const std::vector< MapCSSResultLayer > & results () const
 

Detailed Description

Result of MapCSS stylesheet evaluation for all layer selectors.

For performance reason it is highly recommended to reuse the same instance accross multiple style evaluations.

Definition at line 90 of file mapcssresult.h.

Constructor & Destructor Documentation

◆ MapCSSResult()

MapCSSResult::MapCSSResult ( )
explicit

Definition at line 145 of file mapcssresult.cpp.

Member Function Documentation

◆ clear()

void MapCSSResult::clear ( )

Reset result state from a previous evaluation, while retaining previously allocated resource for reuse.

Definition at line 154 of file mapcssresult.cpp.

◆ operator[]() [1/2]

MapCSSResultLayer & MapCSSResult::operator[] ( LayerSelectorKey layer)

Definition at line 166 of file mapcssresult.cpp.

◆ operator[]() [2/2]

const MapCSSResultLayer & MapCSSResult::operator[] ( LayerSelectorKey layer) const

Access a specific result layer selector.

Definition at line 188 of file mapcssresult.cpp.

◆ results()

const std::vector< MapCSSResultLayer > & MapCSSResult::results ( ) const

Results for all layer selectors.

Definition at line 161 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.