51Degrees Device Detection C/C++  4.4

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

fiftyoneDegreesCollection Struct Reference

Detailed Description

All the shared methods and fields required by file, memory and cached collections.

The state field points to the specific collection data structure and handles.

Collaboration diagram for fiftyoneDegreesCollection:


Data Fields

fiftyoneDegreesCollectionGetMethod  get
Gets an entry into the item provided. More...
fiftyoneDegreesCollectionReleaseMethod  release
Releases the item handle.
fiftyoneDegreesCollectionFreeMethod  freeCollection
Frees collection and all items retrieved from the collection will become invalid.
void *  state
Pointer to data for memory, cache or file. More...
fiftyoneDegreesCollection *  next
The next collection implementation or NULL.
uint32_t  count
The number of items, or 0 if not available.
uint32_t  elementSize
The size of each entry, or 0 if variable length.
uint32_t  size
Number of bytes in the source data structure containing the collection's data.

Field Documentation

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