Class for initializing Options.
More...
#include <Options.hpp>
|
| Init (Options &in_owner) |
| Helper class which initializes Options. More...
|
|
template<class T > |
Init & | operator() (const char *in_name, Value< T > &in_value, const char *in_description) |
| Operator which initializes a specific option value. More...
|
|
template<class T > |
Init & | operator() (const char *in_name, Value< T > &&in_value, const char *in_description) |
| Operator which initializes a specific option value. More...
|
|
Class for initializing Options.
◆ Init()
rstudio::launcher_plugins::options::Options::Init::Init |
( |
Options & |
in_owner | ) |
|
|
explicit |
Helper class which initializes Options.
- Parameters
-
in_owner | The Options object which owns this init object. |
◆ operator()() [1/2]
template<class T >
Init& rstudio::launcher_plugins::options::Options::Init::operator() |
( |
const char * |
in_name, |
|
|
Value< T > && |
in_value, |
|
|
const char * |
in_description |
|
) |
| |
Operator which initializes a specific option value.
- Template Parameters
-
- Parameters
-
in_name | The name of the option. |
in_value | The value object, which holds the default and the storage object. The Value object is not usable after this call. |
in_description | The description of the option. |
- Returns
- A reference to this Init object.
◆ operator()() [2/2]
template<class T >
Init& rstudio::launcher_plugins::options::Options::Init::operator() |
( |
const char * |
in_name, |
|
|
Value< T > & |
in_value, |
|
|
const char * |
in_description |
|
) |
| |
Operator which initializes a specific option value.
- Template Parameters
-
- Parameters
-
in_name | The name of the option. |
in_value | The value object, which holds the default and the storage object. The Value object is not usable after this call. |
in_description | The description of the option. |
- Returns
- A reference to this Init object.
The documentation for this class was generated from the following file:
- /var/lib/jenkins/workspace/IDE/launcher-plugin-sdk/master/sdk/include/options/Options.hpp