|
CASM
AClustersApproachtoStatisticalMechanics
|
#include <ProjectSettings.hh>
Definition at line 23 of file ProjectSettings.hh.
Public Types | |
| typedef CASM_TMP::ConstSwitch < IsConst, PrimClex > | PrimClexType |
| typedef CASM_TMP::ConstSwitch < IsConst, Configuration > | value_type |
| typedef ConfigSelectionIterator < IsConst, false > | iterator |
| typedef ConfigSelectionIterator < IsConst, true > | const_iterator |
Public Member Functions | |
| ConfigSelection () | |
| Default constructor. More... | |
| ConfigSelection (PrimClexType &_primclex, const fs::path &selection_path="MASTER") | |
| Construct a configuration selection from all configurations. More... | |
| ConfigSelection (const ConfigSelection< false > &RHS) | |
| ConfigSelection & | operator= (const ConfigSelection &)=default |
| Index | size () const |
| iterator | find (const std::string &configname) |
| const_iterator | find (const std::string &configname) const |
| void | read (std::istream &_input) |
| const jsonParser & | from_json (const jsonParser &_json) |
| jsonParser & | to_json (const DataFormatterDictionary< Configuration > &_dict, jsonParser &_json, bool only_selected=false) const |
| bool | selected (const std::string &configname) const |
| check if configuration is selected (returns false if 'configname' cannot be found More... | |
| bool | selected (const Configuration &config) const |
| void | set_selected (const std::string &configname, bool is_selected) |
| void | set_selected (const Configuration &config, bool is_selected) |
| iterator | config_begin () |
| const_iterator | config_begin () const |
| iterator | config_end () |
| const_iterator | config_end () const |
| const_iterator | config_cbegin () const |
| const_iterator | config_cend () const |
| iterator | selected_config_begin () |
| const_iterator | selected_config_begin () const |
| iterator | selected_config_end () |
| const_iterator | selected_config_end () const |
| const_iterator | selected_config_cbegin () const |
| const_iterator | selected_config_cend () const |
| std::pair< iterator, bool > | insert (const std::pair< std::string, bool > &value) |
| const_iterator | erase (const const_iterator &it) |
| int | erase (const std::string &configname) |
| const std::vector< std::string > & | col_headers () const |
| const std::string & | name () const |
| void | print (const DataFormatterDictionary< Configuration > &_dict, std::ostream &_out, bool only_selected=false) const |
Private Attributes | |
| PrimClexType * | m_primclex |
| std::string | m_name |
| std::map< std::string, bool > | m_config |
| std::vector< std::string > | m_col_headers |
Friends | |
| class | ConfigSelection< !IsConst > |
| typedef ConfigSelectionIterator<IsConst, true> CASM::ConfigSelection< IsConst >::const_iterator |
Definition at line 93 of file ConfigSelection.hh.
| typedef ConfigSelectionIterator<IsConst, false> CASM::ConfigSelection< IsConst >::iterator |
Definition at line 92 of file ConfigSelection.hh.
| typedef CASM_TMP::ConstSwitch<IsConst, PrimClex> CASM::ConfigSelection< IsConst >::PrimClexType |
Definition at line 90 of file ConfigSelection.hh.
| typedef CASM_TMP::ConstSwitch<IsConst, Configuration> CASM::ConfigSelection< IsConst >::value_type |
Definition at line 91 of file ConfigSelection.hh.
|
inline |
Default constructor.
Definition at line 97 of file ConfigSelection.hh.
| CASM::ConfigSelection< IsConst >::ConfigSelection | ( | PrimClexType & | _primclex, |
| const fs::path & | selection_path = "MASTER" |
||
| ) |
Construct a configuration selection from all configurations.
Reads a configuration selection from file at 'selection_path'
|
inline |
Definition at line 118 of file ConfigSelection.hh.
|
inline |
Definition at line 226 of file ConfigSelection.hh.
|
inline |
Definition at line 164 of file ConfigSelection.hh.
|
inline |
Definition at line 168 of file ConfigSelection.hh.
|
inline |
Definition at line 180 of file ConfigSelection.hh.
|
inline |
Definition at line 184 of file ConfigSelection.hh.
|
inline |
Definition at line 172 of file ConfigSelection.hh.
|
inline |
Definition at line 176 of file ConfigSelection.hh.
|
inline |
Definition at line 217 of file ConfigSelection.hh.
|
inline |
Definition at line 222 of file ConfigSelection.hh.
|
inline |
Definition at line 130 of file ConfigSelection.hh.
|
inline |
Definition at line 134 of file ConfigSelection.hh.
| const jsonParser & CASM::ConfigSelection< IsConst >::from_json | ( | const jsonParser & | _json | ) |
Definition at line 79 of file ConfigSelection_impl.hh.
|
inline |
Definition at line 212 of file ConfigSelection.hh.
|
inline |
Definition at line 230 of file ConfigSelection.hh.
|
default |
| void CASM::ConfigSelection< IsConst >::print | ( | const DataFormatterDictionary< Configuration > & | _dict, |
| std::ostream & | _out, | ||
| bool | only_selected = false |
||
| ) | const |
Definition at line 153 of file ConfigSelection_impl.hh.
| void CASM::ConfigSelection< IsConst >::read | ( | std::istream & | _input | ) |
Definition at line 56 of file ConfigSelection_impl.hh.
|
inline |
check if configuration is selected (returns false if 'configname' cannot be found
Definition at line 147 of file ConfigSelection.hh.
|
inline |
Definition at line 152 of file ConfigSelection.hh.
|
inline |
Definition at line 188 of file ConfigSelection.hh.
|
inline |
Definition at line 192 of file ConfigSelection.hh.
|
inline |
Definition at line 204 of file ConfigSelection.hh.
|
inline |
Definition at line 208 of file ConfigSelection.hh.
|
inline |
Definition at line 196 of file ConfigSelection.hh.
|
inline |
Definition at line 200 of file ConfigSelection.hh.
|
inline |
Definition at line 156 of file ConfigSelection.hh.
|
inline |
Definition at line 160 of file ConfigSelection.hh.
|
inline |
Definition at line 126 of file ConfigSelection.hh.
| jsonParser & CASM::ConfigSelection< IsConst >::to_json | ( | const DataFormatterDictionary< Configuration > & | _dict, |
| jsonParser & | _json, | ||
| bool | only_selected = false |
||
| ) | const |
Definition at line 130 of file ConfigSelection_impl.hh.
|
friend |
Definition at line 239 of file ConfigSelection.hh.
|
private |
Definition at line 244 of file ConfigSelection.hh.
|
private |
Definition at line 243 of file ConfigSelection.hh.
|
private |
Definition at line 242 of file ConfigSelection.hh.
|
private |
Definition at line 241 of file ConfigSelection.hh.