ROSE  0.11.145.0
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 223 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. More...
 
virtual std::vector< std::string > specimen (const std::vector< std::string > &) const override
 Return specimen from positional arguments. More...
 

Constructor & Destructor Documentation

Rose::BinaryAnalysis::Partitioner2::Engine::FirstPositionalArguments::FirstPositionalArguments ( size_t  n)
explicit

Constructor returning up to n arguments.

Member Function Documentation

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: