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 の比較カテゴリ比較可能な型等価性 |
パブリック関数
| 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 を返します。
© 2026 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.