QXmlStreamNamespaceDeclaration Class
QXmlStreamNamespaceDeclaration クラスは、名前空間宣言を表します。詳細...
ヘッダ | #include <QXmlStreamNamespaceDeclaration> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS Core) target_link_libraries(mytarget PRIVATE Qt6::Core) |
qmake: | QT += core |
- 継承メンバを含む全メンバのリスト
- QXmlStreamNamespaceDeclarationは、XMLクラスの一部です。
このクラスは等価比較可能です。
注意:このクラスの関数はすべてリエントラントです。
パブリック関数
QXmlStreamNamespaceDeclaration() | |
QXmlStreamNamespaceDeclaration(const QString &prefix, const QString &namespaceUri) | |
QStringView | namespaceUri() const |
QStringView | prefix() const |
関連する非メンバー
QXmlStreamNamespaceDeclarations | |
bool | operator!=(const QXmlStreamNamespaceDeclaration &lhs, const QXmlStreamNamespaceDeclaration &rhs) |
bool | operator==(const QXmlStreamNamespaceDeclaration &lhs, const QXmlStreamNamespaceDeclaration &rhs) |
詳細説明
名前空間宣言はprefix() とnamespaceUri() で構成されます。
メンバ関数のドキュメント
QXmlStreamNamespaceDeclaration::QXmlStreamNamespaceDeclaration()
空の名前空間宣言を作成します。
QXmlStreamNamespaceDeclaration::QXmlStreamNamespaceDeclaration(const QString &prefix, const QString &namespaceUri)
prefix とnamespaceUri で名前空間宣言を作成します。
QStringView QXmlStreamNamespaceDeclaration::namespaceUri() const
namespaceUri を返します。
QStringView QXmlStreamNamespaceDeclaration::prefix() const
接頭辞を返します。
関連する非会員
QXmlStreamNamespaceDeclarations
QList<QXmlStreamNamespaceDeclaration>の対義語。
[noexcept]
bool operator!=(const QXmlStreamNamespaceDeclaration &lhs, const QXmlStreamNamespaceDeclaration &rhs)
lhs の名前空間宣言をrhs と比較し、等しくなければtrue
を返し、そうでなければfalse
を返す。
[noexcept]
bool operator==(const QXmlStreamNamespaceDeclaration &lhs, const QXmlStreamNamespaceDeclaration &rhs)
lhs の名前空間宣言をrhs と比較し、等しければtrue
を返し、そうでなければfalse
を返す。
© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.