libosmscout  0.1
osmscout::ost::Parser Class Reference

#include <Parser.h>

Public Member Functions

std::string Destring (const char *str)
 
void FEATURE ()
 
void FEATUREDESCS (Feature &feature)
 
void FEATURES ()
 
void GRADE ()
 
void GRADES ()
 
void GROUPS (TypeInfo &typeInfo)
 
void IDENT (std::string &value)
 
void IMPORT ()
 
void IMPORTS ()
 
void LANES (TypeInfo &typeInfo)
 
void MAXSPEED ()
 
void MAXSPEEDS ()
 
void OST ()
 
void Parse ()
 
 Parser (Scanner *scanner, const std::string &filename, TypeConfig &config)
 
void PATH (TypeInfo &typeInfo)
 
void SemErr (const char *msg)
 
void SPECIALTYPE (TypeInfo &typeInfo)
 
void STRING (std::string &value)
 
void TAGANDCOND (TagConditionRef &condition)
 
void TAGBINCOND (TagConditionRef &condition)
 
void TAGBOOLCOND (TagConditionRef &condition)
 
void TAGCONDITION (TagConditionRef &condition)
 
void TAGEQUALSCOND (const std::string &tagName, TagConditionRef &condition)
 
void TAGEXISTSCOND (TagConditionRef &condition)
 
void TAGGREATERCOND (const std::string &tagName, TagConditionRef &condition)
 
void TAGGREATEREQUALCOND (const std::string &tagName, TagConditionRef &condition)
 
void TAGISINCOND (const std::string &tagName, TagConditionRef &condition)
 
void TAGLESSCOND (const std::string &tagName, TagConditionRef &condition)
 
void TAGLESSEQUALCOND (const std::string &tagName, TagConditionRef &condition)
 
void TAGNOTEQUALSCOND (const std::string &tagName, TagConditionRef &condition)
 
void TYPE ()
 
void TYPEDESCS (TypeInfo &typeInfo)
 
void TYPEFEATURE (TypeInfo &typeInfo)
 
void TYPEKIND (unsigned char &types)
 
void TYPEKINDS (unsigned char &types)
 
void TYPEOPTION (TypeInfo &typeInfo)
 
void TYPEOPTIONS (TypeInfo &typeInfo)
 
void TYPES ()
 
void UINT (size_t &value)
 
void UINT8 (uint8_t &value)
 
 ~Parser ()
 

Public Attributes

Errorserrors
 

Constructor & Destructor Documentation

◆ Parser()

osmscout::ost::Parser::Parser ( Scanner scanner,
const std::string &  filename,
TypeConfig config 
)

References errors.

◆ ~Parser()

osmscout::ost::Parser::~Parser ( )

References errors.

Member Function Documentation

◆ Destring()

std::string osmscout::ost::Parser::Destring ( const char *  str)
inline

◆ FEATURE()

void osmscout::ost::Parser::FEATURE ( )

◆ FEATUREDESCS()

void osmscout::ost::Parser::FEATUREDESCS ( Feature feature)

◆ FEATURES()

void osmscout::ost::Parser::FEATURES ( )

References FEATURE().

Referenced by OST().

◆ GRADE()

void osmscout::ost::Parser::GRADE ( )

◆ GRADES()

void osmscout::ost::Parser::GRADES ( )

References GRADE().

Referenced by OST().

◆ GROUPS()

void osmscout::ost::Parser::GROUPS ( TypeInfo typeInfo)

References osmscout::TypeInfo::AddGroup(), and IDENT().

Referenced by TYPE().

◆ IDENT()

void osmscout::ost::Parser::IDENT ( std::string &  value)

◆ IMPORT()

void osmscout::ost::Parser::IMPORT ( )

◆ IMPORTS()

void osmscout::ost::Parser::IMPORTS ( )

References IMPORT().

Referenced by OST().

◆ LANES()

void osmscout::ost::Parser::LANES ( TypeInfo typeInfo)

◆ MAXSPEED()

void osmscout::ost::Parser::MAXSPEED ( )

