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

Public Functions

int id() const
bool isNull() const
bool operator bool() const
bool operator!=(QNodeId other) const
bool operator<(QNodeId other) const
bool operator==(QNodeId other) const
bool operator>(QNodeId other) const
int qHash(QNodeId id, int seed = 0)

Detailed Description

Member Function Documentation

int QNodeId::id() const

Returns

bool QNodeId::isNull() const

Returns

bool QNodeId::operator bool() const

Returns

bool QNodeId::operator!=(QNodeId other) const

Returns true if this != other.

bool QNodeId::operator<(QNodeId other) const

Returns true if this < other.

bool QNodeId::operator==(QNodeId other) const

Returns true if this == other.

bool QNodeId::operator>(QNodeId other) const

Returns true if this > other.

Related Non-Members

int qHash(QNodeId id, int seed = 0)

Returns hash of node with id and optional seed.