Combines match-relevant fields (beside ICAO a/c type)
More...
#include <CSLModels.h>
|
| void | setAirline (const std::string &_icaoOp) |
| | Sets airline (operator) and looks up its 'related' group.
|
| |
| const std::string & | getAirline () const |
| | ICAO Airline code / operator.
|
| |
| int | getRelOp () const |
| | 'Related' group of operator, if any, otherwise 0
|
| |
| bool | merge (const MatchCritTy &o) |
| | Decide which criteria is better and keep that.
|
| |
|
| std::string | livery |
| | Livery code this model represents: xsb_aircraft.txt::LIVERY
|
| |
|
| std::string | icaoAirline |
| | ICAO Airline code this model represents: xsb_aircraft.txt::AIRLINE
|
| |
| int | relOp = 0 |
| | 'related' group of the airline, if it exists, otherwise 0
|
| |
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: