21 #ifndef INDEX_SPACE_INTERVAL_H 22 #define INDEX_SPACE_INTERVAL_H 24 #ifndef SHEAF_DLL_SPEC_H 25 #include "SheafSystem/sheaf_dll_spec.h" 29 #include "SheafSystem/factory.h" 32 #ifndef INDEX_SPACE_COLLECTION_H 33 #include "SheafSystem/index_space_collection.h" 66 pod_type begin()
const;
78 bool in_bounds(pod_type xspace_id)
const;
101 virtual bool supports_persistent_id_spaces()
const;
135 virtual bool contains(pod_type xlocal_id)
const;
140 virtual bool contains_family(pod_type xspace_id)
const;
145 virtual pod_type local_scope(pod_type xspace_id)
const;
150 virtual pod_type family_scope(pod_type xlocal_id)
const;
203 virtual const std::string& class_name()
const;
232 virtual bool is_ancestor_of(
const any *other)
const;
237 virtual bool invariant()
const;
259 #endif // ifndef INDEX_SPACE_INTERVAL_H index_space_interval(const index_space_interval &xother)
Copy constructor; disabled.
virtual pod_type end(pod_type xlocal_id) const =0
Ending id of the space with id xlocal_id.
index_space_family * _id_spaces
The index space family of this collection.
An abstract iterator over the id spaces of a interval.
Abstract base class with useful features for all objects.
An implemenation of index_space_collection that adds an interface for the interval [begin()...
pod_type _begin
Beginning space id of this interval in the id space family scope.
virtual pod_type begin(pod_type xlocal_id) const =0
Beginning id of the space with id xlocal_id.
A factory for instanting descendants of an abstract type T, given the class name of the descendant...
unsigned long size_type
An unsigned integral type used to represent sizes and capacities.
pod_type _end
Ending space id of this interval in the id space family scope.
A collection of id space states. This is a virtual class with provides an interface for accessing the...
virtual bool contains(pod_type xlocal_id) const =0
True if this collection contains the id space with local id xlocal_id.
An abstract iterator over the id spaces of a interval.
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.
SHEAF_DLL_SPEC std::ostream & operator<<(std::ostream &os, const dof_descriptor_array &p)
Insert dof_descriptor_array& p into ostream& os.
Namespace for the sheaves component of the sheaf system.
Factory and container for a family of id spaces.