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() | |
| QSharedData & | operator=(const QSharedData &) |
상세 설명
QSharedData는 QSharedDataPointer 또는 QExplicitlySharedDataPointer 과 함께 사용하여 사용자 정의 암시적 공유 또는 명시적 공유 클래스를 구현하도록 설계되었습니다. QSharedData는 스레드 안전 참조 카운팅을 제공합니다.
자세한 내용은 QSharedDataPointer 및 QExplicitlySharedDataPointer 을 참조하십시오.
멤버 함수 문서
[noexcept] QSharedData::QSharedData()
참조 횟수가 0인 QSharedData 객체를 생성합니다.
[noexcept] QSharedData::QSharedData(const QSharedData &)
참조 카운트가 0인 QSharedData 객체를 생성합니다. 매개변수는 무시됩니다.
[constexpr noexcept default] QSharedData::~QSharedData()
QSharedData 의 인스턴스를 삭제합니다.
[delete] QSharedData &QSharedData::operator=(const QSharedData &)
other 를 이 QSharedData 인스턴스에 복사 할당합니다. 이 함수는 삭제됩니다.
© 2026 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.