XACC
|
#include <RuntimeOptions.hpp>
Public Member Functions | |
bool | exists (const std::string &key) |
Additional Inherited Members | |
Static Public Member Functions inherited from xacc::Singleton< RuntimeOptions > | |
static RuntimeOptions * | instance () |
static void | destroy () |
Protected Member Functions inherited from xacc::Singleton< RuntimeOptions > | |
Singleton () | |
virtual | ~Singleton () |
Static Protected Attributes inherited from xacc::Singleton< RuntimeOptions > | |
static RuntimeOptions * | instance_ |
The RuntimeOptions class is a Singleton mapping of string keys to string values. It is used throughout XACC to provide and share runtime options that are provided from XACC users via the command line.
|
inline |
Convenience method to get whether the give key exists in the RuntimeOptions.
key | The key to check exists |