Zeth - Zerocash on Ethereum  0.8
Reference implementation of the Zeth protocol by Clearmatics
Public Member Functions | List of all members
libtool::command< GlobalOptionsT > Class Template Referenceabstract

Represents a top-level command, implementing parsing of global options. More...

#include <command.hpp>

Public Member Functions

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

Detailed Description

template<typename GlobalOptionsT>
class libtool::command< GlobalOptionsT >

Represents a top-level command, implementing parsing of global options.

Definition at line 14 of file command.hpp.

Member Function Documentation

◆ initialize_global_options()

template<typename GlobalOptionsT >
virtual void libtool::command< GlobalOptionsT >::initialize_global_options ( boost::program_options::options_description &  global,
boost::program_options::options_description &  all_options 
)
pure virtual

Set up global options which are valid for all subcommands.

Implemented in zeth_command.

◆ parse_global_options()

template<typename GlobalOptionsT >
virtual void libtool::command< GlobalOptionsT >::parse_global_options ( GlobalOptionsT &  out_options,
const boost::program_options::variables_map &  vm 
)
pure virtual

Parse the variables map to update the GlobalOptionsT object.

Implemented in zeth_command.


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