libosmscout
0.1
|
#include <Parser.h>
Public Types | |
enum | ValueType { ValueType::NO_VALUE, ValueType::IDENT, ValueType::STRING, ValueType::COLOR, ValueType::NUMBER, ValueType::CONSTANT } |
Public Attributes | |
StyleConfig & | config |
Errors * | errors |
std::string | filename |
MagnificationConverter | magnificationConverter |
bool | state |
|
strong |
osmscout::oss::Parser::Parser | ( | Scanner * | scanner, |
const std::string & | filename, | ||
StyleConfig & | config, | ||
osmscout::ColorPostprocessor | colorPostprocessor = nullptr , |
||
const Log & | log = osmscout::log |
||
) |
References errors, and osmscout::log.
osmscout::oss::Parser::~Parser | ( | ) |
References errors.
|
inline |
References osmscout::StyleFilter::AddFeature(), config, osmscout::TypeInfoSet::Empty(), osmscout::StyleFilter::FiltersByType(), osmscout::StyleConfig::GetFeatureFilterIndex(), osmscout::StyleConfig::GetTypeConfig(), osmscout::StyleFilter::HasType(), SemErr(), and osmscout::TypeInfoSet::Set().
Referenced by STYLEFILTER_FEATURE_ENTRY().
void osmscout::oss::Parser::AREABORDERSTYLE | ( | StyleFilter | filter, |
bool | state | ||
) |
References osmscout::StyleConfig::AddAreaBorderStyle(), BORDERSTYLEATTR(), config, IDENT(), state, and osmscout::PartialStyle< S, A >::style.
Referenced by AREASTYLEDEF().
void osmscout::oss::Parser::AREABORDERSYMBOLSTYLE | ( | StyleFilter | filter, |
bool | state | ||
) |
References osmscout::StyleConfig::AddAreaBorderSymbolStyle(), config, PATHSYMBOLSTYLEATTR(), and state.
Referenced by AREASTYLEDEF().
void osmscout::oss::Parser::AREABORDERSYMSTYLE | ( | BorderPartialStyle & | borderStyle | ) |
References BORDERSTYLEATTR().
Referenced by AREASYMBOLSTYLE().
void osmscout::oss::Parser::AREABORDERTEXTSTYLE | ( | StyleFilter | filter, |
bool | state | ||
) |
References osmscout::StyleConfig::AddAreaBorderTextStyle(), config, PATHTEXTSTYLEATTR(), and state.
Referenced by AREASTYLEDEF().
void osmscout::oss::Parser::AREAFILLSYMSTYLE | ( | FillPartialStyle & | fillStyle | ) |
References FILLSTYLEATTR().
Referenced by AREASYMBOLSTYLE().
void osmscout::oss::Parser::AREAICONSTYLE | ( | StyleFilter | filter, |
bool | state | ||
) |
References osmscout::StyleConfig::AddAreaIconStyle(), config, ICONSTYLEATTR(), and state.
Referenced by AREASTYLEDEF().
void osmscout::oss::Parser::AREASTYLE | ( | StyleFilter | filter, |
bool | state | ||
) |
References osmscout::StyleConfig::AddAreaFillStyle(), config, FILLSTYLEATTR(), and state.
Referenced by AREASTYLEDEF().
void osmscout::oss::Parser::AREASTYLEDEF | ( | StyleFilter | filter, |
bool | state | ||
) |
References AREABORDERSTYLE(), AREABORDERSYMBOLSTYLE(), AREABORDERTEXTSTYLE(), AREAICONSTYLE(), AREASTYLE(), AREATEXTSTYLE(), and state.
Referenced by STYLEDEF().
void osmscout::oss::Parser::AREASYMBOLSTYLE | ( | FillPartialStyle & | fillStyle, |
BorderPartialStyle & | borderStyle | ||
) |
References AREABORDERSYMSTYLE(), and AREAFILLSYMSTYLE().
Referenced by CIRCLE(), POLYGON(), and RECTANGLE().
void osmscout::oss::Parser::AREATEXTSTYLE | ( | StyleFilter | filter, |
bool | state | ||
) |
References osmscout::StyleConfig::AddAreaTextStyle(), config, IDENT(), state, osmscout::PartialStyle< S, A >::style, and TEXTSTYLEATTR().
Referenced by AREASTYLEDEF().
void osmscout::oss::Parser::ATTRIBUTE | ( | PartialStyleBase & | style, |
const StyleDescriptor & | descriptor | ||
) |
References ATTRIBUTEVALUE(), osmscout::StyleDescriptor::GetAttribute(), IDENT(), and SemErr().
Referenced by BORDERSTYLEATTR(), FILLSTYLEATTR(), ICONSTYLEATTR(), LINESTYLEATTR(), PATHSHIELDSTYLEATTR(), PATHSYMBOLSTYLEATTR(), PATHTEXTSTYLEATTR(), and TEXTSTYLEATTR().
void osmscout::oss::Parser::ATTRIBUTEVALUE | ( | PartialStyleBase & | style, |
const StyleAttributeDescriptor & | descriptor | ||
) |
References osmscout::Color::Alpha(), COLOR, COLOR_VALUE(), config, CONSTANT(), osmscout::MagnificationConverter::Convert(), osmscout::Color::Darken(), errors, osmscout::StyleAttributeDescriptor::GetAttribute(), osmscout::StyleConstantColor::GetColor(), osmscout::StyleEnumAttributeDescriptor::GetEnumValue(), osmscout::StyleConfig::GetLabelProvider(), osmscout::StyleConstantMag::GetMag(), osmscout::StyleAttributeDescriptor::GetName(), osmscout::StyleConfig::GetSymbol(), osmscout::StyleAttributeDescriptor::GetType(), osmscout::StyleConfig::GetTypeConfig(), osmscout::StyleConstantUInt::GetUInt(), osmscout::StyleConstantWidth::GetUnit(), osmscout::StyleConstantWidth::GetWidth(), osmscout::oss::Errors::hasErrors, IDENT(), osmscout::Color::Lighten(), osmscout::StyleConstantWidth::m, magnificationConverter, NO_VALUE, NUMBER, SemErr(), osmscout::PartialStyleBase::SetBoolValue(), osmscout::PartialStyleBase::SetColorValue(), osmscout::PartialStyleBase::SetDoubleArrayValue(), osmscout::PartialStyleBase::SetDoubleValue(), osmscout::PartialStyleBase::SetIntValue(), osmscout::PartialStyleBase::SetLabelValue(), osmscout::Magnification::SetLevel(), osmscout::PartialStyleBase::SetMagnificationValue(), osmscout::PartialStyleBase::SetStringValue(), osmscout::PartialStyleBase::SetSymbolValue(), osmscout::PartialStyleBase::SetUIntValue(), STRING(), osmscout::StringToNumber(), osmscout::TYPE_BOOL, osmscout::TYPE_COLOR, osmscout::TYPE_DISPLAY_SIZE, osmscout::TYPE_DOUBLE, osmscout::TYPE_ENUM, osmscout::TYPE_INT, osmscout::TYPE_LABEL, osmscout::TYPE_MAGNIFICATION, osmscout::TYPE_MAP_SIZE, osmscout::TYPE_STRING, osmscout::TYPE_SYMBOL, osmscout::TYPE_UDISPLAY_SIZE, osmscout::TYPE_UDOUBLE, osmscout::TYPE_UDOUBLE_ARRAY, osmscout::TYPE_UINT, osmscout::TYPE_UMAP_SIZE, and UDOUBLE().
Referenced by ATTRIBUTE().
void osmscout::oss::Parser::BORDERSTYLEATTR | ( | BorderPartialStyle & | style | ) |
References ATTRIBUTE(), and osmscout::BorderStyle::GetDescriptor().
Referenced by AREABORDERSTYLE(), and AREABORDERSYMSTYLE().
void osmscout::oss::Parser::CIRCLE | ( | Symbol & | symbol | ) |
References osmscout::Symbol::AddPrimitive(), AREASYMBOLSTYLE(), COORD(), osmscout::PartialStyle< S, A >::style, and UDOUBLE().
Referenced by SYMBOLSECTION().
void osmscout::oss::Parser::COLOR | ( | Color & | color | ) |
References osmscout::Color::BLACK, COLOR_VALUE(), CONSTANT(), osmscout::Color::Darken(), osmscout::StyleConstantColor::GetColor(), osmscout::Color::Lighten(), SemErr(), and UDOUBLE().
Referenced by COLORCONSTDEF().
void osmscout::oss::Parser::COLOR_VALUE | ( | Color & | color | ) |
References osmscout::Color::FromHexString(), and SemErr().
Referenced by ATTRIBUTEVALUE(), and COLOR().
void osmscout::oss::Parser::COLORCONSTDEF | ( | ) |
References osmscout::StyleConfig::AddConstant(), COLOR(), config, osmscout::StyleConfig::GetConstantByName(), IDENT(), SemErr(), and state.
Referenced by CONSTDEF().
void osmscout::oss::Parser::CONSTANT | ( | StyleConstantRef & | constant | ) |
References config, osmscout::StyleConfig::GetConstantByName(), and SemErr().
Referenced by ATTRIBUTEVALUE(), COLOR(), MAG(), and UMAP().
void osmscout::oss::Parser::CONSTBLOCK | ( | bool | state | ) |
References CONSTCONDBLOCK(), CONSTDEF(), and state.
Referenced by CONSTCONDBLOCK(), and CONSTSECTION().
void osmscout::oss::Parser::CONSTCONDBLOCK | ( | bool | state | ) |
References CONSTBLOCK(), IFCOND(), and state.
Referenced by CONSTBLOCK().
void osmscout::oss::Parser::CONSTDEF | ( | ) |
References COLORCONSTDEF(), MAGCONSTDEF(), UINTCONSTDEF(), and WIDTHCONSTDEF().
Referenced by CONSTBLOCK().
void osmscout::oss::Parser::CONSTSECTION | ( | ) |
References CONSTBLOCK().
Referenced by OSS().
void osmscout::oss::Parser::COORD | ( | Vertex2D & | coord | ) |
References DOUBLE().
Referenced by CIRCLE(), POLYGON(), and RECTANGLE().
|
inline |
Referenced by STRING().
void osmscout::oss::Parser::DOUBLE | ( | double & | value | ) |
References SemErr(), and StringToDouble().
Referenced by COORD(), and WIDTHCONSTDEF().
void osmscout::oss::Parser::FILLSTYLEATTR | ( | FillPartialStyle & | style | ) |
References ATTRIBUTE(), and osmscout::FillStyle::GetDescriptor().
Referenced by AREAFILLSYMSTYLE(), and AREASTYLE().
void osmscout::oss::Parser::FLAGBLOCK | ( | bool | state | ) |
References FLAGCONDBLOCK(), FLAGDEF(), and state.
Referenced by FLAGCONDBLOCK(), and FLAGSECTION().
void osmscout::oss::Parser::FLAGCONDBLOCK | ( | bool | state | ) |
References FLAGBLOCK(), IFCOND(), and state.
Referenced by FLAGBLOCK().
void osmscout::oss::Parser::FLAGDEF | ( | ) |
References osmscout::StyleConfig::AddFlag(), BOOL(), config, osmscout::StyleConfig::HasFlag(), IDENT(), and state.
Referenced by FLAGBLOCK().
void osmscout::oss::Parser::FLAGSECTION | ( | ) |
References FLAGBLOCK().
Referenced by OSS().
|
inline |
void osmscout::oss::Parser::ICONSTYLEATTR | ( | IconPartialStyle & | style | ) |
References ATTRIBUTE(), and osmscout::IconStyle::GetDescriptor().
Referenced by AREAICONSTYLE(), and NODEICONSTYLE().
void osmscout::oss::Parser::IDENT | ( | std::string & | value | ) |
Referenced by AREABORDERSTYLE(), AREATEXTSTYLE(), ATTRIBUTE(), ATTRIBUTEVALUE(), COLORCONSTDEF(), FLAGDEF(), IFCOND(), MAG(), MAGCONSTDEF(), NODETEXTSTYLE(), STYLEFILTER_FEATURE_ENTRY(), STYLEFILTER_GROUP(), STYLEFILTER_TYPE(), SYMBOLSECTION(), UINTCONSTDEF(), WAYGROUP(), WAYPATHSYMBOLSTYLE(), WAYSTYLE(), and WIDTHCONSTDEF().
void osmscout::oss::Parser::IFCOND | ( | bool & | state | ) |
References config, osmscout::StyleConfig::GetFlagByName(), osmscout::StyleConfig::HasFlag(), IDENT(), SemErr(), and state.
Referenced by CONSTCONDBLOCK(), FLAGCONDBLOCK(), and STYLECONDBLOCK().
void osmscout::oss::Parser::IMPORT | ( | ) |
References osmscout::AppendFileToDir(), config, errors, filename, osmscout::GetDirectory(), osmscout::StyleConfig::Load(), osmscout::oss::Errors::log, SemErr(), and STRING().
Referenced by IMPORTS().
void osmscout::oss::Parser::LINESTYLEATTR | ( | LinePartialStyle & | style | ) |
References ATTRIBUTE(), and osmscout::LineStyle::GetDescriptor().
Referenced by ROUTESTYLE(), and WAYSTYLE().
void osmscout::oss::Parser::MAG | ( | Magnification & | magnification | ) |
void osmscout::oss::Parser::MAGCONSTDEF | ( | ) |
References osmscout::StyleConfig::AddConstant(), config, osmscout::StyleConfig::GetConstantByName(), IDENT(), MAG(), SemErr(), and state.
Referenced by CONSTDEF().
void osmscout::oss::Parser::NODEICONSTYLE | ( | StyleFilter | filter, |
bool | state | ||
) |
References osmscout::StyleConfig::AddNodeIconStyle(), config, ICONSTYLEATTR(), and state.
Referenced by NODESTYLEDEF().
void osmscout::oss::Parser::NODESTYLEDEF | ( | StyleFilter | filter, |
bool | state | ||
) |
References NODEICONSTYLE(), NODETEXTSTYLE(), and state.
Referenced by STYLEDEF().
void osmscout::oss::Parser::NODETEXTSTYLE | ( | StyleFilter | filter, |
bool | state | ||
) |
References osmscout::StyleConfig::AddNodeTextStyle(), config, IDENT(), state, osmscout::PartialStyle< S, A >::style, and TEXTSTYLEATTR().
Referenced by NODESTYLEDEF().
void osmscout::oss::Parser::OSS | ( | ) |
References CONSTSECTION(), FLAGSECTION(), IMPORTS(), state, STYLESECTION(), SYMBOLSECTION(), and WAYORDER().
Referenced by Parse().
void osmscout::oss::Parser::Parse | ( | ) |
References osmscout::oss::coco_string_create(), and OSS().
Referenced by osmscout::StyleConfig::LoadContent().
void osmscout::oss::Parser::PATHSHIELDSTYLEATTR | ( | PathShieldPartialStyle & | style | ) |
References ATTRIBUTE(), and osmscout::PathShieldStyle::GetDescriptor().
Referenced by WAYSHIELDSTYLE().
void osmscout::oss::Parser::PATHSYMBOLSTYLEATTR | ( | PathSymbolPartialStyle & | style | ) |
References ATTRIBUTE(), and osmscout::PathSymbolStyle::GetDescriptor().
Referenced by AREABORDERSYMBOLSTYLE(), and WAYPATHSYMBOLSTYLE().
void osmscout::oss::Parser::PATHTEXTSTYLEATTR | ( | PathTextPartialStyle & | style | ) |
References ATTRIBUTE(), and osmscout::PathTextStyle::GetDescriptor().
Referenced by AREABORDERTEXTSTYLE(), ROUTEPATHTEXTSTYLE(), and WAYPATHTEXTSTYLE().
void osmscout::oss::Parser::POLYGON | ( | Symbol & | symbol | ) |
References osmscout::Symbol::AddPrimitive(), AREASYMBOLSTYLE(), COORD(), and osmscout::PartialStyle< S, A >::style.
Referenced by SYMBOLSECTION().
void osmscout::oss::Parser::RECTANGLE | ( | Symbol & | symbol | ) |
References osmscout::Symbol::AddPrimitive(), AREASYMBOLSTYLE(), COORD(), osmscout::PartialStyle< S, A >::style, and UDOUBLE().
Referenced by SYMBOLSECTION().
void osmscout::oss::Parser::ROUTEPATHTEXTSTYLE | ( | StyleFilter | filter, |
bool | state | ||
) |
References osmscout::StyleConfig::AddRoutePathTextStyle(), config, PATHTEXTSTYLEATTR(), and state.
Referenced by ROUTESTYLEDEF().
void osmscout::oss::Parser::ROUTESTYLE | ( | StyleFilter | filter, |
bool | state | ||
) |
References osmscout::StyleConfig::AddRouteLineStyle(), config, LINESTYLEATTR(), and state.
Referenced by ROUTESTYLEDEF().
void osmscout::oss::Parser::ROUTESTYLEDEF | ( | StyleFilter | filter, |
bool | state | ||
) |
References ROUTEPATHTEXTSTYLE(), ROUTESTYLE(), and state.
Referenced by STYLEDEF().
void osmscout::oss::Parser::SemErr | ( | const char * | msg | ) |
References osmscout::oss::Errors::Error(), errors, and state.
Referenced by AddFeatureToFilter(), ATTRIBUTE(), ATTRIBUTEVALUE(), BOOL(), COLOR(), COLOR_VALUE(), COLORCONSTDEF(), CONSTANT(), DOUBLE(), IFCOND(), IMPORT(), MAG(), MAGCONSTDEF(), STYLEFILTER_MAG(), STYLEFILTER_TYPE(), SYMBOLSECTION(), UDOUBLE(), UINT(), UINTCONSTDEF(), UMAP(), WAYGROUP(), and WIDTHCONSTDEF().
void osmscout::oss::Parser::SemWarning | ( | const char * | msg | ) |
References errors, state, and osmscout::oss::Errors::Warning().
Referenced by STYLEFILTER_TYPE(), and WAYGROUP().
void osmscout::oss::Parser::SIZECONDITION | ( | SizeConditionRef & | condition | ) |
References UDOUBLE(), and UMAP().
Referenced by STYLEFILTER_SIZE().
void osmscout::oss::Parser::STRING | ( | std::string & | value | ) |
References Destring().
Referenced by ATTRIBUTEVALUE(), and IMPORT().
|
inline |
void osmscout::oss::Parser::STYLE | ( | StyleFilter | filter, |
bool | state | ||
) |
References state, STYLEBLOCK(), STYLEDEF(), and STYLEFILTER().
Referenced by STYLEBLOCK().
void osmscout::oss::Parser::STYLEBLOCK | ( | StyleFilter | filter, |
bool | state | ||
) |
References state, STYLE(), and STYLECONDBLOCK().
Referenced by STYLE(), STYLECONDBLOCK(), and STYLESECTION().
void osmscout::oss::Parser::STYLECONDBLOCK | ( | StyleFilter | filter, |
bool | state | ||
) |
References IFCOND(), state, and STYLEBLOCK().
Referenced by STYLEBLOCK().
void osmscout::oss::Parser::STYLEDEF | ( | StyleFilter | filter, |
bool | state | ||
) |
References AREASTYLEDEF(), NODESTYLEDEF(), ROUTESTYLEDEF(), state, and WAYSTYLEDEF().
Referenced by STYLE().
void osmscout::oss::Parser::STYLEFILTER | ( | StyleFilter & | filter | ) |
References STYLEFILTER_FEATURE(), STYLEFILTER_GROUP(), STYLEFILTER_MAG(), STYLEFILTER_ONEWAY(), STYLEFILTER_PATH(), STYLEFILTER_SIZE(), and STYLEFILTER_TYPE().
Referenced by STYLE().
void osmscout::oss::Parser::STYLEFILTER_FEATURE | ( | StyleFilter & | filter | ) |
References osmscout::StyleFilter::SetTypes(), and STYLEFILTER_FEATURE_ENTRY().
Referenced by STYLEFILTER().
void osmscout::oss::Parser::STYLEFILTER_FEATURE_ENTRY | ( | StyleFilter & | filter, |
TypeInfoSet & | types | ||
) |
References AddFeatureToFilter(), and IDENT().
Referenced by STYLEFILTER_FEATURE().
void osmscout::oss::Parser::STYLEFILTER_GROUP | ( | StyleFilter & | filter | ) |
References config, osmscout::StyleFilter::FiltersByType(), osmscout::StyleConfig::GetTypeConfig(), osmscout::StyleFilter::HasType(), IDENT(), osmscout::TypeInfoSet::IsSet(), osmscout::TypeInfoSet::Remove(), osmscout::TypeInfoSet::Set(), and osmscout::StyleFilter::SetTypes().
Referenced by STYLEFILTER().
void osmscout::oss::Parser::STYLEFILTER_MAG | ( | StyleFilter & | filter | ) |
void osmscout::oss::Parser::STYLEFILTER_ONEWAY | ( | StyleFilter & | filter | ) |
References osmscout::StyleFilter::SetOneway().
Referenced by STYLEFILTER().
void osmscout::oss::Parser::STYLEFILTER_PATH | ( | StyleFilter & | filter | ) |
void osmscout::oss::Parser::STYLEFILTER_SIZE | ( | StyleFilter & | filter | ) |
References osmscout::StyleFilter::SetSizeCondition(), and SIZECONDITION().
Referenced by STYLEFILTER().
void osmscout::oss::Parser::STYLEFILTER_TYPE | ( | StyleFilter & | filter | ) |
void osmscout::oss::Parser::STYLESECTION | ( | ) |
References STYLEBLOCK().
Referenced by OSS().
void osmscout::oss::Parser::SYMBOLSECTION | ( | ) |
References CIRCLE(), config, osmscout::Symbol::GROUND, IDENT(), osmscout::Symbol::MAP, POLYGON(), RECTANGLE(), osmscout::StyleConfig::RegisterSymbol(), and SemErr().
Referenced by OSS().
void osmscout::oss::Parser::TEXTSTYLEATTR | ( | TextPartialStyle & | style | ) |
References ATTRIBUTE(), and osmscout::TextStyle::GetDescriptor().
Referenced by AREATEXTSTYLE(), and NODETEXTSTYLE().
void osmscout::oss::Parser::UDOUBLE | ( | double & | value | ) |
References SemErr(), and StringToDouble().
Referenced by ATTRIBUTEVALUE(), CIRCLE(), COLOR(), RECTANGLE(), SIZECONDITION(), and UMAP().
void osmscout::oss::Parser::UINT | ( | size_t & | value | ) |
References config, osmscout::StyleConfig::GetConstantByName(), osmscout::StyleConstantUInt::GetUInt(), SemErr(), and osmscout::StringToNumber().
Referenced by UINTCONSTDEF().
void osmscout::oss::Parser::UINTCONSTDEF | ( | ) |
References osmscout::StyleConfig::AddConstant(), config, osmscout::StyleConfig::GetConstantByName(), IDENT(), SemErr(), state, and UINT().
Referenced by CONSTDEF().
void osmscout::oss::Parser::UMAP | ( | double & | width | ) |
void osmscout::oss::Parser::WAYGROUP | ( | size_t | priority | ) |
References config, osmscout::StyleConfig::GetTypeConfig(), IDENT(), SemErr(), SemWarning(), and osmscout::StyleConfig::SetWayPrio().
Referenced by WAYORDER().
void osmscout::oss::Parser::WAYORDER | ( | ) |
References WAYGROUP().
Referenced by OSS().
void osmscout::oss::Parser::WAYPATHSYMBOLSTYLE | ( | StyleFilter | filter, |
bool | state | ||
) |
References osmscout::StyleConfig::AddWayPathSymbolStyle(), config, IDENT(), PATHSYMBOLSTYLEATTR(), state, and osmscout::PartialStyle< S, A >::style.
Referenced by WAYSTYLEDEF().
void osmscout::oss::Parser::WAYPATHTEXTSTYLE | ( | StyleFilter | filter, |
bool | state | ||
) |
References osmscout::StyleConfig::AddWayPathTextStyle(), config, PATHTEXTSTYLEATTR(), and state.
Referenced by WAYSTYLEDEF().
void osmscout::oss::Parser::WAYSHIELDSTYLE | ( | StyleFilter | filter, |
bool | state | ||
) |
References osmscout::StyleConfig::AddWayPathShieldStyle(), config, PATHSHIELDSTYLEATTR(), and state.
Referenced by WAYSTYLEDEF().
void osmscout::oss::Parser::WAYSTYLE | ( | StyleFilter | filter, |
bool | state | ||
) |
References osmscout::StyleConfig::AddWayLineStyle(), config, IDENT(), LINESTYLEATTR(), state, and osmscout::PartialStyle< S, A >::style.
Referenced by WAYSTYLEDEF().
void osmscout::oss::Parser::WAYSTYLEDEF | ( | StyleFilter | filter, |
bool | state | ||
) |
References state, WAYPATHSYMBOLSTYLE(), WAYPATHTEXTSTYLE(), WAYSHIELDSTYLE(), and WAYSTYLE().
Referenced by STYLEDEF().
void osmscout::oss::Parser::WIDTHCONSTDEF | ( | ) |
References osmscout::StyleConfig::AddConstant(), config, DOUBLE(), osmscout::StyleConfig::GetConstantByName(), IDENT(), osmscout::StyleConstantWidth::m, osmscout::StyleConstantWidth::mm, SemErr(), and state.
Referenced by CONSTDEF().
StyleConfig& osmscout::oss::Parser::config |
Referenced by AddFeatureToFilter(), AREABORDERSTYLE(), AREABORDERSYMBOLSTYLE(), AREABORDERTEXTSTYLE(), AREAICONSTYLE(), AREASTYLE(), AREATEXTSTYLE(), ATTRIBUTEVALUE(), COLORCONSTDEF(), CONSTANT(), FLAGDEF(), IFCOND(), IMPORT(), MAGCONSTDEF(), NODEICONSTYLE(), NODETEXTSTYLE(), ROUTEPATHTEXTSTYLE(), ROUTESTYLE(), STYLEFILTER_GROUP(), STYLEFILTER_PATH(), STYLEFILTER_TYPE(), SYMBOLSECTION(), UINT(), UINTCONSTDEF(), WAYGROUP(), WAYPATHSYMBOLSTYLE(), WAYPATHTEXTSTYLE(), WAYSHIELDSTYLE(), WAYSTYLE(), and WIDTHCONSTDEF().
Errors* osmscout::oss::Parser::errors |
Referenced by ATTRIBUTEVALUE(), IMPORT(), osmscout::StyleConfig::LoadContent(), Parser(), SemErr(), SemWarning(), UMAP(), and ~Parser().
std::string osmscout::oss::Parser::filename |
Referenced by IMPORT().
MagnificationConverter osmscout::oss::Parser::magnificationConverter |
Referenced by ATTRIBUTEVALUE(), and MAG().
bool osmscout::oss::Parser::state |
Referenced by AREABORDERSTYLE(), AREABORDERSYMBOLSTYLE(), AREABORDERTEXTSTYLE(), AREAICONSTYLE(), AREASTYLE(), AREASTYLEDEF(), AREATEXTSTYLE(), COLORCONSTDEF(), CONSTBLOCK(), CONSTCONDBLOCK(), FLAGBLOCK(), FLAGCONDBLOCK(), FLAGDEF(), IFCOND(), MAGCONSTDEF(), NODEICONSTYLE(), NODESTYLEDEF(), NODETEXTSTYLE(), OSS(), ROUTEPATHTEXTSTYLE(), ROUTESTYLE(), ROUTESTYLEDEF(), SemErr(), SemWarning(), STYLE(), STYLEBLOCK(), STYLECONDBLOCK(), STYLEDEF(), UINTCONSTDEF(), WAYPATHSYMBOLSTYLE(), WAYPATHTEXTSTYLE(), WAYSHIELDSTYLE(), WAYSTYLE(), WAYSTYLEDEF(), and WIDTHCONSTDEF().