ROSE  0.11.145.0
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 232 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. More...
 
 GroupedPositionalArguments (size_t)
 Constructor returning nth group of 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::GroupedPositionalArguments::GroupedPositionalArguments ( )

Constructor returning first group of arguments.

Rose::BinaryAnalysis::Partitioner2::Engine::GroupedPositionalArguments::GroupedPositionalArguments ( size_t  )
explicit

Constructor returning nth group of arguments.

Member Function Documentation

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: