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

What building this style configuration cost, so a test can assert that the cost follows the styles a sheet references instead of the number of defined types (spec style-configuration). More...

#include <StyleConfig.h>

Public Attributes

std::map< std::string, size_t > familySlots
 Prepared slots per style family.
 
size_t preparedSlots {0}
 Style-selector slots the build prepared.
 
size_t tableBytes {0}
 Bytes the style-selector tables retain (estimate)
 
size_t typeConditionEvaluations {0}
 Type conditions evaluated against a candidate type.
 
size_t typeSetBytes {0}
 Bytes the per-level type sets retain (estimate)
 

Detailed Description

What building this style configuration cost, so a test can assert that the cost follows the styles a sheet references instead of the number of defined types (spec style-configuration).

Member Data Documentation

◆ familySlots

std::map<std::string,size_t> osmscout::StyleConfig::BuildDiagnostics::familySlots

Prepared slots per style family.

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

◆ preparedSlots

size_t osmscout::StyleConfig::BuildDiagnostics::preparedSlots {0}

Style-selector slots the build prepared.

Referenced by osmscout::SortInConditionals().

◆ tableBytes

size_t osmscout::StyleConfig::BuildDiagnostics::tableBytes {0}

Bytes the style-selector tables retain (estimate)

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

◆ typeConditionEvaluations

size_t osmscout::StyleConfig::BuildDiagnostics::typeConditionEvaluations {0}

Type conditions evaluated against a candidate type.

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

◆ typeSetBytes

size_t osmscout::StyleConfig::BuildDiagnostics::typeSetBytes {0}

Bytes the per-level type sets retain (estimate)


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