QXmlStreamNamespaceDeclaration Class

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

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

이 클래스는 동등 비교가 가능합니다.

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

공용 함수

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)

prefixnamespaceUri 으로 네임스페이스 선언을 생성합니다.

QStringView QXmlStreamNamespaceDeclaration::namespaceUri() const

네임스페이스Uri를 반환합니다.

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.