Options for compiling a Program.
More...
#include <Options.hpp>
|
| Options () |
| empty Options constructor
|
|
template<typename T > |
| Options (const T &t) |
|
template<typename T , typename... TS> |
| Options (const T &t, const TS &... ts) |
|
void | insert (const std::string &op) |
|
void | insert (const std::string &name, const std::string &value) |
|
template<typename T > |
void | insertOptions (const T &t) |
|
template<typename T , typename... TS> |
void | insertOptions (const T &t, const TS &... ts) |
|
const char ** | content () const |
|
auto | numOptions () const |
|
◆ Options() [1/2]
template<typename T >
yacx::Options::Options |
( |
const T & |
t | ) |
|
construct Options with one Option
- Template Parameters
-
- Parameters
-
◆ Options() [2/2]
template<typename T , typename... TS>
yacx::Options::Options |
( |
const T & |
t, |
|
|
const TS &... |
ts |
|
) |
| |
construct Options with multiple Option
- Template Parameters
-
T | optiontype, e.g. FMAD |
TS | Option |
- Parameters
-
t | optiontype, e.g. FMAD |
ts | Option |
◆ content()
const char ** Options::content |
( |
| ) |
const |
- Returns
- c-style string array with all options
◆ insert() [1/2]
void Options::insert |
( |
const std::string & |
name, |
|
|
const std::string & |
value |
|
) |
| |
insert Option
- Parameters
-
name | e.g. "--fmad" |
value | e.g. "false" |
◆ insert() [2/2]
void Options::insert |
( |
const std::string & |
op | ) |
|
◆ insertOptions() [1/2]
template<typename T >
void yacx::Options::insertOptions |
( |
const T & |
t | ) |
|
insert Option
- Template Parameters
-
- Parameters
-
◆ insertOptions() [2/2]
template<typename T , typename... TS>
void yacx::Options::insertOptions |
( |
const T & |
t, |
|
|
const TS &... |
ts |
|
) |
| |
insert multiple Options with multiple Option
- Template Parameters
-
T | optiontype, e.g. FMAD |
TS | Option |
- Parameters
-
t | optiontype, e.g. FMAD |
ts | Option |
◆ numOptions()
auto yacx::Options::numOptions |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following files: