51Degrees Device Detection C/C++  4.2

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

fiftyoneDegreesString Struct Reference

Detailed Description

String structure containing its value and size.

Examples
Hash/OfflineProcessing.c.

Collaboration diagram for fiftyoneDegreesString:

[legend]

Data Fields

int16_t  size
Size of the string in memory.
char  value
The first character of the string.
union {
   char   secondValue
If the string is an IP address, this will be the start byte.
   struct {
      fiftyoneDegreesFloat   lat
      fiftyoneDegreesFloat   lon
   }   coordinate
If the string is a coordinate, this will hold the value.
}  trail

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