QProtobufMessageDeleter Struct
QProtobufMessage 의 자식 클래스의 소멸자를 호출합니다. 더 보기...
| 헤더: | #include <QProtobufMessageDeleter> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS Protobuf) target_link_libraries(mytarget PRIVATE Qt6::Protobuf) |
| 다음과 같이: | Qt 6.5 |
공개 함수
| void | operator()(QProtobufMessage *ptr) const |
상세 설명
이 클래스는 메타 타입 시스템을 사용하여 protobuf 메시지의 소멸자를 호출합니다. 이 클래스는 std::unique_ptr과 같은 스마트 포인터와 함께 사용하도록 설계되었습니다.
QProtobufMessagePointer도 참조하십시오 .
멤버 함수 문서
[noexcept] void QProtobufMessageDeleter::operator()(QProtobufMessage *ptr) const
ptr 가 가리키는 메시지를 삭제합니다. 이 함수는 스마트 포인터와 함께 사용하도록 설계되었습니다.
QProtobufMessagePointer도 참조하십시오 .
© 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.