23 #ifndef FIFTYONE_DEGREES_RESULTS_HASH_HPP 24 #define FIFTYONE_DEGREES_RESULTS_HASH_HPP 27 #include "../ResultsDeviceDetection.hpp" 32 class EngineHashTests;
35 namespace DeviceDetection {
66 friend class ::EngineHashTests;
78 shared_ptr<fiftyoneDegreesResourceManager> manager);
100 string getDeviceId(uint32_t resultIndex)
const;
108 int getIterations()
const;
117 int getDrift()
const;
127 int getDrift(uint32_t resultIndex)
const;
134 int getMatchedNodes()
const;
143 int getDifference()
const;
152 int getDifference(uint32_t resultIndex)
const;
159 int getMethod()
const;
168 int getMethod(uint32_t resultIndex)
const;
175 string getTrace()
const;
184 string getTrace(uint32_t resultIndex)
const;
192 string getDeviceId()
const;
194 int getUserAgents()
const;
196 string getUserAgent(
int resultIndex)
const;
203 void getValuesInternal(
204 int requiredPropertyIndex,
205 vector<string> &values);
207 bool hasValuesInternal(
int requiredPropertyIndex);
209 const char* getNoValueMessageInternal(
213 int requiredPropertyIndex);
222 int _jsHardwareProfileRequiredIndex;
Encapsulates the results of a Hash device detection engine's processing.
Definition: ResultsHash.hpp:65
51Degrees base namespace.
Definition: ComponentMetaDataBuilderHash.hpp:34
Array of items of type fiftyoneDegreesResultHash used to easily access and track the size of the arra...
Definition: hash.h:365
fiftyoneDegreesResultsNoValueReason
Enum containing reasons which cause a value to not be present or valid.
Definition: results.h:56
Encapsulates the results of a device detection engine's processing.
Definition: ResultsDeviceDetection.hpp:76
fiftyoneDegreesResultsHash ResultsHash
Synonym for fiftyoneDegreesResultsHash type.
Definition: fiftyone.h:50