#include <casm_functions.hh>
Data structure holding basic CASM command info.
Definition at line 52 of file casm_functions.hh.
◆ CommandArgs() [1/4]
CASM::CommandArgs::CommandArgs |
( |
int |
_argc, |
|
|
char * |
_argv[], |
|
|
PrimClex * |
_primclex = nullptr , |
|
|
fs::path |
_root = fs::path() |
|
) |
| |
CommandArgs constructor.
- 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 |
Definition at line 72 of file casm_functions.cc.
◆ CommandArgs() [2/4]
CASM::CommandArgs::CommandArgs |
( |
std::string |
_args, |
|
|
PrimClex * |
_primclex = nullptr , |
|
|
fs::path |
_root = fs::path() |
|
) |
| |
CommandArgs constructor.
- 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 |
Definition at line 85 of file casm_functions.cc.
◆ CommandArgs() [3/4]
CASM::CommandArgs::CommandArgs |
( |
const CommandArgs & |
other | ) |
|
|
delete |
◆ CommandArgs() [4/4]
◆ ~CommandArgs()
CASM::CommandArgs::~CommandArgs |
( |
| ) |
|
◆ _init()
void CASM::CommandArgs::_init |
( |
| ) |
|
|
private |
◆ argc()
int CASM::CLIParse::argc |
( |
| ) |
const |
|
inlineinherited |
◆ argv()
char** CASM::CLIParse::argv |
( |
| ) |
const |
|
inlineinherited |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ parse_result()
int CASM::CLIParse::parse_result |
( |
| ) |
const |
|
inlineinherited |
◆ command
std::string CASM::CommandArgs::command |
◆ is_help
bool CASM::CommandArgs::is_help |
◆ m_argc
int CASM::CLIParse::m_argc |
|
privateinherited |
◆ m_argv
char** CASM::CLIParse::m_argv |
|
privateinherited |
◆ m_free_p
bool CASM::CLIParse::m_free_p |
|
privateinherited |
◆ m_p
wordexp_t CASM::CLIParse::m_p |
|
privateinherited |
◆ m_parse_result
int CASM::CLIParse::m_parse_result |
|
privateinherited |
stores error codes when attempting to parse std::string _args -> argc, argv
Definition at line 32 of file CLIParse.hh.
◆ primclex
◆ root
fs::path CASM::CommandArgs::root |
◆ write_log
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