51Degrees Device Detection C/C++  4.1

A device detection library that is used natively or by 51Degrees products

fiftyoneDegreesCollectionItem Struct Reference

Detailed Description

Used to store a handle to the underlying item that could be used to release the item when it's finished with.

Also contains a reference to the data structure used to handle memory allocation enabling memory to be reused across multiple gets reducing the frequency of memory operations.

Hash/ReloadFromFile.c, Hash/ReloadFromMemory.c, and Hash/StronglyTyped.c.

Collaboration diagram for fiftyoneDegreesCollectionItem:


Data Fields

fiftyoneDegreesData  data
Item data including allocated memory.
void *  handle
A handle that relates to the data. More...
fiftyoneDegreesCollection *  collection
Collection the item came from which may not have been set. More...

Field Documentation

◆ handle

void* fiftyoneDegreesCollectionItem::handle

A handle that relates to the data.

i.e. a cache node

The documentation for this struct was generated from the following file:
  • /home/vsts/work/1/s/apis/device-detection-cxx/src/common-cxx/collection.h
On This Page