Nesta página

Qt3DCore::QNodeId Class

class Qt3DCore::QNodeId

Identifica de forma exclusiva um QNode. Mais...

Cabeçalho: #include <Qt3DCore/QNodeId>
CMake: find_package(Qt6 REQUIRED COMPONENTS 3DCore)
target_link_libraries(mytarget PRIVATE Qt6::3DCore)
qmake: QT += 3dcore
Status: Obsoleta

Esta classe está obsoleta. Recomendamos enfaticamente que não seja usada em código novo.

Funções públicas

quint64 id() const
bool isNull() const
operator bool() const
bool operator!=(Qt3DCore::QNodeId other) const
bool operator<(Qt3DCore::QNodeId other) const
bool operator==(Qt3DCore::QNodeId other) const
bool operator>(Qt3DCore::QNodeId other) const

Membros públicos estáticos

Qt3DCore::QNodeId createId()
QNodeIdVector
size_t qHash(Qt3DCore::QNodeId id, size_t seed = 0)

Descrição detalhada

Documentação das funções de membro

[static noexcept] Qt3DCore::QNodeId QNodeId::createId()

Retorna o ID do nó.

[constexpr noexcept] quint64 QNodeId::id() const

Devoluções

[constexpr noexcept] bool QNodeId::isNull() const

Devoluções

[constexpr noexcept] QNodeId::operator bool() const

Devoluções

[constexpr noexcept] bool QNodeId::operator!=(Qt3DCore::QNodeId other) const

Retorna ` true ` se ` this ` != ` other`.

[constexpr noexcept] bool QNodeId::operator<(Qt3DCore::QNodeId other) const

Retorna ` true ` se ` this ` for menor que ` other`.

[constexpr noexcept] bool QNodeId::operator==(Qt3DCore::QNodeId other) const

Retorna ` true ` se ` this ` == ` other`.

[constexpr noexcept] bool QNodeId::operator>(Qt3DCore::QNodeId other) const

Retorna ` true ` se ` this ` > ` other`.

Não-membros relacionados

[alias] QNodeIdVector

Um vetor de QNodeIds.

[constexpr noexcept] size_t qHash(Qt3DCore::QNodeId id, size_t seed = 0)

Retorna um hash do nó com ` id ` e, opcionalmente, ` seed`.

© 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.