Qt3DCore::QNodeId Class
class Qt3DCore::QNodeIdIdentifie de manière unique un QNode. En savoir plus...
| En-tête : | #include <Qt3DCore/QNodeId> |
| CMake : | find_package(Qt6 REQUIRED COMPONENTS 3DCore) target_link_libraries(mytarget PRIVATE Qt6::3DCore) |
| qmake : | QT += 3dcore |
| Statut : | Obsolète |
Cette classe est obsolète. Nous vous déconseillons fortement de l'utiliser dans du nouveau code.
Fonctions publiques
| 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 |
Membres publics statiques
| Qt3DCore::QNodeId | createId() |
Éléments non membres associés
| QNodeIdVector | |
| size_t | qHash(Qt3DCore::QNodeId id, size_t seed = 0) |
Documentation sur les fonctions membres
[static noexcept] Qt3DCore::QNodeId QNodeId::createId()
Renvoie l'identifiant du nœud.
[constexpr noexcept] quint64 QNodeId::id() const
Retours
[constexpr noexcept] bool QNodeId::isNull() const
Retours
[constexpr noexcept] QNodeId::operator bool() const
Retours
[constexpr noexcept] bool QNodeId::operator!=(Qt3DCore::QNodeId other) const
Renvoie « true » si « this » != « other ».
[constexpr noexcept] bool QNodeId::operator<(Qt3DCore::QNodeId other) const
Renvoie « true » si « this » < « other ».
[constexpr noexcept] bool QNodeId::operator==(Qt3DCore::QNodeId other) const
Renvoie « true » si « this » == « other ».
[constexpr noexcept] bool QNodeId::operator>(Qt3DCore::QNodeId other) const
Renvoie « true » si « this » > « other ».
Personnes concernées non membres
[alias] QNodeIdVector
Un vecteur d'QNodeId.
[constexpr noexcept] size_t qHash(Qt3DCore::QNodeId id, size_t seed = 0)
Renvoie le hachage du nœud, comprenant les éléments « id » et « seed » (facultatif).
© 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.