◆ MAXSPEEDS()

void osmscout::ost::Parser::MAXSPEEDS ( )

References MAXSPEED().

Referenced by OST().

◆ OST()

void osmscout::ost::Parser::OST ( )

References FEATURES(), GRADES(), IMPORTS(), MAXSPEEDS(), and TYPES().

Referenced by Parse().

◆ Parse()

void osmscout::ost::Parser::Parse ( )

◆ PATH()

◆ SemErr()

void osmscout::ost::Parser::SemErr ( const char *  msg)

◆ SPECIALTYPE()

void osmscout::ost::Parser::SPECIALTYPE ( TypeInfo typeInfo)

◆ STRING()

void osmscout::ost::Parser::STRING ( std::string &  value)

◆ TAGANDCOND()

void osmscout::ost::Parser::TAGANDCOND ( TagConditionRef condition)

◆ TAGBINCOND()

void osmscout::ost::Parser::TAGBINCOND ( TagConditionRef condition)

◆ TAGBOOLCOND()

void osmscout::ost::Parser::TAGBOOLCOND ( TagConditionRef condition)

References TAGBINCOND(), TAGCONDITION(), and TAGEXISTSCOND().

Referenced by TAGANDCOND().

◆ TAGCONDITION()

void osmscout::ost::Parser::TAGCONDITION ( TagConditionRef condition)

◆ TAGEQUALSCOND()

void osmscout::ost::Parser::TAGEQUALSCOND ( const std::string &  tagName,
TagConditionRef condition 
)

◆ TAGEXISTSCOND()

void osmscout::ost::Parser::TAGEXISTSCOND ( TagConditionRef condition)

◆ TAGGREATERCOND()

void osmscout::ost::Parser::TAGGREATERCOND ( const std::string &  tagName,
TagConditionRef condition 
)

◆ TAGGREATEREQUALCOND()

void osmscout::ost::Parser::TAGGREATEREQUALCOND ( const std::string &  tagName,
TagConditionRef condition 
)

◆ TAGISINCOND()

void osmscout::ost::Parser::TAGISINCOND ( const std::string &  tagName,
TagConditionRef condition 
)

◆ TAGLESSCOND()

void osmscout::ost::Parser::TAGLESSCOND ( const std::string &  tagName,
TagConditionRef condition 
)

◆ TAGLESSEQUALCOND()

void osmscout::ost::Parser::TAGLESSEQUALCOND ( const std::string &  tagName,
TagConditionRef condition 
)

◆ TAGNOTEQUALSCOND()

void osmscout::ost::Parser::TAGNOTEQUALSCOND ( const std::string &  tagName,
TagConditionRef condition 
)

◆ TYPE()

◆ TYPEDESCS()

void osmscout::ost::Parser::TYPEDESCS ( TypeInfo typeInfo)

References osmscout::TypeInfo::AddDescription(), IDENT(), and STRING().

Referenced by TYPE().

◆ TYPEFEATURE()

void osmscout::ost::Parser::TYPEFEATURE ( TypeInfo typeInfo)

◆ TYPEKIND()

void osmscout::ost::Parser::TYPEKIND ( unsigned char &  types)

◆ TYPEKINDS()

void osmscout::ost::Parser::TYPEKINDS ( unsigned char &  types)

References TYPEKIND().

Referenced by TYPE().

◆ TYPEOPTION()

◆ TYPEOPTIONS()

void osmscout::ost::Parser::TYPEOPTIONS ( TypeInfo typeInfo)

References TYPEOPTION().

Referenced by TYPE().

◆ TYPES()

void osmscout::ost::Parser::TYPES ( )

References TYPE().

Referenced by OST().

◆ UINT()

void osmscout::ost::Parser::UINT ( size_t &  value)

◆ UINT8()

void osmscout::ost::Parser::UINT8 ( uint8_t &  value)

References SemErr(), and osmscout::StringToNumber().

Referenced by LANES().

Member Data Documentation

◆ errors

Errors* osmscout::ost::Parser::errors

The documentation for this class was generated from the following files: