ROSE  0.11.145.0
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 202 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. More...
 

Member Function Documentation

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::GroupedPositionalArguments, Rose::BinaryAnalysis::Partitioner2::Engine::FirstPositionalArguments, and Rose::BinaryAnalysis::Partitioner2::Engine::AllPositionalArguments.


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