21 #ifndef HASH_INDEX_SPACE_ITERATOR_H 22 #define HASH_INDEX_SPACE_ITERATOR_H 24 #ifndef SHEAF_DLL_SPEC_H 25 #include "SheafSystem/sheaf_dll_spec.h" 28 #ifndef EXPLICIT_INDEX_SPACE_ITERATOR_H 29 #include "SheafSystem/explicit_index_space_iterator.h" 32 #ifndef STD_UNORDERED_MAP_H 33 #include "SheafSystem/std_unordered_map.h" 75 const std::string& xname);
92 typedef unordered::unordered_map<pod_type, pod_type>
to_hub_type;
102 to_hub_type::const_iterator
_itr;
167 virtual void reset();
216 virtual bool is_ancestor_of(
const any *other)
const;
221 virtual bool invariant()
const;
238 #endif // ifndef HASH_INDEX_SPACE_ITERATOR_H virtual void attach_to(pod_type xindex)
Attach to the state with index xindex in the id space family id_spaces().
An abstract iterator over the ids of an id space.
unordered::unordered_map< pod_type, pod_type > to_hub_type
The type of hub id map.
to_hub_type::const_iterator _itr
The stl iterator over ids.
Abstract base class with useful features for all objects.
An immutable abstract state for a space of alternate integer identifiers (aliases) for a subset of th...
virtual bool conforms_to_state(const index_space_collection &xhost, pod_type xlocal_id) const
True if this conforms to the handle type required by the state with local scope id xlocal_id in the h...
An hash map implementation of class scattered_insertion_index_space_state. This representation is int...
bool operator==(const singly_linked_list< T, Alloc > &lhs, const singly_linked_list< T, Alloc > &rhs)
Checks if the contents of lhs and rhs are equal, that is, whether lhs.size() == rhs.size() and each element in lhs compares equal with the element in rhs at the same position.
An implementation of class index_space_iterator for an explicit_index_space_state.
Namespace for the sheaves component of the sheaf system.
An iterator over an id space in which the equivalence between the ids in the space and the hub id spa...
Factory and container for a family of id spaces.
pod_index_type pod_type
The "plain old data" index type for this.
const to_hub_type * _to_hub
The hash to hub ids.