|
bmv2
Designing your own switch target with bmv2
|
Interface for target-specific command-line options parsers. More...

Public Member Functions | |
| virtual int | parse (const std::vector< std::string > &more_options, std::ostream *errstream)=0 |
| virtual void | help_msg (std::ostream *outstream) const =0 |
Interface for target-specific command-line options parsers.
|
pure virtual |
Called by the bmv2 command-line parser, when the user requests the help description (with -h, --help).
Implemented in bm::TargetParserBasic.
|
pure virtual |
Called by the bmv2 command-line options parser, when it is done with general options. All options appearing after -- will be passed to this function. errstream should be used to log error messages.
Implemented in bm::TargetParserBasicWithDynModules, and bm::TargetParserBasic.
1.8.17