Constructor |
| ResultsDeviceDetection (fiftyoneDegreesResultsDeviceDetection *results, shared_ptr< fiftyoneDegreesResourceManager > manager)
Create a new instance of Results from the results structure provided. More...
|
Metric Getters |
virtual string
| getDeviceId () const =0
Returns the unique device id if the Id property was included in the required list of properties when the Provider was constructed. More...
|
virtual int
| getUserAgents () const =0
Returns the number of different User-Agents that were used in the results. More...
|
virtual string
| getUserAgent (int resultIndex) const =0
|
|
| 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...
|