QSharedData Class
Die Klasse QSharedData ist eine Basisklasse für gemeinsam genutzte Datenobjekte. Mehr...
Kopfzeile: | #include <QSharedData> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS Core) target_link_libraries(mytarget PRIVATE Qt6::Core) |
qmake: | QT += core |
Hinweis: Alle Funktionen in dieser Klasse sind reentrant.
Öffentliche Funktionen
QSharedData() | |
QSharedData(const QSharedData &) |
Detaillierte Beschreibung
QSharedData wurde für die Verwendung mit QSharedDataPointer oder QExplicitlySharedDataPointer entwickelt, um eigene implizit oder explizit gemeinsam genutzte Klassen zu implementieren. QSharedData bietet Thread-sichere Referenzzählung.
Siehe QSharedDataPointer und QExplicitlySharedDataPointer für Details.
Dokumentation der Mitgliedsfunktionen
[noexcept]
QSharedData::QSharedData()
Konstruiert ein QSharedData-Objekt mit einer Referenzanzahl von 0.
[noexcept]
QSharedData::QSharedData(const QSharedData &)
Konstruiert ein QSharedData-Objekt mit der Referenzanzahl 0. Der Parameter wird ignoriert.
© 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.