#include <SeSelector.h>
Inherits enable_shared_from_this< AtrFilter >.
Static nested class to hold the data elements used to perform an ATR based filtering
◆ AtrFilter()
keyple::core::seproxy::AtrFilter::AtrFilter |
( |
const std::string & |
atrRegex | ) |
|
Regular expression based filter
- Parameters
-
atrRegex | String hex regular expression |
◆ ~AtrFilter()
virtual keyple::core::seproxy::SeSelector::AtrFilter::~AtrFilter |
( |
| ) |
|
|
inlinevirtual |
◆ atrMatches()
bool keyple::core::seproxy::AtrFilter::atrMatches |
( |
const std::vector< uint8_t > & |
atr | ) |
|
|
virtual |
Tells if the provided ATR matches the registered regular expression
If the registered regular expression is empty, the ATR is always matching.
- Parameters
-
atr | a buffer containing the ATR to be checked |
- Returns
- a boolean true the ATR matches the current regex
◆ getAtrRegex()
std::string keyple::core::seproxy::AtrFilter::getAtrRegex |
( |
| ) |
|
|
virtual |
Getter for the regular expression provided at construction time
- Returns
- Regular expression string
◆ setAtrRegex()
void keyple::core::seproxy::AtrFilter::setAtrRegex |
( |
const std::string & |
atrRegex | ) |
|
|
virtual |
Setter for the regular expression provided at construction time
- Parameters
-
atrRegex | expression string |
◆ operator<<
The documentation for this class was generated from the following files: