QNodeId Class

class Qt3DCore::QNodeId

Uniquely identifies a QNode. More...

Header: #include <Qt3DCore/QNodeId>
CMake: find_package(Qt6 REQUIRED COMPONENTS 3dcore)
target_link_libraries(mytarget PRIVATE Qt6::3dcore)
qmake: QT += 3dcore
Since: Qt 5.7

Public Functions

quint64 id() const
bool isNull() const
bool 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

Static Public Members

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

Detailed Description

Member Function Documentation

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

Returns node id.

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

Returns

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

Returns

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

Returns

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

Returns true if this != other.

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

Returns true if this < other.

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

Returns true if this == other.

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

Returns true if this > other.

Related Non-Members

[alias] QNodeIdVector

A vector of QNodeIds.

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

Returns hash of node with id and optional seed.

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