1 #ifndef CASM_clex_CompositionAxes
2 #define CASM_clex_CompositionAxes
19 template <
typename IterType>
26 void select(std::string key);
31 std::map<std::string, CompositionConverter>
all_axes;
Convert between number of species per unit cell and parametric composition.
bool has_current_axes() const
True if curr_key is set.
std::set< std::string > enumerated
void select(std::string key)
Set this->curr using key.
CompositionConverter curr
std::map< std::string, CompositionConverter > all_axes
void insert_enumerated(IterType begin, IterType end)
Iterate over list of CompositionConverter and insert each one as an enumerated axes set with a unique...
void erase_enumerated()
Erase all enumerated axes and clear this->enumerated.