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