![]() |
Open CASCADE Technology Reference Manual 8.0.2
|
Compile-time typed wrapper around BRepGraph_RepId. More...
#include <BRepGraphInc_RepId.hxx>
Public Member Functions | |
| Typed () | |
| Default: invalid. | |
| Typed (const uint32_t theIdx) | |
| Construct from index. | |
| bool | IsValid () const |
| True if this id points to an allocated slot. | |
| bool | IsValid (const uint32_t theMaxCount) const |
| True if this id is within [0, theMaxCount). | |
| operator BRepGraph_RepId () const | |
| Implicit conversion to untyped RepId. | |
| bool | IsRemoved (const BRepGraph &theGraph) const |
| Return true if this use entry has been soft-removed in the given graph. | |
| Typed & | operator++ () |
| Pre-increment. | |
| Typed | operator++ (int) |
| Post-increment. | |
| bool | operator== (const Typed &theOther) const |
| bool | operator!= (const Typed &theOther) const |
| bool | operator< (const Typed &theOther) const |
| bool | operator<= (const Typed &theOther) const |
| bool | operator> (const Typed &theOther) const |
| bool | operator>= (const Typed &theOther) const |
Static Public Member Functions | |
| static Typed | Start () |
| First valid id in a dense sequence. | |
| static Typed | Invalid () |
| Invalid sentinel id. | |
Data Fields | |
| uint32_t | Index |
Static Public Attributes | |
| static constexpr uint32_t | THE_START_INDEX = 0u |
| static constexpr uint32_t | THE_INVALID_INDEX = std::numeric_limits<uint32_t>::max() |
Compile-time typed wrapper around BRepGraph_RepId.
|
inline |
Default: invalid.
|
inlineexplicit |
Construct from index.
|
inlinestaticnodiscard |
Invalid sentinel id.
|
inlinenodiscard |
Return true if this use entry has been soft-removed in the given graph.
|
inlinenodiscard |
True if this id points to an allocated slot.
|
inlinenodiscard |
True if this id is within [0, theMaxCount).
|
inline |
Implicit conversion to untyped RepId.
|
inline |
|
inline |
Pre-increment.
|
inline |
Post-increment.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestaticnodiscard |
First valid id in a dense sequence.
| uint32_t BRepGraph_RepId::Typed< TheKind >::Index |
|
staticconstexpr |
|
staticconstexpr |