CASM
AClustersApproachtoStatisticalMechanics
|
#include <RandomAccessEnumerator.hh>
RandomAccessEnumIterator implemenation.
Definition at line 31 of file RandomAccessEnumerator.hh.
Public Types | |
typedef step_type | difference_type |
typedef ValueType | value_type |
typedef ValEnumerator < ValueType, IsConst > ::reference | reference |
typedef EnumeratorBase::step_type | step_type |
Public Member Functions | |
RandomAccessEnumIteratorBase () | |
RandomAccessEnumIteratorBase (RandomAccessEnumeratorBase< ValueType, IsConst > &enumerator, bool is_end) | |
step_type | step () const override |
bool | is_end () const override |
std::unique_ptr < RandomAccessEnumIteratorBase > | clone () const |
jsonParser | source () const |
std::string | name () const |
Uses enumerator class 'name' implementation. More... | |
Protected Member Functions | |
bool | _constructed_as_end () const |
void | _assert_same_ptr (const EnumIteratorBase &other) const |
void | _assert_ptr () const |
void | _assert_valid () const |
bool | equal (const EnumIteratorBase &other) const |
boost::iterator_facade implementation More... | |
EnumeratorBase * | _enum_ptr () |
EnumeratorBase * | _enum_ptr () const |
Private Member Functions | |
reference | dereference () const override |
boost::iterator_facade implementation More... | |
void | increment () override |
boost::iterator_facade implementation More... | |
void | decrement () |
boost::iterator_facade implementation More... | |
void | advance (step_type n) |
boost::iterator_facade implementation More... | |
difference_type | distance_to (const RandomAccessEnumIteratorBase &B) const |
boost::iterator_facade implementation More... | |
RandomAccessEnumIteratorBase < ValueType, IsConst > * | _clone () const override |
clone implementation More... | |
RandomAccessEnumeratorBase < ValueType, IsConst > & | _enum () |
static_cast enumerator pointer to RandomAccessEnumeratorBase& More... | |
RandomAccessEnumeratorBase < ValueType, IsConst > & | _enum () const |
static_cast enumerator pointer to RandomAccessEnumeratorBase& More... | |
Private Attributes | |
friend | RandomAccessEnumIterator< ValueType, IsConst > |
step_type | m_it_step |
typedef step_type CASM::RandomAccessEnumIteratorBase< ValueType, IsConst >::difference_type |
Definition at line 40 of file RandomAccessEnumerator.hh.
|
inherited |
Definition at line 362 of file Enumerator.hh.
|
inherited |
Definition at line 259 of file Enumerator.hh.
|
inherited |
Definition at line 361 of file Enumerator.hh.
|
inline |
Definition at line 43 of file RandomAccessEnumerator.hh.
|
inline |
Definition at line 45 of file RandomAccessEnumerator.hh.
|
inlineprotectedinherited |
Definition at line 303 of file Enumerator.hh.
|
inlineprotectedinherited |
Definition at line 298 of file Enumerator.hh.
|
inlineprotectedinherited |
Definition at line 307 of file Enumerator.hh.
|
inlineoverrideprivatevirtual |
clone implementation
Reimplemented from CASM::InputEnumIteratorBase< ValueType, IsConst >.
Definition at line 115 of file RandomAccessEnumerator.hh.
|
inlineprotectedinherited |
Definition at line 68 of file InputEnumerator.hh.
|
inlineprivate |
static_cast enumerator pointer to RandomAccessEnumeratorBase&
Definition at line 120 of file RandomAccessEnumerator.hh.
|
inlineprivate |
static_cast enumerator pointer to RandomAccessEnumeratorBase&
Definition at line 125 of file RandomAccessEnumerator.hh.
|
inlineprotectedinherited |
Definition at line 330 of file Enumerator.hh.
|
inlineprotectedinherited |
Definition at line 334 of file Enumerator.hh.
|
inlineprivate |
boost::iterator_facade implementation
Definition at line 105 of file RandomAccessEnumerator.hh.
|
inline |
Definition at line 77 of file RandomAccessEnumerator.hh.
|
inlineprivate |
boost::iterator_facade implementation
Definition at line 100 of file RandomAccessEnumerator.hh.
|
inlineoverrideprivatevirtual |
boost::iterator_facade implementation
Reimplemented from CASM::InputEnumIteratorBase< ValueType, IsConst >.
Definition at line 89 of file RandomAccessEnumerator.hh.
|
inlineprivate |
boost::iterator_facade implementation
Definition at line 110 of file RandomAccessEnumerator.hh.
|
inlineprotectedinherited |
boost::iterator_facade implementation
Definition at line 315 of file Enumerator.hh.
|
inlineoverrideprivatevirtual |
boost::iterator_facade implementation
Reimplemented from CASM::InputEnumIteratorBase< ValueType, IsConst >.
Definition at line 95 of file RandomAccessEnumerator.hh.
|
inlineoverridevirtual |
Check if end iterator
Returns true if:
Reimplemented from CASM::InputEnumIteratorBase< ValueType, IsConst >.
Definition at line 72 of file RandomAccessEnumerator.hh.
|
inlineinherited |
Uses enumerator class 'name' implementation.
Definition at line 284 of file Enumerator.hh.
|
inlineinherited |
Uses 'step' and enumerator class 'source' implementation
Definition at line 279 of file Enumerator.hh.
|
inlineoverridevirtual |
Return current step number
Reimplemented from CASM::InputEnumIteratorBase< ValueType, IsConst >.
Definition at line 63 of file RandomAccessEnumerator.hh.
|
private |
Definition at line 129 of file RandomAccessEnumerator.hh.
|
private |
Definition at line 33 of file RandomAccessEnumerator.hh.