CASM
AClustersApproachtoStatisticalMechanics
|
#include <ConfigIterator.hh>
ConfigType bidirectional Iterator class Can iterate over all ConfigType in all Supercells of the PrimClex, where ConfigType = Configuration, const Configuration, Transition, or const Transition PrimClexType = PrimClex or const PrimClex
Definition at line 11 of file ConfigIterator.hh.
Public Member Functions | |
ConfigIterator () | |
Definitions. More... | |
ConfigIterator (PrimClexType *primclex, Index scel_index, Index config_index, bool _selected=false) | |
ConfigType & | operator* () const |
Specialize for Configuration, const Configuration, Transition, const Transition. More... | |
ConfigType * | operator-> () const |
void | set_selected (bool _select) |
bool | selected () const |
bool | operator== (const ConfigIterator &iter) const |
bool | operator!= (const ConfigIterator &iter) const |
ConfigIterator & | operator++ () |
ConfigIterator | operator++ (int) |
ConfigIterator & | operator-- () |
ConfigIterator | operator-- (int) |
Index | config_ind () const |
Index | scel_ind () const |
template<> | |
void | set_selected (bool _select) |
template<> | |
void | set_selected (bool _select) |
Private Member Functions | |
int | config_list_size () const |
void | _next_config () |
template<> | |
int | config_list_size () const |
template<> | |
int | config_list_size () const |
Private Attributes | |
PrimClexType * | m_primclex |
Index | m_scel_index |
Index | m_config_index |
bool | m_selected |
Friends | |
void | swap (ConfigIterator &a, ConfigIterator &b) |
CASM::ConfigIterator< ConfigType, PrimClexType >::ConfigIterator | ( | ) |
Definitions.
Definition at line 82 of file ConfigIterator.hh.
CASM::ConfigIterator< ConfigType, PrimClexType >::ConfigIterator | ( | PrimClexType * | primclex, |
Index | scel_index, | ||
Index | config_index, | ||
bool | _selected = false |
||
) |
Definition at line 92 of file ConfigIterator.hh.
|
private |
Definition at line 139 of file ConfigIterator.hh.
|
inline |
Definition at line 62 of file ConfigIterator.hh.
|
private |
Definition at line 46 of file ConfigIterator.cc.
|
private |
Definition at line 51 of file ConfigIterator.cc.
|
private |
bool CASM::ConfigIterator< ConfigType, PrimClexType >::operator!= | ( | const ConfigIterator< ConfigType, PrimClexType > & | iter | ) | const |
Definition at line 133 of file ConfigIterator.hh.
ConfigType & CASM::ConfigIterator< ConfigType, PrimClexType >::operator* | ( | ) | const |
Specialize for Configuration, const Configuration, Transition, const Transition.
Definition at line 109 of file ConfigIterator.hh.
ConfigIterator< ConfigType, PrimClexType > & CASM::ConfigIterator< ConfigType, PrimClexType >::operator++ | ( | ) |
Definition at line 149 of file ConfigIterator.hh.
ConfigIterator< ConfigType, PrimClexType > CASM::ConfigIterator< ConfigType, PrimClexType >::operator++ | ( | int | ) |
Definition at line 167 of file ConfigIterator.hh.
ConfigIterator< ConfigType, PrimClexType > & CASM::ConfigIterator< ConfigType, PrimClexType >::operator-- | ( | ) |
Definition at line 175 of file ConfigIterator.hh.
ConfigIterator< ConfigType, PrimClexType > CASM::ConfigIterator< ConfigType, PrimClexType >::operator-- | ( | int | ) |
Definition at line 187 of file ConfigIterator.hh.
ConfigType * CASM::ConfigIterator< ConfigType, PrimClexType >::operator-> | ( | ) | const |
Definition at line 118 of file ConfigIterator.hh.
bool CASM::ConfigIterator< ConfigType, PrimClexType >::operator== | ( | const ConfigIterator< ConfigType, PrimClexType > & | iter | ) | const |
Definition at line 128 of file ConfigIterator.hh.
|
inline |
Definition at line 65 of file ConfigIterator.hh.
bool CASM::ConfigIterator< ConfigType, PrimClexType >::selected | ( | ) | const |
Definition at line 123 of file ConfigIterator.hh.
void CASM::ConfigIterator< Configuration, PrimClex >::set_selected | ( | bool | _select | ) |
Specialize for Configuration, const Configuration, Transition, const Transition
Definition at line 35 of file ConfigIterator.cc.
void CASM::ConfigIterator< const Configuration, const PrimClex >::set_selected | ( | bool | _select | ) |
Definition at line 40 of file ConfigIterator.cc.
void CASM::ConfigIterator< ConfigType, PrimClexType >::set_selected | ( | bool | _select | ) |
|
friend |
Definition at line 195 of file ConfigIterator.hh.
|
private |
Definition at line 26 of file ConfigIterator.hh.
|
private |
Definition at line 24 of file ConfigIterator.hh.
|
private |
Definition at line 25 of file ConfigIterator.hh.
|
private |
Definition at line 27 of file ConfigIterator.hh.