#define FIFTYONE_DEGREES_EXCEPTION_FAILED
Macro to test if the exception has been set and is failed.
Definition exceptions.h:208
FIFTYONE_DEGREES_RESULTS_INLINE void fiftyoneDegreesResultsEvaluate(fiftyoneDegreesResultsBase *results, byte componentIndex, fiftyoneDegreesException *exception)
Walks the component's graph if it is pending, and marks it walked whether or not the walk succeeds,...
Definition results.h:244
FIFTYONE_DEGREES_RESULTS_INLINE void fiftyoneDegreesResultsEvaluateAll(fiftyoneDegreesResultsBase *results, fiftyoneDegreesException *exception)
Walks every pending component in component order, stopping at the first walk that fails.
Definition results.h:267
#define FIFTYONE_DEGREES_RESULTS_PENDING_WORDS
Number of 32 bit words holding one bit for each possible component index.
Definition results.h:152
FIFTYONE_DEGREES_RESULTS_INLINE void fiftyoneDegreesResultsPendingClear(fiftyoneDegreesResultsBase *results)
Marks every component as walked, before the results are populated again.
Definition results.h:203
FIFTYONE_DEGREES_RESULTS_INLINE bool fiftyoneDegreesResultsHasOverrideValue(fiftyoneDegreesResultsBase *results, uint32_t availableIndex)
Returns true if the results hold an override value for the property, so that a read can answer withou...
Definition results.h:295
fiftyoneDegreesResultsBase * fiftyoneDegreesResultsInit(fiftyoneDegreesResultsBase *results, void *dataSet)
Initialise a set of results by setting the data set they are associated with.
void(* fiftyoneDegreesResultsEvaluateMethod)(struct fiftyone_degrees_results_base_t *results, byte componentIndex, fiftyoneDegreesException *exception)
Walks the graph of one component for the results, setting what a read of the component's properties n...
Definition results.h:144
#define FIFTYONE_DEGREES_RESULTS_INLINE
Marks a function defined in this header, so that it adds no name to the libraries.
Definition results.h:196
FIFTYONE_DEGREES_RESULTS_INLINE bool fiftyoneDegreesResultsWalkWhenPopulated(const fiftyoneDegreesDataSetBase *dataSet)
Returns true if populating the results walks the graph of each component they answer for,...
Definition results.h:230
fiftyoneDegreesResultsNoValueReason
Enum containing reasons which cause a value to not be present or valid.
Definition results.h:95
FIFTYONE_DEGREES_RESULTS_INLINE void fiftyoneDegreesResultsPendingSet(fiftyoneDegreesResultsBase *results, byte componentIndex)
Marks the component as waiting for the first read of one of its properties.
Definition results.h:214
FIFTYONE_DEGREES_RESULTS_INLINE uint32_t fiftyoneDegreesResultsGetOverrideValues(fiftyoneDegreesResultsBase *results, uint32_t availableIndex, fiftyoneDegreesList *values)
Adds the override values the results hold for the property to the list.
Definition results.h:314
@ FIFTYONE_DEGREES_RESULTS_NO_VALUE_REASON_DIFFERENCE
The difference value is higher than the threshold, see the Pattern API.
Definition results.h:96
@ FIFTYONE_DEGREES_RESULTS_NO_VALUE_REASON_NO_MATCHED_NODES
No hash nodes were matched, see the Hash API.
Definition results.h:100
@ FIFTYONE_DEGREES_RESULTS_NO_VALUE_REASON_INVALID_PROPERTY
The requested property does not exist, or is not a required property.
Definition results.h:104
@ FIFTYONE_DEGREES_RESULTS_NO_VALUE_REASON_NO_RESULT_FOR_PROPERTY
There is no result which contains a value for the requested property.
Definition results.h:109
@ FIFTYONE_DEGREES_RESULTS_NO_VALUE_REASON_UNKNOWN
None of the above.
Definition results.h:131
@ FIFTYONE_DEGREES_RESULTS_NO_VALUE_REASON_NO_RESULTS
There are no results to get a value from.
Definition results.h:116
@ FIFTYONE_DEGREES_RESULTS_NO_VALUE_REASON_HIGH_RISK
The match is deemed high risk of containing incorrect or misleading results.
Definition results.h:127
@ FIFTYONE_DEGREES_RESULTS_NO_VALUE_REASON_NULL_PROFILE
The results contain a null profile for the required component.
Definition results.h:123
@ FIFTYONE_DEGREES_RESULTS_NO_VALUE_REASON_TOO_MANY_VALUES
There are too many values to be expressed as the requested type.
Definition results.h:119
Base data set structure which contains the 'must have's for all data sets.
Definition dataset.h:107
fiftyoneDegreesPropertiesAvailable * available
Available properties.
Definition dataset.h:129
Structure used to represent a 51Degrees exception and passed into methods that might generate excepti...
Definition exceptions.h:115
An array of properties and values to use when getting override values.
Definition overrides.h:119
fiftyoneDegreesPropertyNamed * named
The names the caller gave, in the caller's order, or NULL when the caller named no property.
Definition properties.h:215
Base results structure which any processing results should extend.
Definition results.h:158
uint32_t pending[FIFTYONE_DEGREES_RESULTS_PENDING_WORDS]
One bit for each component whose graph is still to be walked.
Definition results.h:164
fiftyoneDegreesResultsEvaluateMethod evaluate
Walks one component's graph, or NULL if the results walk none on a read.
Definition results.h:160
fiftyoneDegreesOverrideValueArray * overrides
Values from the evidence that override the values of properties, or NULL if the results hold none.
Definition results.h:169
void * dataSet
Pointer to the data set associated with the results.
Definition results.h:159
