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

Public Member Functions

 CommonDeliveryContext (const CommonDeviceAtlas &da_, const CommonHttpHeaders &)
 
 __attribute__ ((malloc)) char *strdup(const char *from
 
virtual size_t size () const =0
 
virtual bool empty ()=0
 
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)
 
virtual const ValuefindProperty (const Property &p) const =0
 
virtual const ValuefindProperty (size_t) const =0
 
virtual void setProperty (const Property &, const Value *)=0
 
virtual void setProperty (size_t, const Value *)=0
 
virtual const PropertygetPropertyDescr (const char *, PropertyType *)=0
 
virtual const PropertygetPropertyDescr (size_t idx) const =0
 
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)
 
virtual const Valueoperator[] (const Property &) const =0
 
virtual const Valueoperator[] (const char *propname) const =0
 
template<>
bool contains (const char *, const char *)
 

Public Attributes

Util::Alloc< 1024 *3 > allocator
 
const Value ** globalAttrs
 
size_t len = -1)
 

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