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 99 of file mapcssresult.h.

Constructor & Destructor Documentation

◆ MapCSSResult()

MapCSSResult::MapCSSResult ( )
explicit

Definition at line 237 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 246 of file mapcssresult.cpp.

◆ operator[]() [1/2]

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

Definition at line 258 of file mapcssresult.cpp.

◆ operator[]() [2/2]

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

Access a specific result layer selector.

Definition at line 280 of file mapcssresult.cpp.

◆ results()

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

Results for all layer selectors.

Definition at line 253 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 Fri Dec 20 2024 11:55:21 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.