ROSE 0.11.145.147
Public Member Functions | List of all members
Rose::BinaryAnalysis::Partitioner2::Engine::FirstPositionalArguments Class Reference

Description

Up to first N arguments are the specimen.

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

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

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

Public Member Functions

 FirstPositionalArguments (size_t n)
 Constructor returning up to n arguments.
 
virtual std::vector< std::string > specimen (const std::vector< std::string > &) const override
 Return specimen from positional arguments.
 

Member Function Documentation

◆ specimen()

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

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.

Implements Rose::BinaryAnalysis::Partitioner2::Engine::PositionalArgumentParser.


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