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

#include <bset.hh>

+ Inheritance diagram for CASM::BsetCommand:

Detailed Description

'casm enum' implementation

Definition at line 12 of file bset.hh.

Public Types

typedef Completer::BsetOption OptionType
 

Public Member Functions

 BsetCommand (const CommandArgs &_args, Completer::BsetOption &_opt)
 
 ~BsetCommand ()
 
int vm_count_check () const override
 
int help () const override
 
int desc () const override
 
int run () const override
 
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 = "bset"
 

Private Attributes

OptionTypem_opt
 
const CommandArgsm_args
 
bool m_in_project
 
std::unique_ptr< PrimClexm_primclex
 

Member Typedef Documentation

◆ OptionType

Definition at line 52 of file APICommand.hh.

Constructor & Destructor Documentation

◆ BsetCommand()

CASM::BsetCommand::BsetCommand ( const CommandArgs _args,
Completer::BsetOption _opt 
)

Definition at line 228 of file bset.cc.

◆ ~BsetCommand()

CASM::BsetCommand::~BsetCommand ( )

Definition at line 231 of file bset.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::BsetOption >::count ( std::string  s) const
inlineinherited

Definition at line 57 of file APICommand.hh.

◆ desc()

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

Implements CASM::APICommandBase.

Definition at line 260 of file bset.cc.

◆ help()

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

Implements CASM::APICommandBase.

Definition at line 255 of file bset.cc.

◆ in_project()

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

Definition at line 15 of file APICommand.cc.

◆ opt()

const OptionType& CASM::APICommand< Completer::BsetOption >::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.

◆ root()

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

Definition at line 13 of file APICommand.cc.

◆ run()

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

Implements CASM::APICommandBase.

Definition at line 287 of file bset.cc.

◆ vm()

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

Definition at line 59 of file APICommand.hh.

◆ vm_count_check()

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

Implements CASM::APICommandBase.

Definition at line 233 of file bset.cc.

Member Data Documentation

◆ m_args

const CommandArgs& CASM::APICommandBase::m_args
privateinherited

Definition at line 41 of file APICommand.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::BsetOption >::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::BsetCommand::name = "bset"
static

Definition at line 14 of file bset.hh.


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