libosmscout 0.1
Loading...
Searching...
No Matches
osmscout::StyleConfig::LookupPositions Struct Reference

The type positions of one style family: the family's lookup table holds one entry per type the loaded sheet references, and positions[typeIndex] is the position of that type in the table, or noPosition when the sheet does not reference it. More...

#include <StyleConfig.h>

Public Attributes

size_t count {0}
 Number of types the family references.
 
std::vector< uint32_t > positions
 One entry per defined type.
 

Static Public Attributes

static constexpr uint32_t noPosition =std::numeric_limits<uint32_t>::max()
 

Detailed Description

The type positions of one style family: the family's lookup table holds one entry per type the loaded sheet references, and positions[typeIndex] is the position of that type in the table, or noPosition when the sheet does not reference it.

Filled by Postprocess().

Member Data Documentation

◆ count

size_t osmscout::StyleConfig::LookupPositions::count {0}

Number of types the family references.

Referenced by osmscout::CollectReferencedTypes(), and osmscout::SortInConditionals().

◆ noPosition

constexpr uint32_t osmscout::StyleConfig::LookupPositions::noPosition =std::numeric_limits<uint32_t>::max()
staticconstexpr

◆ positions

std::vector<uint32_t> osmscout::StyleConfig::LookupPositions::positions

The documentation for this struct was generated from the following file: