Open CASCADE Technology Reference Manual 8.0.2
Loading...
Searching...
No Matches
BRepGraph_Cache::RefEntry Class Reference

Value base for reference-derived cache entries. More...

#include <BRepGraph_Cache.hxx>

Public Member Functions

void Reset () noexcept
 Reset to an unbound stale state.
bool BindOwnGen (const BRepGraph_Cache &theCache, const BRepGraph_RefId theRef) noexcept
 Bind this entry to the current OwnGen of a reference.
bool IsFreshOwn (const BRepGraph_Cache &theCache, const BRepGraph_RefId theRef) const noexcept
 Validate against the current OwnGen of the same reference.
bool IsFresh (const BRepGraph_Cache &theCache) const noexcept
 Validate against the reference captured at bind time.
bool IsBound () const noexcept
 True if the entry was successfully bound to a reference generation.
BRepGraph_RefId Ref () const noexcept
 Reference identity captured at bind time.

Detailed Description

Value base for reference-derived cache entries.

Member Function Documentation

◆ BindOwnGen()

bool BRepGraph_Cache::RefEntry::BindOwnGen ( const BRepGraph_Cache & theCache,
const BRepGraph_RefId theRef )
nodiscardnoexcept

Bind this entry to the current OwnGen of a reference.

Returns
false when the cache is detached or the reference is inactive

◆ IsBound()

bool BRepGraph_Cache::RefEntry::IsBound ( ) const
inlinenodiscardnoexcept

True if the entry was successfully bound to a reference generation.

◆ IsFresh()

bool BRepGraph_Cache::RefEntry::IsFresh ( const BRepGraph_Cache & theCache) const
nodiscardnoexcept

Validate against the reference captured at bind time.

◆ IsFreshOwn()

bool BRepGraph_Cache::RefEntry::IsFreshOwn ( const BRepGraph_Cache & theCache,
const BRepGraph_RefId theRef ) const
nodiscardnoexcept

Validate against the current OwnGen of the same reference.

◆ Ref()

BRepGraph_RefId BRepGraph_Cache::RefEntry::Ref ( ) const
inlinenodiscardnoexcept

Reference identity captured at bind time.

◆ Reset()

void BRepGraph_Cache::RefEntry::Reset ( )
noexcept

Reset to an unbound stale state.


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