QSharedData Class

QSharedData 클래스는 공유 데이터 개체를 위한 기본 클래스입니다. 더 보기...

Header: #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는 스레드 안전 참조 카운팅을 제공합니다.

자세한 내용은 QSharedDataPointerQExplicitlySharedDataPointer 을 참조하세요.

멤버 함수 문서

[noexcept] QSharedData::QSharedData()

참조 카운트가 0인 QSharedData 객체를 생성합니다.

[noexcept] QSharedData::QSharedData(const QSharedData &)

참조 카운트가 0인 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.