\r\n

51Degrees Device Detection C/C++  4.4

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.

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

Collaboration diagram for fiftyoneDegreesCollectionItem:

[legend]

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/runner/work/device-detection-cxx/device-detection-cxx/common/device-detection-cxx/src/common-cxx/collection.h
On This Page