Nesta página

QProtobufMessageDeleter Struct

Chama o destrutor da classe filha de um ` QProtobufMessage`. Mais...

Cabeçalho: #include <QProtobufMessageDeleter>
CMake: find_package(Qt6 REQUIRED COMPONENTS Protobuf)
target_link_libraries(mytarget PRIVATE Qt6::Protobuf)
Desde: Qt 6.5

Funções públicas

void operator()(QProtobufMessage *ptr) const

Descrição detalhada

Esta classe chama o destrutor de uma mensagem protobuf utilizando o sistema de metatipos. Ela se destina a ser usada com ponteiros inteligentes, como o std::unique_ptr.

Veja também QProtobufMessagePointer.

Documentação das funções-membro

[noexcept] void QProtobufMessageDeleter::operator()(QProtobufMessage *ptr) const

Destrói a mensagem apontada por ` ptr`. Esta função destina-se ao uso com ponteiros inteligentes.

Veja também 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.