DeviceAtlas C++ interface Api
Classes | Public Member Functions | Friends | List of all members
com::deviceatlas::ci::DeliveryContext Class Reference

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>

Inheritance diagram for com::deviceatlas::ci::DeliveryContext:
com::deviceatlas::CommonDeliveryContext

Classes

class  const_iterator
 

Public Member Functions

 DeliveryContext (const Carrier &, const HttpHeaders &)
 
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)
 
const std::string realip () const
 
const valueset operator[] (const Property &) const noexcept
 [] operator overrides return nullptr if property index is non-existent
 
const valueset operator[] (const char *) const noexcept
 [] operator overrides return nullptr if property name is non-existent
 
std::optional< const valueset > operator[] (std::string_view) const noexcept
 [] operator overrides compatible with the type std::string_view. Available only from C++17
 
- Public Member Functions inherited from com::deviceatlas::CommonDeliveryContext
 CommonDeliveryContext (const CommonDeliveryContext &)=delete
 
CommonDeliveryContextoperator= (const CommonDeliveryContext &)=delete
 
 CommonDeliveryContext (CommonDeliveryContext &&)=delete
 
size_t size () const
 
bool empty () const
 
bool contains (const char *)
 

Friends

class Carrier
 
class HttpHeaders
 
class const_iterator
 

Detailed Description

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: