|
CASM
1.1.0
A Clusters Approach to Statistical Mechanics
|
#include <CompositionAxes.hh>
Data structure to facilitate reading, writing, selecting composition axes in a CASM project
Definition at line 14 of file CompositionAxes.hh.
Public Member Functions | |
| CompositionAxes () | |
| template<typename IterType > | |
| void | insert_enumerated (IterType begin, IterType end) |
| Iterate over list of CompositionConverter and insert each one as an enumerated axes set with a unique numerical name. More... | |
| void | erase_enumerated () |
| Erase all enumerated axes and clear this->enumerated. More... | |
| void | select (std::string key) |
| Set this->curr using key. More... | |
| bool | has_current_axes () const |
| True if curr_key is set. More... | |
Public Attributes | |
| std::map< std::string, CompositionConverter > | all_axes |
| std::set< std::string > | enumerated |
| std::string | curr_key |
| CompositionConverter | curr |
| int | err_code = 0 |
| std::string | err_message |
|
inline |
Definition at line 15 of file CompositionAxes.hh.
| void CASM::CompositionAxes::erase_enumerated | ( | ) |
Erase all enumerated axes and clear this->enumerated.
Definition at line 6 of file CompositionAxes.cc.
|
inline |
True if curr_key is set.
Definition at line 29 of file CompositionAxes.hh.
| void CASM::CompositionAxes::insert_enumerated | ( | IterType | begin, |
| IterType | end | ||
| ) |
Iterate over list of CompositionConverter and insert each one as an enumerated axes set with a unique numerical name.
Definition at line 9 of file CompositionAxes_impl.hh.
| void CASM::CompositionAxes::select | ( | std::string | key | ) |
Set this->curr using key.
Definition at line 15 of file CompositionAxes.cc.
| std::map<std::string, CompositionConverter> CASM::CompositionAxes::all_axes |
Definition at line 31 of file CompositionAxes.hh.
| CompositionConverter CASM::CompositionAxes::curr |
Definition at line 34 of file CompositionAxes.hh.
| std::string CASM::CompositionAxes::curr_key |
Definition at line 33 of file CompositionAxes.hh.
| std::set<std::string> CASM::CompositionAxes::enumerated |
Definition at line 32 of file CompositionAxes.hh.
| int CASM::CompositionAxes::err_code = 0 |
Definition at line 36 of file CompositionAxes.hh.
| std::string CASM::CompositionAxes::err_message |
Definition at line 37 of file CompositionAxes.hh.