CASM
AClustersApproachtoStatisticalMechanics
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules
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 14 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

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

Definition at line 116 of file InputEnumerator.hh.

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

Definition at line 114 of file InputEnumerator.hh.

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

Definition at line 115 of file InputEnumerator.hh.

Constructor & Destructor Documentation

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

Default constructor.

Definition at line 120 of file InputEnumerator.hh.

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

Construct iterator.

Definition at line 123 of file InputEnumerator.hh.

Member Function Documentation

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

boost::iterator_facade implementation

Definition at line 150 of file InputEnumerator.hh.

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 155 of file InputEnumerator.hh.

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

boost::iterator_facade implementation

Definition at line 145 of file InputEnumerator.hh.

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

Definition at line 135 of file InputEnumerator.hh.

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

Definition at line 131 of file InputEnumerator.hh.

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

Definition at line 127 of file InputEnumerator.hh.

Member Data Documentation

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

Definition at line 159 of file InputEnumerator.hh.


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