#include <casm_functions.hh>
Data structure holding basic CASM command info.
Definition at line 70 of file casm_functions.hh.
|
| | CommandArgs (int _argc, char *_argv[], PrimClex *_primclex, fs::path _root, const Logging &logging) |
| | CommandArgs constructor. More...
|
| |
| | CommandArgs (int _argc, char *_argv[], PrimClex *_primclex=nullptr, fs::path _root=fs::path(), Log &_log=default_log(), Log &_err_log=default_err_log()) |
| | CommandArgs constructor. More...
|
| |
| | CommandArgs (std::string _args, PrimClex *_primclex, fs::path _root, const Logging &logging) |
| | CommandArgs constructor. More...
|
| |
| | CommandArgs (std::string _args, PrimClex *_primclex=nullptr, fs::path _root=fs::path(), Log &_log=default_log(), Log &_err_log=default_err_log()) |
| | CommandArgs constructor. More...
|
| |
| | CommandArgs (const CommandArgs &other)=delete |
| |
| | CommandArgs (CommandArgs &&other)=delete |
| |
| CommandArgs & | operator= (const CommandArgs &)=delete |
| |
| CommandArgs & | operator= (CommandArgs &&)=delete |
| |
| | ~CommandArgs () |
| | CommandArgs destructor. More...
|
| |
| Log & | log () const |
| |
| Log & | debug_log () const |
| |
| Log & | err_log () const |
| |
| CASM::CommandArgs::CommandArgs |
( |
int |
_argc, |
|
|
char * |
_argv[], |
|
|
PrimClex * |
_primclex, |
|
|
fs::path |
_root, |
|
|
const Logging & |
_logging |
|
) |
| |
CommandArgs constructor.
CommandArgs constructor - specify logging.
- Parameters
-
| _argc | int, as from main |
| _argv | char*[], as from main |
| _primclex | pointer to PrimClex or nullptr |
| _root | location of CASM project. If empty path, will use root of the CASM project containing current working directory |
| _logging | Logging object to use |
Definition at line 18 of file casm_functions.cc.
| CASM::CommandArgs::CommandArgs |
( |
std::string |
_args, |
|
|
PrimClex * |
_primclex, |
|
|
fs::path |
_root, |
|
|
const Logging & |
_logging |
|
) |
| |
CommandArgs constructor.
CommandArgs constructor - specify logging.
- Parameters
-
| _args | std::string of form 'casm [subcommand] [opt...]' |
| _primclex | pointer to PrimClex or nullptr |
| _root | location of CASM project. If empty path, will use root of the CASM project containing current working directory |
| _logging | Logging object to use |
Definition at line 43 of file casm_functions.cc.
| CASM::CommandArgs::CommandArgs |
( |
const CommandArgs & |
other | ) |
|
|
delete |
| CASM::CommandArgs::~CommandArgs |
( |
| ) |
|
| void CASM::CommandArgs::_init |
( |
| ) |
|
|
private |
| Log& CASM::Logging::debug_log |
( |
| ) |
const |
|
inlineinherited |
| Log& CASM::Logging::err_log |
( |
| ) |
const |
|
inlineinherited |
| Log& CASM::Logging::log |
( |
| ) |
const |
|
inlineinherited |
| static Logging CASM::Logging::null |
( |
| ) |
|
|
inlinestaticinherited |
| int CASM::CommandArgs::argc |
| char** CASM::CommandArgs::argv |
| std::string CASM::CommandArgs::command |
| Log& CASM::CommandArgs::err_log |
| bool CASM::CommandArgs::is_help |
| Log& CASM::CommandArgs::log |
| bool CASM::CommandArgs::m_free_p |
|
private |
| wordexp_t CASM::CommandArgs::m_p |
|
private |
| int CASM::CommandArgs::parse_result |
stores error codes when attempting to parse std::string _args -> argc, argv
Definition at line 119 of file casm_functions.hh.
| fs::path CASM::CommandArgs::root |
| bool CASM::CommandArgs::write_log |
The documentation for this struct was generated from the following files:
- /Users/bpuchala/Work/codes/CASMcode_v0.2.X_reference/include/casm/app/casm_functions.hh
- /Users/bpuchala/Work/codes/CASMcode_v0.2.X_reference/src/casm/app/casm_functions.cc