Engauge Digitizer
2
|
Hash table class that tracks point identifiers as the key, with a corresponding boolean value. More...
#include <PointIdentifiers.h>
Public Member Functions | |
PointIdentifiers () | |
Single constructor. | |
bool | contains (const QString &pointIdentifier) const |
True if specified entry exists in the table. | |
int | count () const |
Number of entries. | |
QString | getKey (int i) const |
Get key for index. More... | |
bool | getValue (const QString &pointIdentifier) const |
Get value for key. | |
void | loadXml (QXmlStreamReader &reader) |
Load from serialized xml. | |
void | saveXml (QXmlStreamWriter &writer) const |
Serialize table to xml. | |
void | setKeyValue (const QString &pointIdentifier, bool value) |
Set key/value pair. | |
Hash table class that tracks point identifiers as the key, with a corresponding boolean value.
Definition at line 19 of file PointIdentifiers.h.
QString PointIdentifiers::getKey | ( | int | i | ) | const |
Get key for index.
This involves copying of all the keys and is therefore slower than using key lookup, so should not be used for extremely numerous point sets
Definition at line 33 of file PointIdentifiers.cpp.