6using namespace swift::misc::network;
52 return static_cast<WebReader
>(flag);
WebReaderFlag
Which readers to init.
@ AirportReader
reader for airport list
@ VatsimMetarReader
reader for VATSIM metar data
@ VatsimStatusReader
reader for VATSIM status file
@ ModelReader
reader for model data such as liveries, models, etc
@ IcaoDataReader
reader for ICAO data
@ DbInfoDataReader
DB info data (metdata, how many data, when updated).
@ VatsimDataReader
reader for VATSIM data
static swift::misc::network::CEntityFlags::Entity allEntitiesForReaders(WebReader readers)
All entities readers can read.
static int numberOfReaders(WebReader readers)
Number of readers.
static bool isFromSwiftDb(swift::misc::network::CEntityFlags::Entity entity)
Reads from swift DB?
static bool isSingleReader(WebReader readers)
Is single reader.
static WebReader entitiesToReaders(swift::misc::network::CEntityFlags::Entity entities)
Relationship between readers and entities.
static WebReader webReaderFlagToWebReader(WebReaderFlag flag)
Cast.
static bool isSingleEntity(CEntityFlags::Entity flag)
Representing single entity?
@ AircraftCategoryEntity
aircraft category entities
@ VatsimStatusFile
the VATSIM status file (URLs for data files etc.)
@ CountryEntity
country codes
@ DbInfoObjectEntity
info about DB data (kind of metadata)
@ AirlineIcaoEntity
ICAO codes for airlines.
@ AircraftIcaoEntity
ICAO codes for aircraft.
@ AllIcaoCountriesCategory
includes category
@ DistributorEntity
distributors
@ VatsimDataFile
the VATSIM data file (multiple data entities)
@ DistributorLiveryModel
Combined.
Backend services of the swift project, like dealing with the network or the simulators.