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

fiftyoneDegreesDataSetBase Struct Reference

Detailed Description

Base data set structure which contains the 'must have's for all data sets.

Collaboration diagram for fiftyoneDegreesDataSetBase:

[legend]

Data Fields

const char fileName [FIFTYONE_DEGREES_FILE_MAX_PATH]
 Path to the file used to initialise the data set.
const char masterFileName [FIFTYONE_DEGREES_FILE_MAX_PATH]
 Path to the file used to initialise the data set.
void * memoryToFree
 A pointer to the memory where the data within the data set is held.
bool isInMemory
 True if the data file has been read into continuous memory.
fiftyoneDegreesFilePool filePool
 Linked list of file readers.
fiftyoneDegreesResourceHandle * handle
 Pointer to the handle that tracks this data set instance.
fiftyoneDegreesPropertiesAvailable * available
 Available properties.
fiftyoneDegreesHeaders * uniqueHeaders
 Related HTTP headers.
fiftyoneDegreesOverridePropertyArray * overridable
 Array of properties that can be overridden.
fiftyoneDegreesIndicesPropertyProfile * indexPropertyProfile
 Index to look up profile values by property.
const void * config
 Pointer to the config used to create the dataset.

Field Documentation

◆ fileName

const char fiftyoneDegreesDataSetBase::fileName[FIFTYONE_DEGREES_FILE_MAX_PATH]

Path to the file used to initialise the data set.

This will either be the same as the master file name, or the path to the temp file being used.

◆ memoryToFree

void* fiftyoneDegreesDataSetBase::memoryToFree

A pointer to the memory where the data within the data set is held.

NULL if the entire data set is not held in memory, the caller is going to free the memory or there are a mixture of caches and partially allocated memory in use.


The documentation for this struct was generated from the following file: