Auf dieser Seite

Qt3DCore::QNodeId Class

class Qt3DCore::QNodeId

Identifiziert eine „ QNode “ eindeutig. Mehr...

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

Diese Klasse ist veraltet. Wir raten dringend davon ab, sie in neuem Code zu verwenden.

Öffentliche Funktionen

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

Statische öffentliche Mitglieder

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

Ausführliche Beschreibung

Dokumentation zu Mitgliedsfunktionen

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

Gibt die Knoten-ID zurück.

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

Rücksendungen

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

Rücksendungen

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

Rücksendungen

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

Gibt „ true “ zurück, wenn „ this “ != „ other “ ist.

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

Gibt „ true “ zurück, wenn „ this “ < „ other “ ist.

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

Gibt „ true “ zurück, wenn „ this “ == „ other “ ist.

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

Gibt „ true “ zurück, wenn „ this “ > „ other “ ist.

Verwandte Nichtmitglieder

[alias] QNodeIdVector

Ein Vektor von QNodeIds.

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

Gibt einen Hash des Knotens mit „ id “ und optional „ seed “ zurück.

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