FlightGear next
|
Class for parsing a FlightGear default translation file (e.g., menu.xml) More...
#include <DefaultTranslationParser.hxx>
Inherits XMLVisitor.
Public Member Functions | |
DefaultTranslationParser (TranslationResource *resource) | |
Protected Member Functions | |
void | startXML () override |
void | endXML () override |
void | startElement (const char *name, const XMLAttributes &atts) override |
void | endElement (const char *name) override |
void | data (const char *s, int len) override |
void | warning (const char *message, int line, int column) override |
Class for parsing a FlightGear default translation file (e.g., menu.xml)
This class implements a parser for XML translation files normally located under ⟨base-dir⟩/Translations/default, where ⟨base-dir⟩ can be $FG_ROOT or the top-level directory of an aircraft or add-on.
Definition at line 29 of file DefaultTranslationParser.hxx.
flightgear::DefaultTranslationParser::DefaultTranslationParser | ( | TranslationResource * | resource | ) |
Definition at line 24 of file DefaultTranslationParser.cxx.
|
overrideprotected |
Definition at line 202 of file DefaultTranslationParser.cxx.
|
overrideprotected |
Definition at line 145 of file DefaultTranslationParser.cxx.
|
overrideprotected |
Definition at line 31 of file DefaultTranslationParser.cxx.
|
overrideprotected |
Definition at line 54 of file DefaultTranslationParser.cxx.
|
overrideprotected |
Definition at line 28 of file DefaultTranslationParser.cxx.
|
overrideprotected |
Definition at line 207 of file DefaultTranslationParser.cxx.