CASM  1.1.0
A Clusters Approach to Statistical Mechanics
CASM::InputEnumIterator< ValueType, IsConst > Class Template Reference

#include <InputEnumerator.hh>

+ Inheritance diagram for CASM::InputEnumIterator< ValueType, IsConst >:

Detailed Description

template<typename ValueType, bool IsConst = true>
class CASM::InputEnumIterator< ValueType, IsConst >

Definition at line 90 of file InputEnumerator.hh.

Public Types

typedef InputEnumIteratorBase< ValueType, IsConst >::step_type step_type
 
typedef ValueType value_type
 
typedef InputEnumIteratorBase< ValueType, IsConst >::reference reference
 

Public Member Functions

 InputEnumIterator ()
 Default constructor. More...
 
 InputEnumIterator (const InputEnumIteratorBase< ValueType, IsConst > &it)
 Construct iterator. More...
 
step_type step () const
 
jsonParser source () const
 
std::string name () const
 

Private Member Functions

void increment ()
 boost::iterator_facade implementation More...
 
reference dereference () const
 boost::iterator_facade implementation More...
 
bool equal (const InputEnumIterator &B) const
 boost::iterator_facade implementation More...
 

Private Attributes

notstd::cloneable_ptr< InputEnumIteratorBase< ValueType, IsConst > > m_ptr
 

Member Typedef Documentation

◆ reference

template<typename ValueType , bool IsConst = true>
typedef InputEnumIteratorBase<ValueType, IsConst>::reference CASM::InputEnumIterator< ValueType, IsConst >::reference

Definition at line 101 of file InputEnumerator.hh.

◆ step_type

template<typename ValueType , bool IsConst = true>
typedef InputEnumIteratorBase<ValueType, IsConst>::step_type CASM::InputEnumIterator< ValueType, IsConst >::step_type

Definition at line 98 of file InputEnumerator.hh.

◆ value_type

template<typename ValueType , bool IsConst = true>
typedef ValueType CASM::InputEnumIterator< ValueType, IsConst >::value_type

Definition at line 99 of file InputEnumerator.hh.

Constructor & Destructor Documentation

◆ InputEnumIterator() [1/2]

template<typename ValueType , bool IsConst = true>
CASM::InputEnumIterator< ValueType, IsConst >::InputEnumIterator ( )
inline

Default constructor.

Definition at line 104 of file InputEnumerator.hh.

◆ InputEnumIterator() [2/2]

template<typename ValueType , bool IsConst = true>
CASM::InputEnumIterator< ValueType, IsConst >::InputEnumIterator ( const InputEnumIteratorBase< ValueType, IsConst > &  it)
inline

Construct iterator.

Definition at line 107 of file InputEnumerator.hh.

Member Function Documentation

◆ dereference()

template<typename ValueType , bool IsConst = true>
reference CASM::InputEnumIterator< ValueType, IsConst >::dereference ( ) const
inlineprivate

boost::iterator_facade implementation

Definition at line 123 of file InputEnumerator.hh.

◆ equal()

template<typename ValueType , bool IsConst = true>
bool CASM::InputEnumIterator< ValueType, IsConst >::equal ( const InputEnumIterator< ValueType, IsConst > &  B) const
inlineprivate

boost::iterator_facade implementation

Definition at line 126 of file InputEnumerator.hh.

◆ increment()

template<typename ValueType , bool IsConst = true>
void CASM::InputEnumIterator< ValueType, IsConst >::increment ( )
inlineprivate

boost::iterator_facade implementation

Definition at line 120 of file InputEnumerator.hh.

◆ name()

template<typename ValueType , bool IsConst = true>
std::string CASM::InputEnumIterator< ValueType, IsConst >::name ( ) const
inline

Definition at line 114 of file InputEnumerator.hh.

◆ source()

template<typename ValueType , bool IsConst = true>
jsonParser CASM::InputEnumIterator< ValueType, IsConst >::source ( ) const
inline

Definition at line 112 of file InputEnumerator.hh.

◆ step()

template<typename ValueType , bool IsConst = true>
step_type CASM::InputEnumIterator< ValueType, IsConst >::step ( ) const
inline

Definition at line 110 of file InputEnumerator.hh.

Member Data Documentation

◆ m_ptr

template<typename ValueType , bool IsConst = true>
notstd::cloneable_ptr<InputEnumIteratorBase<ValueType, IsConst> > CASM::InputEnumIterator< ValueType, IsConst >::m_ptr
private

Definition at line 130 of file InputEnumerator.hh.


The documentation for this class was generated from the following file: