|
OCCT-Light 0.1
C ABI and C++ veneer for multi-language CAD workflows
|
Persistent identity surviving node removal and graph compaction. Mirrors occtl_uid_t.
More...
#include <uid.hpp>
Public Member Functions | |
| UID (const ::occtl_uid_t theUid) noexcept | |
| Wraps an existing C value type (zero-cost). | |
| ::occtl_uid_t | get () const noexcept |
| Borrows-it view of the underlying C value type, for direct ABI calls. | |
| bool | is_valid () const noexcept |
| True when the UID is not the all-zero sentinel. | |
| bool | operator== (const UID &theOther) const noexcept |
| Bitwise equality. | |
| bool | operator!= (const UID &theOther) const noexcept |
| Bitwise inequality. | |
Static Public Member Functions | |
| static UID | invalid () noexcept |
| Returns the invalid sentinel (all-zero bits). | |
Persistent identity surviving node removal and graph compaction. Mirrors occtl_uid_t.
Use occtl::Graph::node_id_from_uid to resolve back to a NodeId. The all-zero value (OCCTL_UID_INVALID) is the invalid sentinel.