#include <OptionsProvider.hpp>
The OptionsProvider interface enables derived subclasses to provide a description of any and all command line options that they can take to drive and control their execution and behavior.
virtual xacc::OptionsProvider::~OptionsProvider |
( |
| ) |
|
|
inlinevirtual |
virtual OptionPairs xacc::OptionsProvider::getOptions |
( |
| ) |
|
|
inlinevirtual |
virtual bool xacc::OptionsProvider::handleOptions |
( |
const std::map< std::string, std::string > & |
arg_map | ) |
|
|
inlinevirtual |
Given user-input command line options, perform some operation. Returns true if runtime should exit, false otherwise.
- Parameters
-
map | The mapping of options to values |
- Returns
- exit True if exit, false otherwise
Reimplemented in xacc::Compiler.
The documentation for this class was generated from the following file: