CASM
1.1.0
A Clusters Approach to Statistical Mechanics
|
#include <query.hh>
'casm query' command
This class wraps a pointer to an implementation class QueryCommandImpl<DataObject> which does most of the work. The implementation classes are defined in the source file.
Public Types | |
using | ImplBase = QueryCommandImplBase |
template<typename ConfigType > | |
using | Impl = QueryCommandImpl< ConfigType > |
typedef Completer::QueryOption | OptionType |
Public Member Functions | |
QueryCommand (const CommandArgs &_args, Completer::QueryOption &_opt) | |
~QueryCommand () | |
int | vm_count_check () const override |
int | help () const override |
int | desc () const override |
int | run () const override |
QueryCommandImplBase & | impl () const |
void | print_names (std::ostream &sout) 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 = "query" |
Private Attributes | |
std::unique_ptr< QueryCommandImplBase > | m_impl |
OptionType & | m_opt |
const CommandArgs & | m_args |
bool | m_in_project |
std::unique_ptr< PrimClex > | m_primclex |
using CASM::QueryCommand::Impl = QueryCommandImpl<ConfigType> |
|
inherited |
Definition at line 52 of file APICommand.hh.
CASM::QueryCommand::QueryCommand | ( | const CommandArgs & | _args, |
Completer::QueryOption & | _opt | ||
) |
|
inherited |
Definition at line 11 of file APICommand.cc.
|
inlineinherited |
Definition at line 57 of file APICommand.hh.
|
overridevirtual |
Implements CASM::APICommandBase.
|
overridevirtual |
Implements CASM::APICommandBase.
QueryCommandImplBase & CASM::QueryCommand::impl | ( | ) | const |
|
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::QueryCommand::print_names | ( | std::ostream & | sout | ) | 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.