QXmlStreamEntityDeclaration Class
QXmlStreamEntityDeclaration 类表示 DTD 实体声明。更多
头文件: | #include <QXmlStreamEntityDeclaration> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS Core) target_link_libraries(mytarget PRIVATE Qt6::Core) |
qmake: | QT += core |
- 所有成员(包括继承成员)的列表
- QXmlStreamEntityDeclaration 属于XML 类。
该类可等价比较。
注意:该类中的所有函数都是可重入的。
公共函数
QXmlStreamEntityDeclaration() | |
QStringView | name() const |
QStringView | notationName() const |
QStringView | publicId() const |
QStringView | systemId() const |
QStringView | value() const |
相关非成员
QXmlStreamEntityDeclarations | |
bool | operator!=(const QXmlStreamEntityDeclaration &lhs, const QXmlStreamEntityDeclaration &rhs) |
bool | operator==(const QXmlStreamEntityDeclaration &lhs, const QXmlStreamEntityDeclaration &rhs) |
详细描述
实体声明由name(),notationName(),systemId(),publicId() 和value() 组成。
成员函数文档
QXmlStreamEntityDeclaration::QXmlStreamEntityDeclaration()
创建空实体声明。
QStringView QXmlStreamEntityDeclaration::name() const
返回实体名称。
QStringView QXmlStreamEntityDeclaration::notationName() const
返回符号名称。
QStringView QXmlStreamEntityDeclaration::publicId() const
返回公共标识符。
QStringView QXmlStreamEntityDeclaration::systemId() const
返回系统标识符。
QStringView QXmlStreamEntityDeclaration::value() const
返回实体的值。
相关非成员
QXmlStreamEntityDeclarations
QList<QXmlStreamEntityDeclaration> 的同义词。
[noexcept]
bool operator!=(const QXmlStreamEntityDeclaration &lhs, const QXmlStreamEntityDeclaration &rhs)
将lhs 实体声明与rhs 进行比较,如果不相等,则返回true
;否则返回false
。
[noexcept]
bool operator==(const QXmlStreamEntityDeclaration &lhs, const QXmlStreamEntityDeclaration &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.