QNodeId Class

class Qt3DCore ::QNodeId

唯一标识 QNode . 更多...

头: #include <Qt3DCore/QNodeId>
CMake: find_package(Qt6 COMPONENTS 3dcore REQUIRED)
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] Qt3DCore::QNodeId QNodeId:: createId ()

Returns node id.

quint64 QNodeId:: id () const

返回

bool QNodeId:: isNull () const

返回

bool QNodeId:: operator bool () const

返回

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

返回 true if this != other .

bool QNodeId:: operator< ( Qt3DCore::QNodeId other ) const

返回 true if this < other .

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

返回 true if this == other .

bool QNodeId:: operator> ( Qt3DCore::QNodeId other ) const

返回 true if this > other .

相关非成员

[alias] QNodeIdVector

A vector of QNodeId

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

Returns hash of node with id 和可选 seed .