QNodeId Class

class Qt3DCore ::QNodeId

唯一标识 QNode . 更多...

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

公共函数

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

静态公共成员

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

详细描述

成员函数文档编制

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

Returns node id.

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

返回

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

返回

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

返回

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

返回 true if this != other .

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

返回 true if this < other .

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

返回 true if this == other .

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

返回 true if this > other .

相关非成员

[alias] QNodeIdVector

A vector of QNodeId

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

Returns hash of node with id 和可选 seed .