![]() |
Home · All Classes · Main Classes · Grouped Classes · Modules · Functions | ![]() |
The QXmlNamePool class is a pool of XML names. More...
#include <QXmlNamePool>
Note: All the functions in this class are reentrant.
This class was introduced in Qt 4.4.
The QXmlNamePool class is a pool of XML names.
Together with QXmlName, QXmlNamePool is a strong optimization for dealing with XML names, which typically are encounted in vast quantities. QXmlName is essentially a place holder for a name that can quickly be compared and passed around, while QXmlNamePool contains the actual strings associated with a name. By constructing a QXmlName and passing in the strings and the pool to use, one get a swift QXmlName in return.
A QXmlName instance is tied to the name pool it was created with. For instance, if one name is created with one name pool, and then compare to a name from another name pool, the result is undefined. A QXmlName is only valid for the name pool it was created with.
QXmlName represent what often are called an "expanded QName", or simply QName.
See also QXmlName and QXmlQuery::namePool().
Constructs an invalid query that cannot be used. setQuery() must be called.
Constructs a QXmlNamePool instance that is a copy of other.
Destructs this QXmlNamePool instance.
Assigns other to this QXmlNamePool instance.
Copyright © 2007 Trolltech | Trademarks | Qt 4.4.0-tp1 |