◆ fiftyoneDegreesPropertyValueType
Enum of property types.
\r\n
51Degrees Device Detection C/C++
4.4
Property in a data set relating to a single component.
A property is stored in a properties collection and contains the meta data for a specific property in a data set.
A property can be fetched from a properties collection in one of two ways:
By Index : The fiftyoneDegreesPropertyGet method return the property at a specified index. This provides a way to access a property at a known index, or iterate over all properties.
By Name : If the index of a property is not known, then the property can be fetched using the fiftyoneDegreesPropertyGetByName method to find the property in a properties collection.
| struct | fiftyoneDegreesProperty
Property structure containing all the meta data relating to a property. More...
|
Enum of property types.
| fiftyoneDegreesProperty* fiftyoneDegreesPropertyGet | ( | fiftyoneDegreesCollection * | properties, |
| uint32_t | index, | ||
| fiftyoneDegreesCollectionItem * | item, | ||
| fiftyoneDegreesException * | exception | ||
| ) |
Gets the property at the requested index from the properties collection provided.
| fiftyoneDegreesProperty* fiftyoneDegreesPropertyGetByName | ( | fiftyoneDegreesCollection * | properties, |
| fiftyoneDegreesCollection * | strings, | ||
| const char * | requiredPropertyName, | ||
| fiftyoneDegreesCollectionItem * | item, | ||
| fiftyoneDegreesException * | exception | ||
| ) |
Gets the property with the requested name from the properties collection provided.
| fiftyoneDegreesString* fiftyoneDegreesPropertyGetCategory | ( | fiftyoneDegreesCollection * | stringsCollection, |
| fiftyoneDegreesProperty * | property, | ||
| fiftyoneDegreesCollectionItem * | item, | ||
| fiftyoneDegreesException * | exception | ||
| ) |
Returns the string category of the property using the item provided.
The collection item must be released when the caller is finished with the string.
| fiftyoneDegreesString* fiftyoneDegreesPropertyGetDescription | ( | fiftyoneDegreesCollection * | stringsCollection, |
| fiftyoneDegreesProperty * | property, | ||
| fiftyoneDegreesCollectionItem * | item, | ||
| fiftyoneDegreesException * | exception | ||
| ) |
Returns the string description of the property using the item provided.
The collection item must be released when the caller is finished with the string.
| fiftyoneDegreesString* fiftyoneDegreesPropertyGetName | ( | fiftyoneDegreesCollection * | stringsCollection, |
| fiftyoneDegreesProperty * | property, | ||
| fiftyoneDegreesCollectionItem * | item, | ||
| fiftyoneDegreesException * | exception | ||
| ) |
Returns the string name of the property using the item provided.
The collection item must be released when the caller is finished with the string.
| fiftyoneDegreesString* fiftyoneDegreesPropertyGetUrl | ( | fiftyoneDegreesCollection * | stringsCollection, |
| fiftyoneDegreesProperty * | property, | ||
| fiftyoneDegreesCollectionItem * | item, | ||
| fiftyoneDegreesException * | exception | ||
| ) |
Returns the string URL of the property using the item provided.
The collection item must be released when the caller is finished with the string.
| byte fiftyoneDegreesPropertyGetValueType | ( | fiftyoneDegreesCollection * | properties, |
| uint32_t | index, | ||
| fiftyoneDegreesException * | exception | ||
| ) |
Gets the value type for the property at the index in the collection.