CASM
AClustersApproachtoStatisticalMechanics
|
#include <InputEnumerator.hh>
Generic input enumerator.
Definition at line 277 of file InputEnumerator.hh.
Public Types | |
typedef InputEnumeratorBase < ValueType, IsConst > ::step_type | step_type |
typedef InputEnumeratorBase < ValueType, IsConst > ::value_type | value_type |
typedef InputEnumeratorBase < ValueType, IsConst > ::reference | reference |
typedef InputEnumeratorBase < ValueType, IsConst > ::iterator | iterator |
Public Member Functions | |
InputEnumerator () | |
InputEnumerator (std::unique_ptr< InputEnumeratorBase< ValueType, IsConst > > e) | |
InputEnumerator (const InputEnumerator &)=delete | |
InputEnumerator & | operator= (const InputEnumerator &)=delete |
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... | |
reference | current () const |
Access the current ObjectType by reference. More... | |
iterator | begin () |
iterator | end () |
Public Attributes | |
std::unique_ptr < InputEnumeratorBase < ValueType, IsConst > > | ptr |
typedef InputEnumeratorBase<ValueType, IsConst>::iterator CASM::InputEnumerator< ValueType, IsConst >::iterator |
Definition at line 284 of file InputEnumerator.hh.
typedef InputEnumeratorBase<ValueType, IsConst>::reference CASM::InputEnumerator< ValueType, IsConst >::reference |
Definition at line 283 of file InputEnumerator.hh.
typedef InputEnumeratorBase<ValueType, IsConst>::step_type CASM::InputEnumerator< ValueType, IsConst >::step_type |
Definition at line 281 of file InputEnumerator.hh.
typedef InputEnumeratorBase<ValueType, IsConst>::value_type CASM::InputEnumerator< ValueType, IsConst >::value_type |
Definition at line 282 of file InputEnumerator.hh.
|
inline |
Definition at line 287 of file InputEnumerator.hh.
|
inline |
Definition at line 289 of file InputEnumerator.hh.
|
delete |
|
inline |
Definition at line 320 of file InputEnumerator.hh.
|
inline |
Access the current ObjectType by reference.
Definition at line 316 of file InputEnumerator.hh.
|
inline |
Definition at line 324 of file InputEnumerator.hh.
|
inline |
Derived enumerators must implement name.
Definition at line 311 of file InputEnumerator.hh.
|
delete |
|
inline |
Definition at line 306 of file InputEnumerator.hh.
|
inline |
Increments with each enumerated object.
Definition at line 297 of file InputEnumerator.hh.
|
inline |
Returns false if enumeration is complete.
Definition at line 302 of file InputEnumerator.hh.
std::unique_ptr<InputEnumeratorBase<ValueType, IsConst> > CASM::InputEnumerator< ValueType, IsConst >::ptr |
Definition at line 328 of file InputEnumerator.hh.