XACC
Public Member Functions | List of all members
xacc::RuntimeOptions Class Reference

#include <RuntimeOptions.hpp>

Inheritance diagram for xacc::RuntimeOptions:
xacc::Singleton< RuntimeOptions >

Public Member Functions

bool exists (const std::string &key)
 

Additional Inherited Members

- Static Public Member Functions inherited from xacc::Singleton< RuntimeOptions >
static RuntimeOptionsinstance ()
 
static void destroy ()
 
- Protected Member Functions inherited from xacc::Singleton< RuntimeOptions >
 Singleton ()
 
virtual ~Singleton ()
 
- Static Protected Attributes inherited from xacc::Singleton< RuntimeOptions >
static RuntimeOptionsinstance_
 

Detailed Description

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.

Member Function Documentation

bool xacc::RuntimeOptions::exists ( const std::string &  key)
inline

Convenience method to get whether the give key exists in the RuntimeOptions.

Parameters
keyThe key to check exists

The documentation for this class was generated from the following file: