DeliveryContext class for triggering the API lookup and acts as a container map itself to hold the properties data, ie [], find, begin and end operators are overrided for this purpose.
More...
#include <devatlas.h>
|
| DeliveryContext (const DeviceAtlas &, const HttpHeaders &) |
|
| DeliveryContext (const DeviceAtlas &, std::string &id, std::string &cs=emptys) |
| API lookup with identifier that does not have any particular origin with an optional client-side value.
|
|
| DeliveryContext (const DeviceAtlas &, std::string_view id, std::optional< std::string_view > cs) |
| API lookup with identifier that does not have any particular origin with an optional client-side value as string_view. Available only from C++17.
|
|
const_iterator | begin () const |
|
const_iterator | end () const |
|
const_iterator | find (const Property &) const |
|
const_iterator | find (const char *) const |
|
size_t | size () const |
|
bool | empty () const |
|
bool | contains (const char *propname) |
|
template<typename T > |
bool | contains (const char *propname, const T value) |
| checks if propname equals to value
|
|
const Value * | operator[] (const Property &) const noexcept |
| [] operator overrides return nullptr if property index is non-existent
|
|
const Value * | operator[] (const char *) const noexcept |
| [] operator overrides return nullptr if property name is non-existent
|
|
std::optional< const Value * > | operator[] (std::string_view) const noexcept |
| [] operator overrides compatible with the type std::string_view. Available only from C++17
|
|
template<> |
bool | contains (const char *propname, const char *value) |
|
| CommonDeliveryContext (const CommonDeliveryContext &)=delete |
|
CommonDeliveryContext & | operator= (const CommonDeliveryContext &)=delete |
|
| CommonDeliveryContext (CommonDeliveryContext &&)=delete |
|
size_t | size () const |
|
bool | empty () const |
|
bool | contains (const char *) |
|
|
class | DeviceAtlas |
|
class | HttpHeaders |
|
class | const_iterator |
|
DeliveryContext class for triggering the API lookup and acts as a container map itself to hold the properties data, ie [], find, begin and end operators are overrided for this purpose.
The documentation for this class was generated from the following file: