CASM
1.1.0
A Clusters Approach to Statistical Mechanics
|
#include <InputEnumerator.hh>
Generic input enumerator.
Definition at line 242 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 248 of file InputEnumerator.hh.
typedef InputEnumeratorBase<ValueType, IsConst>::reference CASM::InputEnumerator< ValueType, IsConst >::reference |
Definition at line 247 of file InputEnumerator.hh.
typedef InputEnumeratorBase<ValueType, IsConst>::step_type CASM::InputEnumerator< ValueType, IsConst >::step_type |
Definition at line 244 of file InputEnumerator.hh.
typedef InputEnumeratorBase<ValueType, IsConst>::value_type CASM::InputEnumerator< ValueType, IsConst >::value_type |
Definition at line 246 of file InputEnumerator.hh.
|
inline |
Definition at line 250 of file InputEnumerator.hh.
|
inline |
Definition at line 252 of file InputEnumerator.hh.
|
delete |
|
inline |
Definition at line 272 of file InputEnumerator.hh.
|
inline |
Access the current ObjectType by reference.
Definition at line 270 of file InputEnumerator.hh.
|
inline |
Definition at line 274 of file InputEnumerator.hh.
|
inline |
Derived enumerators must implement name.
Definition at line 267 of file InputEnumerator.hh.
|
delete |
|
inline |
Definition at line 264 of file InputEnumerator.hh.
|
inline |
Increments with each enumerated object.
Definition at line 259 of file InputEnumerator.hh.
|
inline |
Returns false if enumeration is complete.
Definition at line 262 of file InputEnumerator.hh.
std::unique_ptr<InputEnumeratorBase<ValueType, IsConst> > CASM::InputEnumerator< ValueType, IsConst >::ptr |
Definition at line 276 of file InputEnumerator.hh.