SheafSystem
0.0.0.0
|
An implementation of implicit_index_space_iterator for an implicit id space in an ij_connectivity_index_space_interval. More...
#include <ij_connectivity_implicit_index_space_iterator.h>
Friends | |
class | ij_connectivity_implicit_index_space_interval |
IJ_CONNECTIVITY_IMPLICIT_INDEX_SPACE_ITERATOR FACET | |
pod_type | _hub_begin |
The hub id of vertex (i, j). More... | |
size_type | _j_vertex_size |
The number of vertices in the j direction. More... | |
ij_connectivity_implicit_index_space_iterator () | |
Default constructor. More... | |
ij_connectivity_implicit_index_space_iterator (const ij_connectivity_implicit_index_space_iterator &xother) | |
Copy constructor. More... | |
ij_connectivity_implicit_index_space_iterator (const index_space_family &xid_spaces, pod_type xindex) | |
Constructor: Attach to state with index xindex in the family xid_spaces. More... | |
ij_connectivity_implicit_index_space_iterator (const index_space_family &xid_spaces, const std::string &xname) | |
Constructor: Attach to state with name xname in the family xid_spaces. More... | |
ij_connectivity_implicit_index_space_iterator & | operator= (const ij_connectivity_implicit_index_space_iterator &xother) |
Assignment operator. More... | |
virtual | ~ij_connectivity_implicit_index_space_iterator () |
Destructor. More... | |
pod_type | hub_begin () const |
The hub id of vertex (i, j). More... | |
size_type | j_vertex_size () const |
The number of vertices in the j direction. More... | |
INDEX_SPACE_ITERATOR FACET | |
virtual ij_connectivity_implicit_index_space_iterator & | operator= (const index_space_iterator &xother) |
Assignment operator. More... | |
virtual bool | operator== (const index_space_iterator &xother) const |
True if this is equivalent to xother. More... | |
virtual ij_connectivity_implicit_index_space_iterator * | clone () const |
Virtual constructor, makes a new instance of the same type as this. If the iterator is attached, attach to the same state. More... | |
ITERATOR FACET | |
virtual void | next () |
Makes item() the next id in the iteration. More... | |
virtual void | reset () |
Restarts the iteration. More... | |
HANDLE FACET | |
virtual void | attach_to (const index_space_collection &xhost, pod_type xlocal_id) |
Attach to the state with local scope id, xlocal_id in the host id space collection xhost. More... | |
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 host id space collection xhost. More... | |
ANY FACET | |
virtual bool | is_ancestor_of (const any *other) const |
Conformance test; true if other conforms to this. More... | |
virtual bool | invariant () const |
Class invariant. More... | |
Additional Inherited Members | |
Public Types inherited from sheaf::index_space_iterator | |
typedef pod_index_type | pod_type |
The "plain old data" index type for this. More... | |
Public Member Functions inherited from sheaf::implicit_index_space_iterator | |
virtual | ~implicit_index_space_iterator () |
Destructor. More... | |
virtual const index_space_collection & | host () const |
The host collection. More... | |
virtual pod_type | index () const |
Index of this space. More... | |
virtual bool | is_attached () const |
True if this iterator is attached to a state. More... | |
virtual void | attach_to (pod_type xindex) |
Attach to the state with index xindex in the id space family id_spaces(). More... | |
virtual void | detach () |
Detach this iterator form its state, if any. More... | |
Public Member Functions inherited from sheaf::index_space_iterator | |
virtual | ~index_space_iterator () |
Destructor. More... | |
bool | is_done () const |
True if iteration is finished. More... | |
void | force_is_done () |
Makes is_done() true. More... | |
pod_type | pod () const |
The current id in the iteration. More... | |
pod_type | hub_pod () const |
The current unglued hub id in the iteration. synonym for unglued_hub_pod(). More... | |
pod_type | unglued_hub_pod () const |
The current unglued hub id in the iteration. More... | |
pod_type | glued_hub_pod () const |
The current glued hub id in the iteration. More... | |
const index_space_family & | id_spaces () const |
The id space family for this (const version). More... | |
const hub_index_space_handle & | hub_id_space () const |
The hub id space. More... | |
std::string | name () const |
Name of this space. More... | |
void | attach_to (const index_space_family &xid_spaces, pod_type xindex) |
Attach to the state with index xindex in the id space family xid_spaces. More... | |
void | attach_to (const index_space_family &xid_spaces, const std::string &xname) |
Attach to the state with name xname in the id space family xid_spaces. More... | |
void | attach_to (const std::string &xname) |
Attach to the state with name xname in the id space family id_spaces(). More... | |
void | attach_to (const index_space_handle &xid_space) |
Attach to the state of the id space xid_space. More... | |
bool | conforms_to_state (const index_space_family &xid_spaces, pod_type xindex) const |
True if this conforms to the handle type required by the state with index xindex in the id space family, xid_spaces. More... | |
bool | conforms_to_state (const index_space_family &xid_spaces, const std::string &xname) const |
True if this conforms to the handle type required by the state with name xname in the id space family, xid_spaces. More... | |
bool | conforms_to_state (pod_type xid) const |
True if this conforms to the handle type required by the state with id xid. More... | |
bool | conforms_to_state (const std::string &xname) const |
True if this conforms to the handle type required by the state with name xname. More... | |
Public Member Functions inherited from sheaf::any | |
bool | is_same_type (const any *other) const |
True if other is the same type as this. More... | |
virtual | ~any () |
Destructor. More... | |
bool | invariant_check () const |
True if invariant checking is enabled. More... | |
void | enable_invariant_check () const |
Enable invariant checking. More... | |
void | disable_invariant_check () const |
Disable invariant check. Intended for preventing recursive calls to invariant and for suppressing invariant checking during multi-phase initialization. More... | |
int | disable_invariance_check_request_depth () const |
Number of times disable_invariant_check has been called without matching call to enable_invariant_check. More... | |
Protected Member Functions inherited from sheaf::implicit_index_space_iterator | |
implicit_index_space_iterator () | |
Default constructor. More... | |
implicit_index_space_iterator (const implicit_index_space_iterator &xother) | |
Copy constructor. More... | |
implicit_index_space_iterator & | operator= (const implicit_index_space_iterator &xother) |
Assignment operator. More... | |
Protected Member Functions inherited from sheaf::index_space_iterator | |
index_space_iterator () | |
Creates an iterator for the id space. More... | |
index_space_iterator (const index_space_iterator &xother) | |
Copy constructor. More... | |
void | invalidate_ids () |
Set is_done() and invalidate pod() and hub_pod(). More... | |
Protected Member Functions inherited from sheaf::any | |
any () | |
default constructor More... | |
Protected Attributes inherited from sheaf::implicit_index_space_iterator | |
const index_space_collection * | _host |
The host collection. More... | |
pod_type | _local_id |
The id of this space in the local host id space. More... | |
Protected Attributes inherited from sheaf::index_space_iterator | |
bool | _is_done |
True if the iteration is finished. More... | |
pod_type | _pod |
The current id in the iteration. More... | |
pod_type | _hub_pod |
The current hub id in the iteration. More... | |
An implementation of implicit_index_space_iterator for an implicit id space in an ij_connectivity_index_space_interval.
Definition at line 45 of file ij_connectivity_implicit_index_space_iterator.h.
fiber_bundle::ij_connectivity_implicit_index_space_iterator::ij_connectivity_implicit_index_space_iterator | ( | ) |
Default constructor.
Definition at line 36 of file ij_connectivity_implicit_index_space_iterator.cc.
Referenced by ij_connectivity_implicit_index_space_iterator().
fiber_bundle::ij_connectivity_implicit_index_space_iterator::ij_connectivity_implicit_index_space_iterator | ( | const ij_connectivity_implicit_index_space_iterator & | xother | ) |
Copy constructor.
Definition at line 53 of file ij_connectivity_implicit_index_space_iterator.cc.
References ij_connectivity_implicit_index_space_iterator().
fiber_bundle::ij_connectivity_implicit_index_space_iterator::ij_connectivity_implicit_index_space_iterator | ( | const index_space_family & | xid_spaces, |
pod_type | xindex | ||
) |
Constructor: Attach to state with index xindex in the family xid_spaces.
Definition at line 72 of file ij_connectivity_implicit_index_space_iterator.cc.
References ij_connectivity_implicit_index_space_iterator().
fiber_bundle::ij_connectivity_implicit_index_space_iterator::ij_connectivity_implicit_index_space_iterator | ( | const index_space_family & | xid_spaces, |
const std::string & | xname | ||
) |
Constructor: Attach to state with name xname in the family xid_spaces.
Definition at line 96 of file ij_connectivity_implicit_index_space_iterator.cc.
References operator=().
|
virtual |
Destructor.
Definition at line 150 of file ij_connectivity_implicit_index_space_iterator.cc.
References hub_begin().
Referenced by operator=().
|
virtual |
Attach to the state with local scope id, xlocal_id in the host id space collection xhost.
Implements sheaf::index_space_iterator.
Definition at line 410 of file ij_connectivity_implicit_index_space_iterator.cc.
References conforms_to_state(), sheaf::index_space_collection::contains(), sheaf::index_space_collection::family_scope(), fiber_bundle::ij_connectivity_index_space_interval::j_vertex_size(), and fiber_bundle::ij_connectivity_index_space_interval::vertex_hub_begin().
Referenced by reset().
|
virtual |
Virtual constructor, makes a new instance of the same type as this. If the iterator is attached, attach to the same state.
Implements sheaf::implicit_index_space_iterator.
Definition at line 277 of file ij_connectivity_implicit_index_space_iterator.cc.
References next().
Referenced by operator==().
|
virtual |
True if this conforms to the handle type required by the state with local scope id xlocal_id in the host id space collection xhost.
Implements sheaf::index_space_iterator.
Definition at line 450 of file ij_connectivity_implicit_index_space_iterator.cc.
References is_ancestor_of().
Referenced by attach_to().
fiber_bundle::ij_connectivity_implicit_index_space_iterator::pod_type fiber_bundle::ij_connectivity_implicit_index_space_iterator::hub_begin | ( | ) | const |
The hub id of vertex (i, j).
Definition at line 167 of file ij_connectivity_implicit_index_space_iterator.cc.
References j_vertex_size().
Referenced by ~ij_connectivity_implicit_index_space_iterator().
|
virtual |
Class invariant.
Reimplemented from sheaf::implicit_index_space_iterator.
Definition at line 502 of file ij_connectivity_implicit_index_space_iterator.cc.
References sheaf::implicit_index_space_iterator::invariant().
Referenced by is_ancestor_of().
|
virtual |
Conformance test; true if other conforms to this.
Reimplemented from sheaf::implicit_index_space_iterator.
Definition at line 481 of file ij_connectivity_implicit_index_space_iterator.cc.
References invariant().
Referenced by conforms_to_state().
sheaf::size_type fiber_bundle::ij_connectivity_implicit_index_space_iterator::j_vertex_size | ( | ) | const |
The number of vertices in the j direction.
Definition at line 184 of file ij_connectivity_implicit_index_space_iterator.cc.
References operator=().
Referenced by hub_begin().
|
virtual |
Makes item() the next id in the iteration.
Implements sheaf::index_space_iterator.
Definition at line 311 of file ij_connectivity_implicit_index_space_iterator.cc.
References reset().
Referenced by clone().
fiber_bundle::ij_connectivity_implicit_index_space_iterator & fiber_bundle::ij_connectivity_implicit_index_space_iterator::operator= | ( | const ij_connectivity_implicit_index_space_iterator & | xother | ) |
Assignment operator.
Definition at line 121 of file ij_connectivity_implicit_index_space_iterator.cc.
References _hub_begin, _j_vertex_size, sheaf::implicit_index_space_iterator::is_attached(), and ~ij_connectivity_implicit_index_space_iterator().
Referenced by ij_connectivity_implicit_index_space_iterator(), and j_vertex_size().
|
virtual |
Assignment operator.
Reimplemented from sheaf::implicit_index_space_iterator.
Definition at line 223 of file ij_connectivity_implicit_index_space_iterator.cc.
References operator==().
|
virtual |
True if this is equivalent to xother.
Reimplemented from sheaf::implicit_index_space_iterator.
Definition at line 248 of file ij_connectivity_implicit_index_space_iterator.cc.
References _hub_begin, _j_vertex_size, clone(), and sheaf::implicit_index_space_iterator::operator==().
Referenced by operator=().
|
virtual |
Restarts the iteration.
Implements sheaf::index_space_iterator.
Definition at line 373 of file ij_connectivity_implicit_index_space_iterator.cc.
References attach_to().
Referenced by next().
|
protected |
The hub id of vertex (i, j).
Definition at line 104 of file ij_connectivity_implicit_index_space_iterator.h.
Referenced by operator=(), and operator==().
|
protected |
The number of vertices in the j direction.
Definition at line 109 of file ij_connectivity_implicit_index_space_iterator.h.
Referenced by operator=(), and operator==().