Qt 4.8
|
Helper class for keeping track of all existing IDs in a schema. More...
#include <qxsdidcache_p.h>
Public Types | |
typedef QExplicitlySharedDataPointer< XsdIdCache > | Ptr |
Public Functions | |
void | addId (const QString &id) |
bool | hasId (const QString &id) const |
Public Functions inherited from QSharedData | |
QSharedData () | |
Constructs a QSharedData object with a reference count of 0. More... | |
QSharedData (const QSharedData &) | |
Constructs a QSharedData object with reference count 0. More... | |
Properties | |
QSet< QString > | m_ids |
QReadWriteLock | m_lock |
Additional Inherited Members | |
Public Variables inherited from QSharedData | |
QAtomicInt | ref |
Helper class for keeping track of all existing IDs in a schema.
Definition at line 74 of file qxsdidcache_p.h.
Definition at line 77 of file qxsdidcache_p.h.
void XsdIdCache::addId | ( | const QString & | id | ) |
Adds an id
to the id cache.
Definition at line 51 of file qxsdidcache.cpp.
Referenced by QPatternist::XsdSchemaParser::validateIdAttribute().
bool XsdIdCache::hasId | ( | const QString & | id | ) | const |
Returns whether the id cache contains the given id
already.
Definition at line 59 of file qxsdidcache.cpp.
Referenced by QPatternist::XsdSchemaParser::validateIdAttribute().
Definition at line 90 of file qxsdidcache_p.h.
|
mutableprivate |
Definition at line 91 of file qxsdidcache_p.h.