#include <xmlloader.hxx>
|
static void | load (FGRunwayPreference *p) |
|
static void | load (FGGroundNetwork *net) |
|
static void | load (FGSidStar *s) |
|
static void | loadFromStream (FGGroundNetwork *net, std::istream &inData) |
|
static void | loadFromPath (FGGroundNetwork *net, const SGPath &path) |
|
static bool | loadAirportXMLDataIntoVisitor (const std::string &aICAO, const std::string &aFileName, XMLVisitor &aVisitor) |
| Search the scenery for a file name of the form: I/C/A/ICAO.filename.xml and parse it as an XML property list, passing the data to the supplied visitor.
|
|
static bool | findAirportData (const std::string &aICAO, const std::string &aFileName, SGPath &aPath) |
| Search the scenery for a file name of the form: I/C/A/ICAO.filename.xml and return the corresponding SGPath if found (and true), or false and invalid path if no matching data could be found.
|
|
Definition at line 24 of file xmlloader.hxx.
◆ XMLLoader()
◆ ~XMLLoader()
XMLLoader::~XMLLoader |
( |
| ) |
|
◆ findAirportData()
bool XMLLoader::findAirportData |
( |
const std::string & | aICAO, |
|
|
const std::string & | aFileName, |
|
|
SGPath & | aPath ) |
|
static |
Search the scenery for a file name of the form: I/C/A/ICAO.filename.xml and return the corresponding SGPath if found (and true), or false and invalid path if no matching data could be found.
Definition at line 106 of file xmlloader.cxx.
◆ load() [1/3]
◆ load() [2/3]
◆ load() [3/3]
◆ loadAirportXMLDataIntoVisitor()
bool XMLLoader::loadAirportXMLDataIntoVisitor |
( |
const std::string & | aICAO, |
|
|
const std::string & | aFileName, |
|
|
XMLVisitor & | aVisitor ) |
|
static |
Search the scenery for a file name of the form: I/C/A/ICAO.filename.xml and parse it as an XML property list, passing the data to the supplied visitor.
If no such file could be found, returns false, otherwise returns true. Other failures (malformed XML, etc) with throw an exception.
Definition at line 148 of file xmlloader.cxx.
◆ loadFromPath()
void XMLLoader::loadFromPath |
( |
FGGroundNetwork * | net, |
|
|
const SGPath & | path ) |
|
static |
◆ loadFromStream()
void XMLLoader::loadFromStream |
( |
FGGroundNetwork * | net, |
|
|
std::istream & | inData ) |
|
static |
The documentation for this class was generated from the following files: