Combines match-relevant fields (beside ICAO a/c type)
More...
#include <CSLModels.h>
|
std::string | livery |
| Livery code this model represents: xsb_aircraft.txt::LIVERY More...
|
|
|
std::string | icaoAirline |
| ICAO Airline code this model represents: xsb_aircraft.txt::AIRLINE More...
|
|
int | relOp = 0 |
| 'related' group of the airline, if it exists, otherwise 0 More...
|
|
Combines match-relevant fields (beside ICAO a/c type)
◆ getAirline()
const std::string& XPMP2::CSLModel::MatchCritTy::getAirline |
( |
| ) |
const |
|
inline |
ICAO Airline code / operator.
◆ getRelOp()
int XPMP2::CSLModel::MatchCritTy::getRelOp |
( |
| ) |
const |
|
inline |
'Related' group of operator, if any, otherwise 0
◆ merge()
bool XPMP2::CSLModel::MatchCritTy::merge |
( |
const MatchCritTy & |
o | ) |
|
Decide which criteria is better and keep that.
- Returns
- Did we cover o in some way? (false: needs to be treated separately)
◆ setAirline()
void XPMP2::CSLModel::MatchCritTy::setAirline |
( |
const std::string & |
_icaoOp | ) |
|
|
inline |
Sets airline (operator) and looks up its 'related' group.
◆ icaoAirline
std::string XPMP2::CSLModel::MatchCritTy::icaoAirline |
|
protected |
ICAO Airline code this model represents: xsb_aircraft.txt::AIRLINE
◆ livery
std::string XPMP2::CSLModel::MatchCritTy::livery |
Livery code this model represents: xsb_aircraft.txt::LIVERY
◆ relOp
int XPMP2::CSLModel::MatchCritTy::relOp = 0 |
|
protected |
'related' group of the airline, if it exists, otherwise 0
The documentation for this struct was generated from the following files: