\r\n

51Degrees Device Detection C/C++  4.5

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

FiftyoneDegrees::Common::EntityMetaDataBuilder Class Reference

Detailed Description

Meta data builder class contains static helper methods used when building meta data instances.

Inheritance diagram for FiftyoneDegrees::Common::EntityMetaDataBuilder:

[legend]

Static Protected Member Functions

Static Helpers

static string  getString (fiftyoneDegreesCollection *stringsCollection, uint32_t offset)
Get a copy of a string from the strings collection at the offset provided. More...
static string  getValue (fiftyoneDegreesCollection *stringsCollection, uint32_t offset, fiftyoneDegreesPropertyValueType storedValueType)
Get a copy of a binary value (as string) from the strings collection at the offset provided. More...

Member Function Documentation

◆ getString()

static string FiftyoneDegrees::Common::EntityMetaDataBuilder::getString ( fiftyoneDegreesCollection *   stringsCollection,
uint32_t   offset  
)
inline static protected

Get a copy of a string from the strings collection at the offset provided.

Parameters
stringsCollection - pointer to the collection to copy the string from
offset - offset in the strings collection of the string to copy
Returns
string copy of the string at the offset provided

◆ getValue()

static string FiftyoneDegrees::Common::EntityMetaDataBuilder::getValue ( fiftyoneDegreesCollection *   stringsCollection,
uint32_t   offset,
fiftyoneDegreesPropertyValueType   storedValueType  
)
inline static protected

Get a copy of a binary value (as string) from the strings collection at the offset provided.

Parameters
stringsCollection - pointer to the collection to copy the value (as string) from
offset - offset in the strings collection of the binary value to copy (as string)
storedValueType - format of byte array representation.
Returns
string describing contents of binary value the offset provided

The documentation for this class was generated from the following file:
  • /home/runner/work/device-detection-cxx/device-detection-cxx/common/device-detection-cxx/src/common-cxx/EntityMetaDataBuilder.hpp