CASM  1.1.0
A Clusters Approach to Statistical Mechanics
CASM::RmCommand Class Reference

#include <rm.hh>

+ Inheritance diagram for CASM::RmCommand:

Detailed Description

'casm rm' command

Definition at line 40 of file rm.hh.

Public Types

using ImplBase = RmCommandImplBase
 
template<typename ConfigType >
using Impl = RmCommandImpl< ConfigType >
 
typedef Completer::RmOption OptionType
 

Public Member Functions

 RmCommand (const CommandArgs &_args, Completer::RmOption &_opt)
 
 ~RmCommand ()
 
int vm_count_check () const override
 
int help () const override
 
int desc () const override
 
int run () const override
 
RmCommandImplBaseimpl () const
 
void print_names (std::ostream &sout) const
 
void print_config_names (std::ostream &sout) const
 
int count (std::string s) const
 
const po::variables_map & vm () const
 
const OptionTypeopt () const
 
const CommandArgsargs () const
 
fs::path root () const
 
bool in_project () const
 
PrimClexprimclex () const
 

Static Public Attributes

static const std::string name = "rm"
 

Private Attributes

std::unique_ptr< RmCommandImplBasem_impl
 
OptionTypem_opt
 
const CommandArgsm_args
 
bool m_in_project
 
std::unique_ptr< PrimClexm_primclex
 

Member Typedef Documentation

◆ Impl

template<typename ConfigType >
using CASM::RmCommand::Impl = RmCommandImpl<ConfigType>

Definition at line 44 of file rm.hh.

◆ ImplBase

Definition at line 42 of file rm.hh.

◆ OptionType

Definition at line 52 of file APICommand.hh.

Constructor & Destructor Documentation

◆ RmCommand()

CASM::RmCommand::RmCommand ( const CommandArgs _args,
Completer::RmOption _opt 
)

Definition at line 163 of file rm.cc.

◆ ~RmCommand()

CASM::RmCommand::~RmCommand ( )

Definition at line 166 of file rm.cc.

Member Function Documentation

◆ args()

const CommandArgs & CASM::APICommandBase::args ( ) const
inherited

Definition at line 11 of file APICommand.cc.

◆ count()

int CASM::APICommand< Completer::RmOption >::count ( std::string  s) const
inlineinherited

Definition at line 57 of file APICommand.hh.

◆ desc()

int CASM::RmCommand::desc ( ) const
overridevirtual

Implements CASM::APICommandBase.

Definition at line 180 of file rm.cc.

◆ help()

int CASM::RmCommand::help ( ) const
overridevirtual

Implements CASM::APICommandBase.

Definition at line 178 of file rm.cc.

◆ impl()

RmCommandImplBase & CASM::RmCommand::impl ( ) const

Definition at line 184 of file rm.cc.

◆ in_project()

bool CASM::APICommandBase::in_project ( ) const
inherited

Definition at line 15 of file APICommand.cc.

◆ opt()

const OptionType& CASM::APICommand< Completer::RmOption >::opt ( ) const
inlineinherited

Definition at line 61 of file APICommand.hh.

◆ primclex()

PrimClex & CASM::APICommandBase::primclex ( ) const
inherited

Definition at line 17 of file APICommand.cc.

◆ print_config_names()

void CASM::RmCommand::print_config_names ( std::ostream &  sout) const

Definition at line 212 of file rm.cc.

◆ print_names()

void CASM::RmCommand::print_names ( std::ostream &  sout) const

Definition at line 204 of file rm.cc.

◆ root()

fs::path CASM::APICommandBase::root ( ) const
inherited

Definition at line 13 of file APICommand.cc.

◆ run()

int CASM::RmCommand::run ( ) const
overridevirtual

Implements CASM::APICommandBase.

Definition at line 182 of file rm.cc.

◆ vm()

const po::variables_map& CASM::APICommand< Completer::RmOption >::vm ( ) const
inlineinherited

Definition at line 59 of file APICommand.hh.

◆ vm_count_check()

int CASM::RmCommand::vm_count_check ( ) const
overridevirtual

Implements CASM::APICommandBase.

Definition at line 168 of file rm.cc.

Member Data Documentation

◆ m_args

const CommandArgs& CASM::APICommandBase::m_args
privateinherited

Definition at line 41 of file APICommand.hh.

◆ m_impl

std::unique_ptr<RmCommandImplBase> CASM::RmCommand::m_impl
mutableprivate

Definition at line 69 of file rm.hh.

◆ m_in_project

bool CASM::APICommandBase::m_in_project
privateinherited

Definition at line 42 of file APICommand.hh.

◆ m_opt

OptionType& CASM::APICommand< Completer::RmOption >::m_opt
privateinherited

Definition at line 64 of file APICommand.hh.

◆ m_primclex

std::unique_ptr<PrimClex> CASM::APICommandBase::m_primclex
mutableprivateinherited

Definition at line 43 of file APICommand.hh.

◆ name

const std::string CASM::RmCommand::name = "rm"
static

Definition at line 46 of file rm.hh.


The documentation for this class was generated from the following files: