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.
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.

Member Function Documentation

◆ getString()

string FiftyoneDegrees::Common::EntityMetaDataBuilder::getString ( fiftyoneDegreesCollection * stringsCollection,
uint32_t offset )
inlinestaticprotected

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

Parameters
stringsCollectionpointer to the collection to copy the string from
offsetoffset in the strings collection of the string to copy
Returns
string copy of the string at the offset provided

◆ getValue()

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

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

Parameters
stringsCollectionpointer to the collection to copy the value (as string) from
offsetoffset in the strings collection of the binary value to copy (as string)
storedValueTypeformat 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: