21 #include "SheafSystem/stl_scoped_index.h" 22 #include "SheafSystem/assert_contract.h" 24 using namespace sheaf;
44 result = (xindex1.
pod() < xindex2.
pod());
51 result == xindex1.
pod() < xindex2.
pod() :
67 bool result = (xindex1 == xindex2);
71 ensure(result == (xindex1 == xindex2));
93 bool result = (xindex1 <~ xindex2);
97 ensure(result == (xindex1 <~ xindex2));
115 bool result = (xindex1 ==~ xindex2);
119 ensure(result == (xindex1 ==~ xindex2));
const pod_type & pod() const
The "plain old data" storage of this; the value in the external id space.
static bool less_than(const scoped_index &xindex1, const scoped_index &xindex2)
True, if xindex1 is less than xindex2.
pod_type scope_id() const
The index of the scope id space.
bool is_scoped() const
True if and only if scope() is attached.
static bool equal(const scoped_index &xindex1, const scoped_index &xindex2)
True, if xindex1 is equal to xindex2.
An index within the external ("client") scope of a given id space.
static bool less_than(const scoped_index &xindex1, const scoped_index &xindex2)
True, if xindex1 is less than xindex2.
static bool equal(const scoped_index &xindex1, const scoped_index &xindex2)
True, if xindex1 is equal to xindex2.
Namespace for the sheaves component of the sheaf system.