RStudio Launcher Plugin SDK
1.1.3
A software development kit for creating plugins that work the the RStudio Launcher.
|
Concrete class which represents an option Value. More...
#include <Options.hpp>
Public Member Functions | |
Value () | |
Default Constructor. | |
Value (T &io_storeTo) | |
Constructor which takes an object to store the value to. More... | |
Value & | setDefaultValue (const T &in_defaultValue) |
Sets the default value of the option. More... | |
Friends | |
class | Options |
Concrete class which represents an option Value.
This class supports the following template types:
If a custom type is needed, treat the option value as a string and do the parsing and conversion from the string value.
T | The type of the option value. |
|
explicit |
Constructor which takes an object to store the value to.
io_storeTo | The object to store the option value to. The caller is responsible for ensuring that this object is alive when the option file is parsed. |
Value& rstudio::launcher_plugins::options::Value< T >::setDefaultValue | ( | const T & | in_defaultValue | ) |
Sets the default value of the option.
in_defaultValue | The default value of the option. |