JS8Call-Improved master
Loading...
Searching...
No Matches
CountryDat Class Reference

Public Member Functions

void init (const QString filename)
 Initialize the CountryDat instance with the specified filename.
void load ()
 Load country data from the specified file.
QString find (QString prefix) const
 Find the country name associated with a given callsign prefix.
QStringList getCountryNames () const

Member Function Documentation

◆ find()

QString CountryDat::find ( QString call) const

Find the country name associated with a given callsign prefix.

Parameters
callThe callsign prefix to search for.
Returns
The corresponding country name, or an empty string if not found.

◆ init()

void CountryDat::init ( const QString filename)

Initialize the CountryDat instance with the specified filename.

Parameters
filenameThe path to the country data file.

The documentation for this class was generated from the following files: