OCCT-Light 0.1
C ABI and C++ veneer for multi-language CAD workflows
Loading...
Searching...
No Matches
occtl::RepId Class Reference

Identity of a representation (geometry / mesh data). Mirrors occtl_rep_id_t. More...

#include <topo.hpp>

Public Member Functions

 RepId (const ::occtl_rep_id_t theId) noexcept
 Wraps an existing C value type (zero-cost).
 
::occtl_rep_id_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 ID is not the all-zero sentinel.
 
bool operator== (const RepId &theOther) const noexcept
 Bitwise equality.
 
bool operator!= (const RepId &theOther) const noexcept
 Bitwise inequality.
 

Static Public Member Functions

static RepId invalid () noexcept
 Returns the invalid sentinel (all-zero bits).
 

Detailed Description

Identity of a representation (geometry / mesh data). Mirrors occtl_rep_id_t.

The all-zero value (OCCTL_REP_ID_INVALID) is the invalid sentinel.


The documentation for this class was generated from the following file: