이 페이지에서

QXmlStreamNamespaceDeclaration Class

QXmlStreamNamespaceDeclaration 클래스는 네임스페이스 선언을 나타냅니다. 더 보기...

헤더: #include <QXmlStreamNamespaceDeclaration>
CMake: find_package(Qt6 REQUIRED COMPONENTS Core)
target_link_libraries(mytarget PRIVATE Qt6::Core)
qmake: QT += core

참고: 이 클래스의 모든 함수는 재진입 가능합니다.

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.