src/CSLModels.cpp
CSLModelInfo_t::CSLModelInfo_t(const CSLModel& csl) :
    cslId(csl.cslId), modelName(csl.modelName),
    xsbAircraftPath(csl.xsbAircraftPath), xsbAircraftLn(csl.xsbAircraftLn),
    icaoType(csl.GetIcaoType()),
    doc8643Classification(csl.GetDoc8643().classification),
    doc8643WTC(csl.GetDoc8643().wtc)
{
    // copy all match criteria
    for (const CSLModel::MatchCritTy& crit : csl.vecMatchCrit)
        vecMatchCrit.emplace_back(CSLModelInfo_t::MatchCrit_t{crit.icaoAirline, crit.livery});
}
//
// MARK: CSL Model Info implementation
//       A small public structure to pass back CSL model information to the calling plugin
//
CSL Model Info implementation
A small public structure to pass back CSL model information to the calling plugin
CSL Model Info implementation A small public structure to pass back CSL model information to the calling plugin
CSLModelInfo_t::CSLModelInfo_t(const CSLModel& csl) :
    cslId(csl.cslId), modelName(csl.modelName),
    xsbAircraftPath(csl.xsbAircraftPath), xsbAircraftLn(csl.xsbAircraftLn),
    icaoType(csl.GetIcaoType()),
    doc8643Classification(csl.GetDoc8643().classification),
    doc8643WTC(csl.GetDoc8643().wtc)
{
    for (const CSLModel::MatchCritTy& crit : csl.vecMatchCrit)
        vecMatchCrit.emplace_back(CSLModelInfo_t::MatchCrit_t{crit.icaoAirline, crit.livery});
}
CSLModelInfo_t :: CSLModelInfo_t ( const CSLModel & csl ) : cslId ( csl . cslId ) , modelName ( csl . modelName ) , xsbAircraftPath ( csl . xsbAircraftPath ) , xsbAircraftLn ( csl . xsbAircraftLn ) , icaoType ( csl . GetIcaoType ( ) ) , doc8643Classification ( csl . GetDoc8643 ( ) . classification ) , doc8643WTC ( csl . GetDoc8643 ( ) . wtc ) { for ( const CSLModel :: MatchCritTy & crit : csl . vecMatchCrit ) vecMatchCrit . emplace_back ( CSLModelInfo_t :: MatchCrit_t { crit . icaoAirline , crit . livery } ) ; }
MARK: CSL Model Info implementation
A small public structure to pass back CSL model information to the calling plugin
MARK : CSL Model Info implementation A small public structure to pass back CSL model information to the calling plugin
// copy all match criteria