CASM
1.1.0
A Clusters Approach to Statistical Mechanics
|
#include <Enumerator.hh>
Definition at line 306 of file Enumerator.hh.
Public Types | |
typedef ValueType | value_type |
typedef ValEnumerator< ValueType, IsConst >::reference | reference |
typedef EnumeratorBase::step_type | step_type |
Public Member Functions | |
ValEnumIterator () | |
ValEnumIterator (ValEnumerator< ValueType, IsConst > &enumerator) | |
virtual | ~ValEnumIterator () |
std::unique_ptr< EnumIteratorBase > | clone () const |
virtual bool | is_end () const=0 |
Returns true if 'end' iterator. More... | |
std::string | name () const |
Uses enumerator class 'name' implementation. More... | |
jsonParser | source () const |
virtual step_type | step () const=0 |
virtual step_type | step () const =0 |
jsonParser | source () const |
std::string | name () const |
Uses enumerator class 'name' implementation. More... | |
virtual bool | is_end () const =0 |
Returns true if 'end' iterator. More... | |
Protected Member Functions | |
void | _assert_ptr () const |
void | _assert_same_ptr (const EnumIteratorBase &other) const |
void | _assert_valid () const |
EnumeratorBase * | _enum_ptr () |
EnumeratorBase * | _enum_ptr () const |
bool | equal (const EnumIteratorBase &other) const |
boost::iterator_facade implementation More... | |
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 () const |
Private Member Functions | |
virtual EnumIteratorBase * | _clone () const =0 |
virtual reference | dereference () const =0 |
EnumeratorBase & | _enum () |
EnumeratorBase & | _enum () const |
Private Attributes | |
EnumeratorBase * | m_enum_ptr |
typedef ValEnumerator<ValueType, IsConst>::reference CASM::ValEnumIterator< ValueType, IsConst >::reference |
Definition at line 310 of file Enumerator.hh.
typedef EnumeratorBase::step_type CASM::EnumIteratorBase::step_type |
Definition at line 225 of file Enumerator.hh.
typedef ValueType CASM::ValEnumIterator< ValueType, IsConst >::value_type |
Definition at line 309 of file Enumerator.hh.
|
inline |
Definition at line 312 of file Enumerator.hh.
|
inline |
Definition at line 314 of file Enumerator.hh.
|
inlinevirtual |
Definition at line 317 of file Enumerator.hh.
|
inlineprotectedinherited |
Definition at line 262 of file Enumerator.hh.
|
inlineprotected |
Definition at line 262 of file Enumerator.hh.
|
inlineprotectedinherited |
Definition at line 256 of file Enumerator.hh.
|
inlineprotected |
Definition at line 256 of file Enumerator.hh.
|
inlineprotectedinherited |
Definition at line 266 of file Enumerator.hh.
|
inlineprotected |
Definition at line 266 of file Enumerator.hh.
|
privatepure virtual |
|
inlineprivateinherited |
Definition at line 297 of file Enumerator.hh.
|
inlineprivateinherited |
Definition at line 299 of file Enumerator.hh.
|
inlineprotected |
Definition at line 290 of file Enumerator.hh.
|
inlineprotectedinherited |
Definition at line 292 of file Enumerator.hh.
|
inlineprotected |
Definition at line 292 of file Enumerator.hh.
|
inline |
Definition at line 324 of file Enumerator.hh.
|
privatepure virtual |
|
inlineprotectedinherited |
boost::iterator_facade implementation
Definition at line 275 of file Enumerator.hh.
|
inlineprotected |
boost::iterator_facade implementation
Definition at line 275 of file Enumerator.hh.
|
pure virtualinherited |
Returns true if 'end' iterator.
Implemented in CASM::RandomAccessEnumIteratorBase< ValueType, IsConst >, CASM::InputEnumIteratorBase< ValueType, IsConst >, and CASM::InputEnumIteratorBase< ValueType, true >.
virtual bool CASM::EnumIteratorBase::is_end |
Returns true if 'end' iterator.
|
inlineinherited |
Uses enumerator class 'name' implementation.
Definition at line 246 of file Enumerator.hh.
|
inline |
Uses enumerator class 'name' implementation.
Definition at line 246 of file Enumerator.hh.
|
inlineinherited |
Uses 'step' and enumerator class 'source' implementation
Definition at line 243 of file Enumerator.hh.
|
inline |
Uses 'step' and enumerator class 'source' implementation
Definition at line 243 of file Enumerator.hh.
|
pure virtualinherited |
Return current step number
Implemented in CASM::RandomAccessEnumIteratorBase< ValueType, IsConst >, CASM::InputEnumIteratorBase< ValueType, IsConst >, and CASM::InputEnumIteratorBase< ValueType, true >.
virtual step_type CASM::EnumIteratorBase::step |
Return current step number
|
privateinherited |
Definition at line 302 of file Enumerator.hh.