Class to hold push subscriptions.
More...
#include <pushsubscription.hpp>
|
const bool | s_to_b (const string &str) const |
| Converts string to bool. More...
|
|
const Json::Value | get (const string &key) const |
| Returns the value of key as Json::Value. More...
|
|
const string | get_string (const string &key) const |
| Returns the value of key as std::string. More...
|
|
const uint_fast64_t | get_uint64 (const string &key) const |
| Returns the value of key as std::uint_fast64_t. More...
|
|
const double | get_double (const string &key) const |
| Returns the value of key as double. More...
|
|
const bool | get_bool (const string &key) const |
| Returns the value of key as bool. More...
|
|
const system_clock::time_point | get_time_point (const string &key) const |
| Returns the value of key as time_point. More...
|
|
const std::vector< string > | get_vector (const string &key) const |
| Returns the value of key as vector. More...
|
|
const std::uint_fast64_t | stouint64 (const string &str) const |
|
Class to hold push subscriptions.
- Since
- 0.14.0
◆ PushSubscription()
PushSubscription::PushSubscription |
( |
const string & |
json | ) |
|
|
explicit |
Constructs an PushSubscription object from a JSON string.
- Parameters
-
Entity()
Constructs an empty Entity object.
Definition: entity.cpp:70
◆ s_to_b()
const bool PushSubscription::s_to_b |
( |
const string & |
str | ) |
const |
|
protected |
Converts string to bool.
- Returns
true
if str is equal to "true", false
otherwise
81 if (str.compare(
"true") == 0)
The documentation for this class was generated from the following files: