SheafSystem
0.0.0.0
|
An iterator over the entries in an implicit_entry_map. This iteration is NOT order preserving. More...
#include <implicit_entry_map_iterator.h>
IMPLICIT_ENTRY_MAP_ITERATOR FACET | |
typedef implicit_entry_map< E, I >::pod_type | pod_type |
The "plain old data" index type for this. More... | |
implicit_entry_map_iterator (const implicit_entry_map< E, I > &xmap) | |
Creates an iterator for xmap. More... | |
~implicit_entry_map_iterator () | |
Destructor. More... | |
E & | item () |
The current value of the iteration (mutable version). More... | |
const E & | item () const |
The current value of the iteration (const version). More... | |
pod_type | id () const |
The current id of the value of the iteration. More... | |
void | next () |
Makes item() the next integer in the iteration. More... | |
bool | is_done () const |
True if iteration is finished. More... | |
void | reset () |
Restarts the iteration. More... | |
implicit_entry_map_iterator () | |
Default constructor; disabled. More... | |
implicit_entry_map_iterator (const implicit_entry_map_iterator< E, I > &xother) | |
Copy constructor. More... | |
ANY FACET | |
virtual bool | is_ancestor_of (const any *other) const |
Conformance test; true if other conforms to this. More... | |
virtual implicit_entry_map_iterator * | clone () const |
Virtual constructor, makes a new instance of the same type as this. More... | |
implicit_entry_map_iterator & | operator= (const implicit_entry_map_iterator &xother) |
Assignment operator. More... | |
virtual bool | invariant () const |
Class invariant. More... | |
Additional Inherited Members | |
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::any | |
any () | |
default constructor More... | |
An iterator over the entries in an implicit_entry_map. This iteration is NOT order preserving.
Definition at line 47 of file implicit_entry_map.h.
typedef implicit_entry_map<E, I>::pod_type sheaf::implicit_entry_map_iterator< E, I >::pod_type |
The "plain old data" index type for this.
Definition at line 57 of file implicit_entry_map_iterator.h.
sheaf::implicit_entry_map_iterator< E, I >::implicit_entry_map_iterator | ( | const implicit_entry_map< E, I > & | xmap | ) |
Creates an iterator for xmap.
Definition at line 51 of file implicit_entry_map_iterator.impl.h.
References sheaf::implicit_entry_map_iterator< E, I >::~implicit_entry_map_iterator().
sheaf::implicit_entry_map_iterator< E, I >::~implicit_entry_map_iterator | ( | ) |
Destructor.
Definition at line 69 of file implicit_entry_map_iterator.impl.h.
References sheaf::implicit_entry_map_iterator< E, I >::item().
Referenced by sheaf::implicit_entry_map_iterator< E, I >::implicit_entry_map_iterator().
|
inlineprotected |
Default constructor; disabled.
Definition at line 104 of file implicit_entry_map_iterator.h.
Referenced by sheaf::implicit_entry_map_iterator< E, I >::reset().
|
protected |
Copy constructor.
Definition at line 330 of file implicit_entry_map_iterator.impl.h.
References sheaf::implicit_entry_map_iterator< E, I >::is_ancestor_of().
|
virtual |
Virtual constructor, makes a new instance of the same type as this.
Reimplemented from sheaf::any.
Definition at line 377 of file implicit_entry_map_iterator.impl.h.
References sheaf::implicit_entry_map_iterator< E, I >::operator=().
Referenced by sheaf::implicit_entry_map_iterator< E, I >::is_ancestor_of().
implicit_entry_map_iterator< E, I >::pod_type sheaf::implicit_entry_map_iterator< E, I >::id | ( | ) | const |
The current id of the value of the iteration.
Definition at line 143 of file implicit_entry_map_iterator.impl.h.
References sheaf::implicit_entry_map_iterator< E, I >::next().
Referenced by sheaf::implicit_entry_map_iterator< E, I >::item().
|
virtual |
Class invariant.
Reimplemented from sheaf::any.
Definition at line 423 of file implicit_entry_map_iterator.impl.h.
References sheaf::any::invariant().
Referenced by sheaf::implicit_entry_map_iterator< E, I >::operator=().
|
virtual |
Conformance test; true if other conforms to this.
Reimplemented from sheaf::any.
Definition at line 357 of file implicit_entry_map_iterator.impl.h.
References sheaf::implicit_entry_map_iterator< E, I >::clone().
Referenced by sheaf::implicit_entry_map_iterator< E, I >::implicit_entry_map_iterator().
bool sheaf::implicit_entry_map_iterator< E, I >::is_done | ( | ) | const |
True if iteration is finished.
Definition at line 285 of file implicit_entry_map_iterator.impl.h.
References sheaf::is_valid(), and sheaf::implicit_entry_map_iterator< E, I >::reset().
Referenced by sheaf::implicit_entry_map_iterator< E, I >::next().
E & sheaf::implicit_entry_map_iterator< E, I >::item | ( | ) |
The current value of the iteration (mutable version).
Definition at line 87 of file implicit_entry_map_iterator.impl.h.
Referenced by sheaf::implicit_entry_map_iterator< E, I >::~implicit_entry_map_iterator().
const E & sheaf::implicit_entry_map_iterator< E, I >::item | ( | ) | const |
The current value of the iteration (const version).
Definition at line 115 of file implicit_entry_map_iterator.impl.h.
References sheaf::implicit_entry_map_iterator< E, I >::id().
void sheaf::implicit_entry_map_iterator< E, I >::next | ( | ) |
Makes item() the next integer in the iteration.
Definition at line 163 of file implicit_entry_map_iterator.impl.h.
References sheaf::invalid_pod_index(), sheaf::implicit_entry_map_iterator< E, I >::is_done(), and sheaf::is_valid().
Referenced by sheaf::implicit_entry_map_iterator< E, I >::id().
implicit_entry_map_iterator< E, I > & sheaf::implicit_entry_map_iterator< E, I >::operator= | ( | const implicit_entry_map_iterator< E, I > & | xother | ) |
Assignment operator.
Definition at line 398 of file implicit_entry_map_iterator.impl.h.
References sheaf::implicit_entry_map_iterator< E, I >::invariant().
Referenced by sheaf::implicit_entry_map_iterator< E, I >::clone().
void sheaf::implicit_entry_map_iterator< E, I >::reset | ( | ) |
Restarts the iteration.
Definition at line 303 of file implicit_entry_map_iterator.impl.h.
References sheaf::implicit_entry_map_iterator< E, I >::implicit_entry_map_iterator(), and sheaf::invalid_pod_index().
Referenced by sheaf::implicit_entry_map_iterator< E, I >::is_done().