DeviceAtlas C++ Api documentation
Classes | Public Member Functions | Public Attributes | Friends | List of all members
Mobi::Mtld::Da::DeliveryContext Class Reference
Inheritance diagram for Mobi::Mtld::Da::DeliveryContext:
Mobi::Mtld::Da::CommonDeliveryContext

Classes

class  const_iterator
 

Public Member Functions

 DeliveryContext (const DeviceAtlas &da_, const HttpHeaders &)
 
const PropertygetPropertyDescr (const char *propname, PropertyType *addAs)
 
const PropertygetPropertyDescr (size_t idx) const
 
void setProperty (const Property &, const Value *)
 
void setProperty (size_t, const Value *)
 
const ValuefindProperty (const Property &p) const
 
const ValuefindProperty (size_t) const
 
const DeviceAtlasgetAtlas () const
 
void refine (const std::vector< const Value *> &clientprops)
 
void refine (const char *cookieprops)
 
const ValuefindGlobalProperty (size_t) const
 
const ValuefindLocalProperty (size_t) const
 
bool operator() (const Node &cur, char *str, size_t offset)
 
const_iterator begin () const
 
const_iterator end () const
 
const_iterator find (const Property &) const
 
const_iterator find (const char *) const
 
size_t size () const
 
size_t totalsize () const
 
bool empty ()
 
const Valueoperator[] (const Property &) const
 
const Valueoperator[] (const char *propname) const
 
- Public Member Functions inherited from Mobi::Mtld::Da::CommonDeliveryContext
 CommonDeliveryContext (const CommonDeviceAtlas &da_, const CommonHttpHeaders &)
 
 __attribute__ ((malloc)) char *strdup(const char *from
 
void getProperty (const Property &prop, const Value *&value)
 
void getProperty (const Property &prop, int &value)
 
void getProperty (const Property &prop, const char *&value)
 
void getProperty (const Property &prop, bool &value)
 
void getProperty (const char *prop, const Value *&value)
 
void getProperty (const char *prop, int &value)
 
void getProperty (const char *prop, const char *&value)
 
void getProperty (const char *prop, bool &value)
 
bool hasProperty (const Property &prop)
 
template<typename T >
bool contains (const char *propname, T tocheck)
 
template<>
bool contains (const char *, const char *)
 

Public Attributes

std::vector< size_t > * rfskp
 
- Public Attributes inherited from Mobi::Mtld::Da::CommonDeliveryContext
Util::Alloc< 1024 *3 > allocator
 
const Value ** globalAttrs
 
size_t len = -1)
 

Friends

class const_iterator
 

Member Function Documentation

◆ findGlobalProperty()

const Value * Mobi::Mtld::Da::DeliveryContext::findGlobalProperty ( size_t  index) const

Bunch of real private internal methods, symbols hiddens from the public eyes. only used by the API itself The proper boundaries checking will be done by the methods consumers


The documentation for this class was generated from the following files: