Wrapper class for event arguments. Used in external application bindings.
More...
#include <genericserviceclient.hpp>
|
| | EventArguments (const map< string, string > &argumentMap) |
| | Construct event arguments from argument map.
|
| |
| vector< string > | getKeys () |
| | Get all the keys.
|
| |
| string | getValue (const string &key) |
| | Get value with a key.
|
| |
| bool | hasKey (const string &key) |
| | Checks whether specific key is present.
|
| |
Wrapper class for event arguments. Used in external application bindings.
◆ EventArguments()
| kanzi::connect::GenericServiceClient::EventCallbackEx::EventArguments::EventArguments |
( |
const map< string, string > & | argumentMap | ) |
|
|
explicit |
Construct event arguments from argument map.
◆ getKeys()
| vector< string > kanzi::connect::GenericServiceClient::EventCallbackEx::EventArguments::getKeys |
( |
| ) |
|
Get all the keys.
- Returns
- vector of keys currently held.
◆ getValue()
| string kanzi::connect::GenericServiceClient::EventCallbackEx::EventArguments::getValue |
( |
const string & | key | ) |
|
Get value with a key.
- Parameters
-
- Returns
- value indexed with the key. empty string if not found.
◆ hasKey()
| bool kanzi::connect::GenericServiceClient::EventCallbackEx::EventArguments::hasKey |
( |
const string & | key | ) |
|
Checks whether specific key is present.
- Parameters
-
- Returns
- true if there is a value with the key.
The documentation for this class was generated from the following file:
- connect/genericserviceclient.hpp