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

Description

Nth group of arguments are the specimen.

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

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

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

Public Member Functions

 GroupedPositionalArguments ()
 Constructor returning first group of arguments.
 
 GroupedPositionalArguments (size_t)
 Constructor returning nth group of 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::GroupedPositionalArguments::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: