The IberboxSettings class.
More...
◆ IberboxSettings() [1/2]
iberbox::IberboxSettings::IberboxSettings |
( |
| ) |
|
IberboxSettings default constructor.
Using this constructor, the working directory will NOT be set unless setWorkingDirectory is explicitly used.
◆ IberboxSettings() [2/2]
iberbox::IberboxSettings::IberboxSettings |
( |
const std::string & |
workingDirectory | ) |
|
IberboxSettings alternative constructor.
As well as initializing the class, this constructor will set the working directory with the parameter.
- Parameters
-
workingDirectory | The working directory |
◆ ~IberboxSettings()
virtual iberbox::IberboxSettings::~IberboxSettings |
( |
| ) |
|
|
virtual |
◆ getUserAgent()
std::string iberbox::IberboxSettings::getUserAgent |
( |
| ) |
|
Gets the current user agent.
- Returns
- The current user agent.
◆ getWorkingDirectory()
std::string iberbox::IberboxSettings::getWorkingDirectory |
( |
| ) |
|
Gets the working directory path.
- Returns
- The current working directory path.
◆ setUserAgent()
void iberbox::IberboxSettings::setUserAgent |
( |
const std::string & |
userAgent | ) |
|
Sets the user agent.
- Parameters
-
userAgent | The new user agent. |
◆ setWorkingDirectory()
void iberbox::IberboxSettings::setWorkingDirectory |
( |
const std::string & |
path | ) |
|
Sets the working directory.
- Parameters
-
path | The path to the new working directory. |
The documentation for this class was generated from the following file: