CatapultServer  v0.5.0.1 (Elephant)
catapult::tools::CommandParser Class Referenceabstract

Interface for command line parsing. More...

Inheritance diagram for catapult::tools::CommandParser:

Public Member Functions

virtual ~CommandParser ()=default
 
virtual std::string name () const =0
 Returns name of the command. More...
 
virtual void prepareOptions (OptionsBuilder &optionsBuilder, OptionsPositional &positional)=0
 Prepare named (optionsBuilder) and positional options of the tool. More...
 

Detailed Description

Interface for command line parsing.

Constructor & Destructor Documentation

◆ ~CommandParser()

virtual catapult::tools::CommandParser::~CommandParser ( )
virtualdefault

Member Function Documentation

◆ name()

virtual std::string catapult::tools::CommandParser::name ( ) const
pure virtual

Returns name of the command.

Implemented in catapult::tools::NetworkCensusTool< TNodeInfo >.

Here is the caller graph for this function:

◆ prepareOptions()

virtual void catapult::tools::CommandParser::prepareOptions ( OptionsBuilder optionsBuilder,
OptionsPositional positional 
)
pure virtual

Prepare named (optionsBuilder) and positional options of the tool.

Implemented in catapult::tools::NetworkCensusTool< TNodeInfo >.


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