Constructors and Destructors |
| ResultsHash (fiftyoneDegreesResultsHash *results, shared_ptr< fiftyoneDegreesResourceManager > manager)
Create a new instance of Results from the results structure provided. More...
|
virtual
| ~ResultsHash ()
Release the reference to the underlying results and and associated data set.
|
Metric Getters |
string
| getDeviceId (uint32_t resultIndex) const
Returns the unique device id if the Id property was included in the required list of properties when the Provider was constructed. More...
|
int
| getIterations () const
Get the number of iterations carried out in order to find a match. More...
|
int
| getDrift () const
Returns the maximum drift for a matched substring from the character position where it was expected to be found. More...
|
int
| getDrift (uint32_t resultIndex) const
Returns the drift for a matched substring from the character position where it was expected to be found. More...
|
int
| getMatchedNodes () const
Returns the number of hash nodes matched within the evidence. More...
|
int
| getDifference () const
Returns the total difference between the results returned and the target User-Agents. More...
|
int
| getDifference (uint32_t resultIndex) const
Returns the difference between the result returned and the target User-Agent. More...
|
int
| getMethod () const
Returns the method used to determine the match result. More...
|
int
| getMethod (uint32_t resultIndex) const
Returns the method used to determine the match result. More...
|
string
| getTrace () const
Get the trace route in a readable format showing the hash nodes which were visited during processing. More...
|
string
| getTrace (uint32_t resultIndex) const
Get the trace route in a readable format for the result index specified showing the hash nodes which were visited during processing. More...
|
DeviceDetection::ResultsDeviceDetection Implementation |
string
| getDeviceId () const
Returns the unique device id if the Id property was included in the required list of properties when the Provider was constructed. More...
|
int
| getUserAgents () const
Returns the number of different User-Agents that were used in the results. More...
|
string
| getUserAgent (int resultIndex) const
|
|
| ResultsDeviceDetection (fiftyoneDegreesResultsDeviceDetection *results, shared_ptr< fiftyoneDegreesResourceManager > manager)
Create a new instance of Results from the results structure provided. More...
|
|
| ResultsBase (fiftyoneDegreesResultsBase *results, shared_ptr< fiftyoneDegreesResourceManager > manager)
Create a new instance of Results from the results structure provided. More...
|
virtual
| ~ResultsBase ()
Free any memory associated with the results and release any resource handles.
|
int
| getAvailableProperties () const
Get the number of available properties contained in the Results instance. More...
|
bool
| containsProperty (const string &propertyName) const
Get whether or not this results instance contains a value for the requested property. More...
|
vector< string >
| getProperties () const
Get the names of the properties which are available in the Results instance. More...
|
string
| getPropertyName (int requiredPropertyIndex) const
Get the name of the property at the require property index, or an empty string if the required property index is invalid. More...
|
Value< vector< string > >
| getValues (const char *propertyName)
Get a vector with all values associated with the required property name. More...
|
Value< vector< string > >
| getValues (const string &propertyName)
Get a vector with all values associated with the required property name. More...
|
Value< vector< string > >
| getValues (const string *propertyName)
Get a vector with all values associated with the required property name. More...
|
Value< vector< string > >
| getValues (int requiredPropertyIndex)
Get a vector with all values associated with the required property index. More...
|
Value< string >
| getValueAsString (const char *propertyName)
Get a string representation of the value associated with the required property name. More...
|
Value< string >
| getValueAsString (const string &propertyName)
Get a string representation of the value associated with the required property name. More...
|
Value< string >
| getValueAsString (const string *propertyName)
Get a string representation of the value associated with the required property name. More...
|
virtual Value< string >
| getValueAsString (int requiredPropertyIndex)
Get a string representation of the value associated with the required property index. More...
|
Value< bool >
| getValueAsBool (const char *propertyName)
Get a boolean representation of the value associated with the required property name. More...
|
Value< bool >
| getValueAsBool (const string &propertyName)
Get a boolean representation of the value associated with the required property name. More...
|
Value< bool >
| getValueAsBool (const string *propertyName)
Get a boolean representation of the value associated with the required property name. More...
|
virtual Value< bool >
| getValueAsBool (int requiredPropertyIndex)
Get a boolean representation of the value associated with the required property index. More...
|
Value< int >
| getValueAsInteger (const char *propertyName)
Get an integer representation of the value associated with the required property name. More...
|
Value< int >
| getValueAsInteger (const string &propertyName)
Get an integer representation of the value associated with the required property name. More...
|
Value< int >
| getValueAsInteger (const string *propertyName)
Get an integer representation of the value associated with the required property name. More...
|
virtual Value< int >
| getValueAsInteger (int requiredPropertyIndex)
Get an integer representation of the value associated with the required property index. More...
|
Value< double >
| getValueAsDouble (const char *propertyName)
Get a double representation of the value associated with the required property name. More...
|
Value< double >
| getValueAsDouble (const string &propertyName)
Get a double representation of the value associated with the required property name. More...
|
Value< double >
| getValueAsDouble (const string *propertyName)
Get a double representation of the value associated with the required property name. More...
|
virtual Value< double >
| getValueAsDouble (int requiredPropertyIndex)
Get a double representation of the value associated with the required property index. More...
|