DeviceAtlas C++ interface Api
Classes | Typedefs | Functions | Variables
com::deviceatlas::da Namespace Reference

Device Detection API's namespace More...

Classes

class  DeliveryContext
 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...
 
class  DeviceAtlas
 DeviceAtlas class represents the API data mapped to memory through reading a JSON file or a memory mapped binary file. More...
 
struct  DeviceConfig
 DeviceConfig class to hold the API configuration regarding cache size and the client cookie name. More...
 
struct  DeviceDwConfig
 Optional download data config offers single and scheduled download modes using standard C++ type to determine point in time for the latter. More...
 
class  HttpHeaders
 HttpHeaders class is the place holder of the HTTP headers user data to be used for the lookup. More...
 

Typedefs

using DaCachePair = std::pair< std::map< size_t, PVPair >, std::map< std::string, size_t > >
 
using DaCache = caches::fixed_sized_cache< XXH64_hash_t, DaCachePair, caches::LRUCachePolicy >
 

Functions

size_t p_read_fn (void *a, size_t max, char *buf)
 
da_status_t p_setpos_fn (void *a, off_t pos)
 

Variables

constexpr const char *const defaultCl = "DAPROPS"
 

Detailed Description

Device Detection API's namespace