| 
    Zeth - Zerocash on Ethereum
    0.8
    
   Reference implementation of the Zeth protocol by Clearmatics 
   | 
 
#include <tool_common.hpp>


Classes | |
| class | this_caller | 
Public Member Functions | |
| generic_subcommand (const std::string &subcommand_name, const std::string &description) | |
  Public Member Functions inherited from libtool::subcommand< GlobalOptionsT > | |
| subcommand (const std::string &subcommand_name, const std::string &description) | |
| virtual | ~subcommand () | 
| const std::string & | description () const | 
| int | execute (const char *argv0, const std::vector< std::string > command_args, const GlobalOptionsT &global) | 
| Common code to parse options and invoke the virtual execute entrypoint.  More... | |
Protected Member Functions | |
| void | initialize_suboptions (boost::program_options::options_description &options, boost::program_options::options_description &, boost::program_options::positional_options_description &) override | 
| Instantiation can now set up the boost program_options structures.  More... | |
| void | parse_suboptions (const boost::program_options::variables_map &vm) override | 
| int | execute_subcommand (const global_options &options) override | 
  Protected Member Functions inherited from libtool::subcommand< GlobalOptionsT > | |
| void | usage (const char *argv0, const boost::program_options::options_description &options) | 
| virtual void | subcommand_usage (const char *argv0)=0 | 
| Any command-specific output for usage.  More... | |
| virtual int | execute_subcommand (const GlobalOptionsT &global)=0 | 
| Execute the command using global options defined by the caller.  More... | |
Protected Attributes | |
| std::string | curve | 
| std::string | snark | 
  Protected Attributes inherited from libtool::subcommand< GlobalOptionsT > | |
| std::string | subcommand_name | 
| std::string | subcommand_description | 
Base class of subcommands with entry points generic over curve and snark. Implementations are expected to implement a public generic execute_generic method of the form:
class my_cmd : generic_subcommand_base<my_cmd> { public: template<typename ppT, typename snarkT> int execute_generic( const global_options &) { ... } }
along side the usual parsing entry points initialize_suboptions and parse_suboptions, which MUST call the equivalent methods on this base class. 
Definition at line 87 of file tool_common.hpp.
      
  | 
  inline | 
Definition at line 90 of file tool_common.hpp.
      
  | 
  inlineoverrideprotected | 
Definition at line 118 of file tool_common.hpp.
      
  | 
  inlineoverrideprotectedvirtual | 
Instantiation can now set up the boost program_options structures.
Implements libtool::subcommand< GlobalOptionsT >.
Definition at line 97 of file tool_common.hpp.
      
  | 
  inlineoverrideprotectedvirtual | 
Instantiation can record any command-specific information from the parsed variables_map.
Implements libtool::subcommand< GlobalOptionsT >.
Definition at line 111 of file tool_common.hpp.
      
  | 
  protected | 
Definition at line 135 of file tool_common.hpp.
      
  | 
  protected | 
Definition at line 136 of file tool_common.hpp.
 1.8.17