Zeth - Zerocash on Ethereum  0.8
Reference implementation of the Zeth protocol by Clearmatics
Public Member Functions | List of all members
zeth_command Class Reference
Inheritance diagram for zeth_command:
Inheritance graph
[legend]
Collaboration diagram for zeth_command:
Collaboration graph
[legend]

Public Member Functions

void initialize_global_options (boost::program_options::options_description &global, boost::program_options::options_description &all_options) override
 Set up global options which are valid for all subcommands. More...
 
void parse_global_options (global_options &out_options, const boost::program_options::variables_map &vm) override
 Parse the variables map to update the GlobalOptionsT object. More...
 

Detailed Description

Definition at line 15 of file main.cpp.

Member Function Documentation

◆ initialize_global_options()

void zeth_command::initialize_global_options ( boost::program_options::options_description &  global,
boost::program_options::options_description &  all_options 
)
inlineoverridevirtual

Set up global options which are valid for all subcommands.

Implements libtool::command< global_options >.

Definition at line 18 of file main.cpp.

21  {
22  global.add_options()("verbose,v", "Verbose output");
23  all_options.add(global);
24  }

◆ parse_global_options()

void zeth_command::parse_global_options ( global_options out_options,
const boost::program_options::variables_map &  vm 
)
inlineoverridevirtual

Parse the variables map to update the GlobalOptionsT object.

Implements libtool::command< global_options >.

Definition at line 27 of file main.cpp.

30  {
31  out_options = (bool)vm.count("verbose");
32  }

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