◆ erase() [1/2]
| void EvidenceBase::erase | ( | iterator | position | ) |
Remove the evidence item at the position indicated.
- Parameters
-
- position - of the item to remove
◆ erase() [2/2]
void EvidenceBase::erase ( iterator first, iterator last ) Remove the evidence items between the two position indicated.
- Parameters
-
- first - item to remove
- last - item to remove
◆ get()
fiftyoneDegreesEvidenceKeyValuePairArray * EvidenceBase::get ( ) Get the underlying C structure containing the evidence.
This only includes evidence which is relevant to the engine. Any evidence which is irrelevant will not be included in the result.
- Returns
- pointer to a populated C evidence structure
◆ isRelevant()
bool EvidenceBase::isRelevant ( fiftyoneDegreesEvidencePrefix prefix ) protected virtualGet 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.
- Parameters
-
- prefix - extracted from the evidence key
- Returns
- true if the key prefix relevant and should be used
The documentation for this class was generated from the following files:- EvidenceBase.hpp
- EvidenceBase.cpp
