QMqttStringPair Class
QMqttStringPair クラスは、MQTT 5.0 標準の文字列ペア・データ型を表します。詳細...
ヘッダ | #include <QMqttStringPair> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS Mqtt) target_link_libraries(mytarget PRIVATE Qt6::Mqtt) |
qmake: | QT += mqtt |
パブリック関数
QString | name() const |
void | setName(const QString &n) |
void | setValue(const QString &v) |
QString | value() const |
bool | operator!=(const QMqttStringPair &other) const |
bool | operator==(const QMqttStringPair &other) const |
メンバ関数のドキュメント
QString QMqttStringPair::name() const
文字列ペアの名前を返します。
setName()も参照 。
void QMqttStringPair::setName(const QString &n)
名前をn に設定する。
name()も参照のこと 。
void QMqttStringPair::setValue(const QString &v)
値をv に設定する。
value()も参照のこと 。
QString QMqttStringPair::value() const
文字列ペアの値を返します。
setValue()も参照 。
bool QMqttStringPair::operator!=(const QMqttStringPair &other) const
このインスタンスがother にマッチしない場合はtrue
を返す。
bool QMqttStringPair::operator==(const QMqttStringPair &other) const
このインスタンスがother にマッチする場合はtrue
を返す。
© 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.