![]() |
Главная · Все классы · Основные классы · Классы по группам · Модули · Функции | ![]() |
Класс QXmlStreamAttributes представляет вектор, состоящий из QXmlStreamAttribute. Далее...
#include <QXmlStreamAttributes>
Унаследован от QVector<QXmlStreamAttribute>.
Замечание: Все функции в этом классе реентерабельны.
Класс был добавлен в Qt 4.3.
Класс QXmlStreamAttributes представляет вектор, состоящий из QXmlStreamAttribute.
Attributes are returned by a QXmlStreamReader in attributes() when the reader reports a start element. The class can also be used with a QXmlStreamWriter as an argument to writeAttributes().
The convenience function value() loops over the vector and returns an attribute value for a given namespaceUri and an attribute's name.
Новые атрибуты могут быть добавлены с помощью append().
Appends a new attribute with name in the namespace described with namespaceUri, and value value. The namespaceUri can be empty.
Это перегруженная функция, предоставленная для удобства.
Appends the given attribute to the end of the vector.
See also QVector::append().
Это перегруженная функция, предоставленная для удобства.
Appends a new attribute with qualified name qualifiedName and value value.
Returns the value of the attribute name in the namespace described with namespaceUri, or an empty string reference if the attribute is not defined. The namespaceUri can be empty.
Это перегруженная функция, предоставленная для удобства.
Returns the value of the attribute name in the namespace described with namespaceUri, or an empty string reference if the attribute is not defined. The namespaceUri can be empty.
Это перегруженная функция, предоставленная для удобства.
Returns the value of the attribute name in the namespace described with namespaceUri, or an empty string reference if the attribute is not defined. The namespaceUri can be empty.
Это перегруженная функция, предоставленная для удобства.
Returns the value of the attribute with qualified name qualifiedName , or an empty string reference if the attribute is not defined. A qualified name is the raw name of an attribute in the XML data. It consists of the namespace prefix, followed by colon, followed by the attribute's local name. Since the namespace prefix is not unique (the same prefix can point to different namespaces and different prefixes can point to the same namespace), you shouldn't use qualified names, but a resolved namespaceUri and the attribute's local name.
Это перегруженная функция, предоставленная для удобства.
Returns the value of the attribute with qualified name qualifiedName , or an empty string reference if the attribute is not defined. A qualified name is the raw name of an attribute in the XML data. It consists of the namespace prefix, followed by colon, followed by the attribute's local name. Since the namespace prefix is not unique (the same prefix can point to different namespaces and different prefixes can point to the same namespace), you shouldn't use qualified names, but a resolved namespaceUri and the attribute's local name.
Copyright © 2008 Trolltech | Торговые марки | Qt 4.3.5 |