CASM
1.1.0
A Clusters Approach to Statistical Mechanics
|
#include <APICommand.hh>
Base class for implementing CASM API command classes
Definition at line 18 of file APICommand.hh.
Public Member Functions | |
APICommandBase (const CommandArgs &_args) | |
virtual | ~APICommandBase () |
const CommandArgs & | args () const |
fs::path | root () const |
bool | in_project () const |
PrimClex & | primclex () const |
virtual int | vm_count_check () const =0 |
virtual int | help () const =0 |
virtual int | desc () const =0 |
virtual int | run () const =0 |
Private Attributes | |
const CommandArgs & | m_args |
bool | m_in_project |
std::unique_ptr< PrimClex > | m_primclex |
CASM::APICommandBase::APICommandBase | ( | const CommandArgs & | _args | ) |
Definition at line 8 of file APICommand.cc.
|
inlinevirtual |
Definition at line 22 of file APICommand.hh.
const CommandArgs & CASM::APICommandBase::args | ( | ) | const |
Definition at line 11 of file APICommand.cc.
|
pure virtual |
|
pure virtual |
bool CASM::APICommandBase::in_project | ( | ) | const |
Definition at line 15 of file APICommand.cc.
PrimClex & CASM::APICommandBase::primclex | ( | ) | const |
Definition at line 17 of file APICommand.cc.
fs::path CASM::APICommandBase::root | ( | ) | const |
Definition at line 13 of file APICommand.cc.
|
pure virtual |
|
pure virtual |
|
private |
Definition at line 41 of file APICommand.hh.
|
private |
Definition at line 42 of file APICommand.hh.
|
mutableprivate |
Definition at line 43 of file APICommand.hh.