7 #ifndef POINT_IDENTIFIERS_H 8 #define POINT_IDENTIFIERS_H 13 class QXmlStreamReader;
14 class QXmlStreamWriter;
16 typedef QHash<QString, bool> PointIdentifiersInternal;
26 bool contains(
const QString &pointIdentifier)
const;
33 QString
getKey (
int i)
const;
36 bool getValue (
const QString &pointIdentifier)
const;
39 void loadXml (QXmlStreamReader &reader);
42 void saveXml (QXmlStreamWriter &writer)
const;
50 PointIdentifiersInternal m_pointIdentifiers;
53 #endif // POINT_IDENTIFIERS_H Hash table class that tracks point identifiers as the key, with a corresponding boolean value...
QString getKey(int i) const
Get key for index.
bool getValue(const QString &pointIdentifier) const
Get value for key.
void setKeyValue(const QString &pointIdentifier, bool value)
Set key/value pair.
void saveXml(QXmlStreamWriter &writer) const
Serialize table to xml.
PointIdentifiers()
Single constructor.
void loadXml(QXmlStreamReader &reader)
Load from serialized xml.
bool contains(const QString &pointIdentifier) const
True if specified entry exists in the table.
int count() const
Number of entries.