#include <ip2cparser.h>
Inheritance diagram for IP2CParser:Signals | |
| void | parsingFinished (bool bSuccess) |
| A signal emitted when parser finishes its job. | |
Public Member Functions | |
| bool | isParsing () const |
| For multi-threading purposes. If this is true it is not recommended to delete this object nor the underlying IP2C database. | |
| const QList< IP2CRange > | ranges () const |
| bool | readDatabase (const QString &filePath) |
| void | readDatabaseThreaded (const QString &filePath) |
Compacted database file format, version 2: (all strings are null terminated) Header:
Block repeated until EOF:
Definition at line 56 of file ip2cparser.h.
|
inline |
For multi-threading purposes. If this is true it is not recommended to delete this object nor the underlying IP2C database.
Definition at line 67 of file ip2cparser.h.
|
signal |
A signal emitted when parser finishes its job.
It is not safe to delete IP2CParser object after readDatabase() call and before this signal is emitted.