#include </home/clem/local/src/opie/libopie2/opienet/omanufacturerdb.h>
Collaboration diagram for Opie::Net::OManufacturerDB:

Public Member Functions | |
| const QString & | lookup (const QString &macaddr) const |
| const QString & | lookupExt (const QString &macaddr) const |
Static Public Member Functions | |
| static OManufacturerDB * | instance () |
Protected Member Functions | |
| OManufacturerDB () | |
| virtual | ~OManufacturerDB () |
Private Attributes | |
| QMap< QString, QString > | manufacturers |
| QMap< QString, QString > | manufacturersExt |
| Private * | d |
Static Private Attributes | |
| static OManufacturerDB * | _instance = 0 |
This class encapsulates the lookup of Ethernet vendor given a certain Mac Address. Only the first three bytes define the vendor.
Definition at line 43 of file omanufacturerdb.h.
|
|
Definition at line 62 of file omanufacturerdb.cpp. References QTextStream::atEnd(), QFile::exists(), QMap< Key, T >::insert(), IO_ReadOnly, manufacturers, manufacturersExt, odebug, oendl, QFile::open(), owarn, qApp, QPEApplication::qpeDir(), s, and Global::statusMessage(). Referenced by instance(). |
|
|
Definition at line 115 of file omanufacturerdb.cpp. |
|
|
Definition at line 51 of file omanufacturerdb.cpp. References _instance, odebug, oendl, and OManufacturerDB(). Referenced by main(), Opie::Net::OMacAddress::manufacturer(), OpieStumbler::slotLoadManufacturers(), and Opie::Net::OMacAddress::toString(). |
|
|
Definition at line 120 of file omanufacturerdb.cpp. References manufacturers, and QString::upper(). Referenced by lookupExt(), and OpieStumbler::manufacturer(). |
|
|
Definition at line 126 of file omanufacturerdb.cpp. References QMap< Key, T >::end(), QMap< Key, T >::find(), lookup(), manufacturersExt, and QString::upper(). Referenced by OpieStumbler::manufacturer(). |
|
|
Definition at line 49 of file omanufacturerdb.cpp. Referenced by instance(). |
|
|
Definition at line 67 of file omanufacturerdb.h. |
|
|
Definition at line 64 of file omanufacturerdb.h. Referenced by lookup(), and OManufacturerDB(). |
|
|
Definition at line 65 of file omanufacturerdb.h. Referenced by lookupExt(), and OManufacturerDB(). |
1.4.2