ROSE 0.11.145.147
|
How to parse positional command-line arguments.
Definition at line 203 of file Partitioner2/Engine.h.
#include <Rose/BinaryAnalysis/Partitioner2/Engine.h>
Public Member Functions | |
virtual std::vector< std::string > | specimen (const std::vector< std::string > &) const =0 |
Return specimen from positional arguments. | |
|
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.