|
CASM
AClustersApproachtoStatisticalMechanics
|
#include <MultiCounter.hh>
Close relative of the Counter and IsoCounter class. MULTICOUNTER counts over multiple counter-type objects, enumerating all allowed states of all allowed counters It has a template parameter CounterType, which must be a counter class that has the same interface as Counter and IsoCounter
Definition at line 14 of file MultiCounter.hh.
Public Types | |
| typedef CounterType::value_type | value_type |
| typedef CounterType::size_type | size_type |
| typedef CounterValueIterator < MultiCounter > | const_value_iterator |
Public Member Functions | |
| ~MultiCounter () | |
| void | operator++ (int) |
| operator const Array< CounterType > & () const | |
| Index | size () const |
| const_value_iterator | value_begin () const |
| const_value_iterator | value_end () const |
| void | push_back (const CounterType &new_counter) |
| CounterType & | back () |
| const CounterType & | back () const |
| CounterType & | operator[] (Index i) |
| const CounterType & | operator[] (Index i) const |
| const Array< CounterType > & | current () const |
| const Array< CounterType > & | operator() () const |
| MultiCounter () | |
| MultiCounter (const Array< CounterType > &_counter) | |
| MultiCounter & | operator++ () |
| bool | operator+= (Index steps) |
| bool | valid () const |
| void | reset () |
Protected Attributes | |
| bool | m_is_valid |
| Array< CounterType > | m_counters |
| typedef CounterValueIterator<MultiCounter> CASM::MultiCounter< CounterType >::const_value_iterator |
Definition at line 90 of file MultiCounter.hh.
| typedef CounterType::size_type CASM::MultiCounter< CounterType >::size_type |
Definition at line 89 of file MultiCounter.hh.
| typedef CounterType::value_type CASM::MultiCounter< CounterType >::value_type |
Definition at line 88 of file MultiCounter.hh.
| CASM::MultiCounter< CounterType >::MultiCounter | ( | ) |
Definition at line 159 of file MultiCounter.hh.
| CASM::MultiCounter< CounterType >::MultiCounter | ( | const Array< CounterType > & | _counter | ) |
Definition at line 164 of file MultiCounter.hh.
|
inline |
Definition at line 94 of file MultiCounter.hh.
|
inline |
Definition at line 131 of file MultiCounter.hh.
|
inline |
Definition at line 135 of file MultiCounter.hh.
|
inline |
Definition at line 147 of file MultiCounter.hh.
|
inline |
Definition at line 104 of file MultiCounter.hh.
|
inline |
Definition at line 151 of file MultiCounter.hh.
| MultiCounter< CounterType > & CASM::MultiCounter< CounterType >::operator++ | ( | ) |
Definition at line 184 of file MultiCounter.hh.
|
inline |
Definition at line 96 of file MultiCounter.hh.
| bool CASM::MultiCounter< CounterType >::operator+= | ( | Index | steps | ) |
Definition at line 206 of file MultiCounter.hh.
|
inline |
Definition at line 139 of file MultiCounter.hh.
|
inline |
Definition at line 143 of file MultiCounter.hh.
|
inline |
Definition at line 126 of file MultiCounter.hh.
| void CASM::MultiCounter< CounterType >::reset | ( | ) |
Definition at line 171 of file MultiCounter.hh.
|
inline |
Definition at line 108 of file MultiCounter.hh.
| bool CASM::MultiCounter< CounterType >::valid | ( | ) | const |
Definition at line 178 of file MultiCounter.hh.
|
inline |
Definition at line 112 of file MultiCounter.hh.
|
inline |
Definition at line 119 of file MultiCounter.hh.
|
protected |
Definition at line 85 of file MultiCounter.hh.
|
protected |
Definition at line 84 of file MultiCounter.hh.