QSharedData Class
QSharedDataクラスは、共有データ・オブジェクトの基本クラスです。詳細...
ヘッダー | #include <QSharedData> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS Core) target_link_libraries(mytarget PRIVATE Qt6::Core) |
qmake: | QT += core |
注意:このクラスの関数はすべてリエントラントです。
パブリック関数
QSharedData() | |
QSharedData(const QSharedData &) |
詳細説明
QSharedData は、QSharedDataPointer またはQExplicitlySharedDataPointer とともに使用して、暗黙的または明示的に共有されるカスタム・クラスを実装するように設計されています。QSharedData は、スレッドセーフな参照カウントを提供します。
詳細はQSharedDataPointer およびQExplicitlySharedDataPointer を参照してください。
メンバ関数ドキュメント
[noexcept]
QSharedData::QSharedData()
参照カウントが 0 の QSharedData オブジェクトを構築します。
[noexcept]
QSharedData::QSharedData(const QSharedData &)
パラメータは無視されます。
© 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.