Durable BRepGraph item identity covering definition nodes and reference entries.
More...
#include <BRepGraph_ItemUID.hxx>
|
| | BRepGraph_ItemUID ()=default |
| | Construct an invalid UID.
|
| bool | IsValid () const noexcept |
| | Return true if this UID has a non-sentinel counter and a valid domain/kind pair.
|
| Domain | ItemDomain () const noexcept |
| | Return the addressed identity domain.
|
| bool | IsNode () const noexcept |
| bool | IsReference () const noexcept |
| BRepGraph_NodeId::Kind | NodeKind () const noexcept |
| | Return node kind. Valid only for node UIDs.
|
| BRepGraph_RefId::Kind | RefKind () const noexcept |
| | Return reference kind. Valid only for reference UIDs.
|
| uint8_t | RawKind () const noexcept |
| | Return item kind encoded in its own domain enum space.
|
| size_t | Counter () const noexcept |
| | Return the graph-wide monotonic UID counter.
|
| size_t | HashValue () const noexcept |
| | Compute a hash value compatible with operator==.
|
Durable BRepGraph item identity covering definition nodes and reference entries.
BRepGraph_ItemId is a transient structural address. BRepGraph_ItemUID is the persistent identity assigned at item creation and kept stable across compaction and vector reordering. Representation/use records are not addressed here because they do not have persisted identity.
◆ Domain
Addressed persistent identity domain.
| Enumerator |
|---|
| None | |
| Node | |
| Reference | |
◆ BRepGraph_ItemUID()
| BRepGraph_ItemUID::BRepGraph_ItemUID |
( |
| ) |
|
|
default |
Construct an invalid UID.
◆ Counter()
| size_t BRepGraph_ItemUID::Counter |
( |
| ) |
const |
|
inlinenodiscardnoexcept |
Return the graph-wide monotonic UID counter.
◆ HashValue()
| size_t BRepGraph_ItemUID::HashValue |
( |
| ) |
const |
|
inlinenodiscardnoexcept |
Compute a hash value compatible with operator==.
◆ Invalid()
Return an invalid sentinel UID.
◆ IsNode()
| bool BRepGraph_ItemUID::IsNode |
( |
| ) |
const |
|
inlinenodiscardnoexcept |
◆ IsReference()
| bool BRepGraph_ItemUID::IsReference |
( |
| ) |
const |
|
inlinenodiscardnoexcept |
◆ IsValid()
| bool BRepGraph_ItemUID::IsValid |
( |
| ) |
const |
|
inlinenodiscardnoexcept |
Return true if this UID has a non-sentinel counter and a valid domain/kind pair.
◆ ItemDomain()
| Domain BRepGraph_ItemUID::ItemDomain |
( |
| ) |
const |
|
inlinenodiscardnoexcept |
Return the addressed identity domain.
◆ Node()
◆ NodeKind()
Return node kind. Valid only for node UIDs.
◆ RawKind()
| uint8_t BRepGraph_ItemUID::RawKind |
( |
| ) |
const |
|
inlinenodiscardnoexcept |
Return item kind encoded in its own domain enum space.
◆ Reference()
Construct a reference UID.
◆ RefKind()
Return reference kind. Valid only for reference UIDs.
The documentation for this class was generated from the following file: