1 #ifndef CASM_EnumInterface
2 #define CASM_EnumInterface
12 class ParentInputParser;
28 virtual std::string
desc()
const = 0;
31 virtual std::string
name()
const = 0;
63 jsonParser const &cli_options_as_json)
const = 0;
77 return dry_run ?
"(dry run) " :
"";
virtual std::string desc() const =0
virtual std::string name() const =0
Enumeration method name (i.e. "ConfigEnumAllOccupations")
virtual void run(PrimClex &primclex, jsonParser const &json_options, jsonParser const &cli_options_as_json) const =0
PrimClex is the top-level data structure for a CASM project.
#define ABSTRACT_CLONEABLE(T)
jsonParser & to_json(const ClexDescription &desc, jsonParser &json)
ParentInputParser make_enum_parent_parser(Log &log, jsonParser const &json_options, jsonParser const &cli_options_as_json)
Combine –input / –settings JSON with CLI options.
std::string dry_run_msg(bool dry_run)