bool fiftyoneDegreesValueIsWeighted(const fiftyoneDegreesValue *value)
Returns true if the value carries a masked weight.
const fiftyoneDegreesValue * fiftyoneDegreesValueGetByName(const fiftyoneDegreesCollection *values, const fiftyoneDegreesCollection *strings, const fiftyoneDegreesProperty *property, const char *valueName, fiftyoneDegreesCollectionItem *item, fiftyoneDegreesException *exception)
Get the value for the requested name from the collection provided.
const fiftyoneDegreesString * fiftyoneDegreesValueGetDescription(const fiftyoneDegreesCollection *strings, const fiftyoneDegreesValue *value, fiftyoneDegreesCollectionItem *item, fiftyoneDegreesException *exception)
Returns the string description of the value using the item provided.
uint16_t fiftyoneDegreesValueGetWeight(const fiftyoneDegreesValue *value)
Gets the weight from a Value record as a uint16_t (0–65535), or 0 if the value is not weighted.
const fiftyoneDegreesString * fiftyoneDegreesValueGetUrl(const fiftyoneDegreesCollection *strings, const fiftyoneDegreesValue *value, fiftyoneDegreesCollectionItem *item, fiftyoneDegreesException *exception)
Returns the string URL of the value using the item provided.
const fiftyoneDegreesString * fiftyoneDegreesValueGetName(const fiftyoneDegreesCollection *strings, const fiftyoneDegreesValue *value, fiftyoneDegreesCollectionItem *item, fiftyoneDegreesException *exception)
Returns the string name of the value using the item provided.
long fiftyoneDegreesValueGetIndexByName(fiftyoneDegreesCollection *values, fiftyoneDegreesCollection *strings, fiftyoneDegreesProperty *property, const char *valueName, fiftyoneDegreesException *exception)
Get index of the value for the requested name from the collection provided.
long fiftyoneDegreesValueGetIndexByNameAndType(const fiftyoneDegreesCollection *values, const fiftyoneDegreesCollection *strings, const fiftyoneDegreesProperty *property, fiftyoneDegreesPropertyValueType storedValueType, const char *valueName, fiftyoneDegreesException *exception)
Get index of the value for the requested name from the collection provided.
const fiftyoneDegreesValue * fiftyoneDegreesValueGet(const fiftyoneDegreesCollection *values, uint32_t valueIndex, fiftyoneDegreesCollectionItem *item, fiftyoneDegreesException *exception)
Gets the value for the requested index from the collection provided.
const fiftyoneDegreesStoredBinaryValue * fiftyoneDegreesValueGetContent(const fiftyoneDegreesCollection *strings, const fiftyoneDegreesValue *value, fiftyoneDegreesPropertyValueType storedValueType, fiftyoneDegreesCollectionItem *item, fiftyoneDegreesException *exception)
Returns the contents of the value using the item provided.
const fiftyoneDegreesValue * fiftyoneDegreesValueGetByNameAndType(const fiftyoneDegreesCollection *values, const fiftyoneDegreesCollection *strings, const fiftyoneDegreesProperty *property, fiftyoneDegreesPropertyValueType storedValueType, const char *valueName, fiftyoneDegreesCollectionItem *item, fiftyoneDegreesException *exception)
Get the value for the requested name from the collection provided.
All the shared methods and fields required by file, memory and cached collections.
Definition collection.h:408
Used to store a handle to the underlying item that could be used to release the item when it's finish...
Definition collection.h:315
Structure used to represent a 51Degrees exception and passed into methods that might generate excepti...
Definition exceptions.h:115
Property structure containing all the meta data relating to a property.
Definition property.h:75
Definition string.h:97
Value structure containing meta data relating to the value.
Definition value.h:85
const int32_t urlOffsetOrWeight
The offset in the strings structure to the value URL, or a masked weight if upper 2 bytes == 0xFF00 (...
Definition value.h:94
const int16_t propertyIndex
Index of the property the value relates to.
Definition value.h:86
const int32_t nameOffset
The offset in the strings structure to the value name.
Definition value.h:87
const int32_t descriptionOffset
The offset in the strings structure to the value description.
Definition value.h:91
"Packed" value that can be present inside "strings" of dataset.
Definition storedBinaryValue.h:85
