ROSE 0.11.145.192
Public Member Functions | List of all members
Rose::BinaryAnalysis::Partitioner2::Engine::PositionalArgumentParser Class Referenceabstract

Description

How to parse positional command-line arguments.

Definition at line 203 of file Partitioner2/Engine.h.

#include <Rose/BinaryAnalysis/Partitioner2/Engine.h>

Inheritance diagram for Rose::BinaryAnalysis::Partitioner2::Engine::PositionalArgumentParser:
Inheritance graph
[legend]

Public Member Functions

virtual std::vector< std::string > specimen (const std::vector< std::string > &) const =0
 Return specimen from positional arguments.
 

Member Function Documentation

◆ specimen()

virtual std::vector< std::string > Rose::BinaryAnalysis::Partitioner2::Engine::PositionalArgumentParser::specimen ( const std::vector< std::string > &  ) const
pure virtual

Return specimen from positional arguments.

Given a list of positional arguments from the command-line (i.e., the stuff that comes after the switches), return those positional arguments that represent the specimen and which are used to choose the engine subclass.

The default implementation in the Engine base class just returns all input arguments.

Implemented in Rose::BinaryAnalysis::Partitioner2::Engine::AllPositionalArguments, Rose::BinaryAnalysis::Partitioner2::Engine::FirstPositionalArguments, Rose::BinaryAnalysis::Partitioner2::Engine::AllButLastArguments, and Rose::BinaryAnalysis::Partitioner2::Engine::GroupedPositionalArguments.


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