CASM
1.1.0
A Clusters Approach to Statistical Mechanics
|
#include <RandomAccessEnumerator.hh>
Generic random access enumerator.
Definition at line 360 of file RandomAccessEnumerator.hh.
Public Types | |
typedef RandomAccessEnumeratorBase< ValueType, IsConst >::step_type | step_type |
typedef ValueType | value_type |
typedef RandomAccessEnumeratorBase< ValueType, IsConst >::reference | reference |
typedef RandomAccessEnumIterator< ValueType, IsConst > | iterator |
typedef std::reverse_iterator< iterator > | reverse_iterator |
typedef RandomAccessEnumeratorBase< ValueType, IsConst >::size_type | size_type |
Public Member Functions | |
RandomAccessEnumerator () | |
RandomAccessEnumerator (std::unique_ptr< RandomAccessEnumeratorBase< ValueType, IsConst > > e) | |
RandomAccessEnumerator (const RandomAccessEnumerator &)=delete | |
RandomAccessEnumerator & | operator= (const RandomAccessEnumerator &)=delete |
iterator | begin () |
iterator | end () |
reverse_iterator | rbegin () |
reverse_iterator | rend () |
reference | current () const |
Access the current ObjectType by reference. More... | |
step_type | step () const |
Increments with each enumerated object. More... | |
bool | valid () const |
Returns false if enumeration is complete. More... | |
jsonParser | source (step_type step) const |
std::string | name () const |
Derived enumerators must implement name. More... | |
Public Attributes | |
std::unique_ptr< RandomAccessEnumeratorBase< ValueType, IsConst > > | ptr |
typedef RandomAccessEnumIterator<ValueType, IsConst> CASM::RandomAccessEnumerator< ValueType, IsConst >::iterator |
Definition at line 367 of file RandomAccessEnumerator.hh.
typedef RandomAccessEnumeratorBase<ValueType, IsConst>::reference CASM::RandomAccessEnumerator< ValueType, IsConst >::reference |
Definition at line 366 of file RandomAccessEnumerator.hh.
typedef std::reverse_iterator<iterator> CASM::RandomAccessEnumerator< ValueType, IsConst >::reverse_iterator |
Definition at line 368 of file RandomAccessEnumerator.hh.
typedef RandomAccessEnumeratorBase<ValueType, IsConst>::size_type CASM::RandomAccessEnumerator< ValueType, IsConst >::size_type |
Definition at line 370 of file RandomAccessEnumerator.hh.
typedef RandomAccessEnumeratorBase<ValueType, IsConst>::step_type CASM::RandomAccessEnumerator< ValueType, IsConst >::step_type |
Definition at line 363 of file RandomAccessEnumerator.hh.
typedef ValueType CASM::RandomAccessEnumerator< ValueType, IsConst >::value_type |
Definition at line 364 of file RandomAccessEnumerator.hh.
|
inline |
Definition at line 372 of file RandomAccessEnumerator.hh.
|
inline |
Definition at line 374 of file RandomAccessEnumerator.hh.
|
delete |
|
inline |
Definition at line 381 of file RandomAccessEnumerator.hh.
|
inline |
Access the current ObjectType by reference.
Definition at line 390 of file RandomAccessEnumerator.hh.
|
inline |
Definition at line 383 of file RandomAccessEnumerator.hh.
|
inline |
Derived enumerators must implement name.
Definition at line 401 of file RandomAccessEnumerator.hh.
|
delete |
|
inline |
Definition at line 385 of file RandomAccessEnumerator.hh.
|
inline |
Definition at line 387 of file RandomAccessEnumerator.hh.
|
inline |
Definition at line 398 of file RandomAccessEnumerator.hh.
|
inline |
Increments with each enumerated object.
Definition at line 393 of file RandomAccessEnumerator.hh.
|
inline |
Returns false if enumeration is complete.
Definition at line 396 of file RandomAccessEnumerator.hh.
std::unique_ptr<RandomAccessEnumeratorBase<ValueType, IsConst> > CASM::RandomAccessEnumerator< ValueType, IsConst >::ptr |
Definition at line 403 of file RandomAccessEnumerator.hh.