#include <SuperConfigEnumInterface.hh>
Interface for SuperConfigEnum.
Definition at line 9 of file SuperConfigEnumInterface.hh.
|
std::string | desc () const override |
|
std::string | name () const override |
| Enumeration method name (i.e. "ConfigEnumAllOccupations") More...
|
|
void | run (PrimClex &primclex, jsonParser const &json_options, jsonParser const &cli_options_as_json) const override |
|
std::unique_ptr< Cloneable > | clone () const |
|
std::unique_ptr< Cloneable > | move () |
|
|
virtual Cloneable * | _clone () const =0 |
|
virtual Cloneable * | _move ()=0 |
|
◆ _clone()
virtual Cloneable* notstd::Cloneable::_clone |
( |
| ) |
const |
|
privatepure virtualinherited |
◆ _move()
virtual Cloneable* notstd::Cloneable::_move |
( |
| ) |
|
|
privatepure virtualinherited |
◆ clone()
std::unique_ptr<Cloneable> notstd::Cloneable::clone |
( |
| ) |
const |
|
inlineinherited |
◆ desc()
std::string CASM::SuperConfigEnumInterface::desc |
( |
| ) |
const |
|
overridevirtual |
◆ move()
std::unique_ptr<Cloneable> notstd::Cloneable::move |
( |
| ) |
|
|
inlineinherited |
◆ name()
std::string CASM::SuperConfigEnumInterface::name |
( |
| ) |
const |
|
overridevirtual |
◆ run()
void CASM::SuperConfigEnumInterface::run |
( |
PrimClex & |
primclex, |
|
|
jsonParser const & |
json_options, |
|
|
jsonParser const & |
cli_options_as_json |
|
) |
| const |
|
overridevirtual |
Enumeration method implementation
- Parameters
-
primclex | PrimClex gives access to project resources |
json_options | JSON input, as by –input or –settings CLI options |
cli_options_as_json | CLI options converted to JSON. Includes: –desc as "desc": array of string (method names to print help for) –help as "help": bool (print/return help, including list of available methods) –method as "method": string (name of enumeration method) –settings as "settings": string (path to settings JSON file) –input as "input": string (a JSON string) –min as "min": int (meaning depends on method, if any) –max as "max": int (meaning depends on method, if any) –all as "all": bool (meaning depends on method, if any) –scelnames as "scelnames": array of string (meaning depends on method, if any) –confignames as "confignames": array of string (meaning depends on method, if any) –verbosity as "verbosity": string (requested verbosity level) –filter as "filter": array of string (query expression used filter results) –dry-run as "dry_run": bool (if true, do not commit database upon completion) |
Notes:
- It is up to the individual method to determine how to combine and use
json_options
and cli_options_as_json
, but by convention prefer using CLI input in case of collisions.
Implements CASM::EnumInterfaceBase.
Definition at line 111 of file SuperConfigEnumInterface.cc.
The documentation for this class was generated from the following files: