Holds values for client options.
More...
#include <client_options.hpp>
Holds values for client options.
Definition at line 11 of file client_options.hpp.
◆ ClientOptions() [1/2]
mbgl::ClientOptions::ClientOptions |
( |
| ) |
|
◆ ~ClientOptions()
mbgl::ClientOptions::~ClientOptions |
( |
| ) |
|
◆ ClientOptions() [2/2]
◆ clone()
◆ name()
const std::string& mbgl::ClientOptions::name |
( |
| ) |
const |
Gets the previously set (or default) client name.
- Returns
- client name
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ version()
const std::string& mbgl::ClientOptions::version |
( |
| ) |
const |
Gets the previously set (or default) client version.
- Returns
- client version
◆ withName()
Sets the client name.
- Parameters
-
- Returns
- ClientOptions for chaining options together.
◆ withVersion()
ClientOptions& mbgl::ClientOptions::withVersion |
( |
std::string |
version | ) |
|
Sets the client version.
- Parameters
-
- Returns
- ClientOptions for chaining options together.
The documentation for this class was generated from the following file: