Electroneum
Functions
wallet_args Namespace Reference

Functions

command_line::arg_descriptor< std::string > arg_generate_from_json ()
 
command_line::arg_descriptor< std::string > arg_wallet_file ()
 
const char * tr (const char *str)
 
boost::optional< boost::program_options::variables_map > main (int argc, char **argv, const char *const usage, boost::program_options::options_description desc_params, const boost::program_options::positional_options_description &positional_options, const char *default_log_name, bool log_to_console)
 

Function Documentation

◆ arg_generate_from_json()

command_line::arg_descriptor< std::string > wallet_args::arg_generate_from_json ( )

◆ arg_wallet_file()

command_line::arg_descriptor< std::string > wallet_args::arg_wallet_file ( )

◆ main()

boost::optional< boost::program_options::variables_map > wallet_args::main ( int  argc,
char **  argv,
const char *const  usage,
boost::program_options::options_description  desc_params,
const boost::program_options::positional_options_description &  positional_options,
const char *  default_log_name,
bool  log_to_console = false 
)

Processes command line arguments (argc and argv) using desc_params and positional_options, while adding parameters for log files and concurrency. Log file and concurrency arguments are handled, along with basic global init for the wallet process.

Returns
The list of parsed options, iff there are no errors.

◆ tr()

const char * wallet_args::tr ( const char *  str)