CASM
1.1.0
A Clusters Approach to Statistical Mechanics
|
#include <enum.hh>
'casm enum' implementation
The enum
command provides access to methods that construct and save Supercells or Configurations.
New "standard" methods may be implemented by:
EnumInteraceBase
. This involves:casm/app/enum/methods
for examplesmake_standard_enumerator_interfaces
.Custom enumeration methods can also be implemented via plugins. TODO: Full description.
Public Types | |
typedef Completer::EnumOption | OptionType |
Public Member Functions | |
EnumCommand (CommandArgs const &_args, Completer::EnumOption &_opt) | |
int | vm_count_check () const override |
int | help () const override |
int | desc () const override |
int | run () const override |
EnumInterfaceVector const & | enumerators () const |
void | print_names (std::ostream &sout, EnumInterfaceVector const &enumerators) const |
int | count (std::string s) const |
const po::variables_map & | vm () const |
const OptionType & | opt () const |
const CommandArgs & | args () const |
fs::path | root () const |
bool | in_project () const |
PrimClex & | primclex () const |
Static Public Attributes | |
static const std::string | name = "enum" |
Private Attributes | |
EnumInterfaceVector | m_standard_enumerators |
EnumInterfaceVector const * | m_enumerator_vector |
OptionType & | m_opt |
const CommandArgs & | m_args |
bool | m_in_project |
std::unique_ptr< PrimClex > | m_primclex |
|
inherited |
Definition at line 52 of file APICommand.hh.
CASM::EnumCommand::EnumCommand | ( | CommandArgs const & | _args, |
Completer::EnumOption & | _opt | ||
) |
|
inherited |
Definition at line 11 of file APICommand.cc.
|
inlineinherited |
Definition at line 57 of file APICommand.hh.
|
overridevirtual |
Implements CASM::APICommandBase.
EnumInterfaceVector const & CASM::EnumCommand::enumerators | ( | ) | const |
|
overridevirtual |
Implements CASM::APICommandBase.
|
inherited |
Definition at line 15 of file APICommand.cc.
|
inlineinherited |
Definition at line 61 of file APICommand.hh.
|
inherited |
Definition at line 17 of file APICommand.cc.
void CASM::EnumCommand::print_names | ( | std::ostream & | sout, |
EnumInterfaceVector const & | enumerators | ||
) | const |
|
inherited |
Definition at line 13 of file APICommand.cc.
|
overridevirtual |
Implements CASM::APICommandBase.
|
inlineinherited |
Definition at line 59 of file APICommand.hh.
|
overridevirtual |
Implements CASM::APICommandBase.
|
privateinherited |
Definition at line 41 of file APICommand.hh.
|
mutableprivate |
|
privateinherited |
Definition at line 42 of file APICommand.hh.
|
privateinherited |
Definition at line 64 of file APICommand.hh.
|
mutableprivateinherited |
Definition at line 43 of file APICommand.hh.
|
mutableprivate |