21 #ifndef POSET_STATE_HANDLE_IMPL_H 22 #define POSET_STATE_HANDLE_IMPL_H 24 #ifndef SHEAF_DLL_SPEC_H 25 #include "SheafSystem/sheaf_dll_spec.h" 28 #ifndef POSET_STATE_HANDLE_H 29 #include "SheafSystem/poset_state_handle.h" 32 #ifndef ASSERT_CONTRACT_H 33 #include "SheafSystem/assert_contract.h" 36 #ifndef INDEX_SPACE_ITERATOR_H 37 #include "SheafSystem/index_space_iterator.h" 44 template<
typename handle_type>
52 require(unexecutable(
"handle type conforms to state or is mutable"));
60 ensure(result.is_attached());
67 template<
typename handle_type>
91 template<
typename filter_type>
109 !xfilter(i.hub_pod()),
117 template<
typename filter_type>
135 !xfilter(i.hub_pod()),
143 #endif // ifndef POSET_STATE_HANDLE_IMPL_H void remove_cover_members(const filter_type &xfilter, bool xlower, pod_index_type xmbr_hub_id)
Removes all members for which functor xfilter(xmbr.index().hub_pod()) is true from the lower (xlower ...
index_space_handle & get_cover_id_space(bool xlower, pod_index_type xmbr_index) const
Allocates an handle for the lower (xlower true) or upper (xlower false) cover of member with index xm...
An abstract iterator over the ids of an id space.
index_space_iterator & get_cover_id_space_iterator(bool xlower, pod_index_type xmbr_hub_id) const
Allocates an iterator for the lower (xlower true) or upper (xlower false) cover id space of the membe...
index_space_handle & get_cover_id_space(bool xlower, pod_index_type xmbr_hub_id) const
Allocates a handle for the lower (xlower true) or upper (xlower false) cover id space of the member w...
void remove_cover_members(const filter_type &xfilter, bool xlower, pod_index_type xmbr_index)
Removes all members for which functor xfilter(xmbr.index().top_pod()) is true from the lower (xlower ...
bool is_done() const
True if iteration is finished.
An index within the external ("client") scope of a given id space.
virtual bool contains_member(pod_index_type xmbr_hub_id, bool xauto_access=true) const
True if some version of this poset contains poset member with hub id xmbr_hub_id. ...
poset_crg_state & crg() const
The cover relation graph.
int_type pod_index_type
The plain old data index type.
bool cover_id_space_handle_conforms_to(bool xlower, pod_index_type xmbr_index) const
True if a handle for the lower (xlower true) or upper (xlower false) cover id space of the member wit...
bool cover_id_space_handle_conforms_to(bool xlower, pod_index_type xmbr_index) const
True if a handle for the lower (xlower true) or upper (xlower false) cover id space of the member wit...
void release_cover_id_space_iterator(index_space_iterator &xcover_itr) const
Returns xcover_itr to the pool of id space iterators.
pod_type hub_pod() const
The pod value of this mapped to the unglued hub id space.