◆ EvidenceDeviceDetection()
FiftyoneDegrees::DeviceDetection::EvidenceDeviceDetection::EvidenceDeviceDetection | ( | ) |
inline
Construct a new instance containing no evidence.
\r\n
Device detection specific evidence class containing evidence to be processed by a device detection engine.
This wraps a dynamically generated C evidence structure.
The class extends the EvidenceBase class to implement the EvidenceBase::isRelevant method to return for device detection specific evidence keys.
Constructor | |
EvidenceDeviceDetection ()
Construct a new instance containing no evidence. More...
| |
Public Member Functions inherited from FiftyoneDegrees::Common::EvidenceBase | |
EvidenceBase ()
Construct a new instance containing no evidence.
| |
virtual | ~EvidenceBase ()
Free all the underlying memory containing the evidence.
|
fiftyoneDegreesEvidenceKeyValuePairArray * | get ()
Get the underlying C structure containing the evidence. More...
|
void | clear ()
Clear all evidence items from the instance.
|
void | erase (iterator position)
Remove the evidence item at the position indicated. More...
|
void | erase (iterator first, iterator last)
Remove the evidence items between the two position indicated. More...
|
bool | isRelevant (fiftyoneDegreesEvidencePrefix prefix)
Get whether or not the evidence key prefix is relevant or not. More...
|
FiftyoneDegrees::DeviceDetection::EvidenceDeviceDetection::EvidenceDeviceDetection | ( | ) |
Construct a new instance containing no evidence.
bool FiftyoneDegrees::DeviceDetection::EvidenceDeviceDetection::isRelevant | ( | fiftyoneDegreesEvidencePrefix | prefix | ) |
Get whether or not the evidence key prefix is relevant or not.
If the prefix is not relevant or not known then it is of no use to the engine processing it.
Reimplemented from FiftyoneDegrees::Common::EvidenceBase.