1 #ifndef CASM_ConfigEnumAllOccupations
2 #define CASM_ConfigEnumAllOccupations
22 class ConfigEnumAllOccupations :
public InputEnumeratorBase<Configuration> {
33 std::string
name()
const override {
ConfigEnumAllOccupations(Supercell &_scel)
Construct with a Supercell, using all permutations.
A Counter allows looping over many incrementing variables in one loop.
void increment() override
Implements increment.
Base class for generic use of enumerators that may be accessed through the API.
Counter< Array< int > > m_counter
static const std::string enumerator_name
PrimClex is the top-level data structure for a CASM project.
static int run(PrimClex &primclex, const jsonParser &kwargs, const Completer::EnumOption &enum_opt)
std::string name() const override
Derived enumerators must implement name, via ENUM_MEMBERS.
CASM::EnumInterfaceBase * make_ConfigEnumAllOccupations_interface()
bool _check_current() const
Returns true if current() is primitive and canonical.
notstd::cloneable_ptr< Configuration > m_current
static const std::string interface_help