Keyple C++
0.9.0
Keyple, an Open Source SDK for Ticketing
|
#include <SeSelector.h>
Inherited by keyple::calypso::transaction::PoSelector::PoSelectorBuilder, and keyple::calypso::transaction::SamSelector::SamSelectorBuilder.
Public Member Functions | |
virtual | ~SeSelectorBuilder ()=default |
virtual SeSelectorBuilder & | seProtocol (const std::shared_ptr< SeProtocol > seProtocol) |
virtual SeSelectorBuilder & | atrFilter (const std::shared_ptr< AtrFilter > atrFilter) |
virtual SeSelectorBuilder & | aidSelector (const std::shared_ptr< AidSelector > aidSelector) |
virtual std::shared_ptr< SeSelector > | build () |
SeSelectorBuilder () | |
Public Attributes | |
friend | SeSelector |
Protected Attributes | |
std::shared_ptr< AtrFilter > | mAtrFilter |
Create a SeSelector to perform the SE selection
|
virtualdefault |
|
inline |
Private constructor
C++ vs. Java: Should be private but would forbid usage of make_shared from SeSelector class. Setting it public for now. Could use an intermediate derived class otherwise if need be.
|
virtual |
Sets the SE AID Selector
aidSelector | the keyple::core::seproxy::SeSelector::AidSelector of the targeted SE |
Reimplemented in keyple::calypso::transaction::SamSelector::SamSelectorBuilder, and keyple::calypso::transaction::PoSelector::PoSelectorBuilder.
|
virtual |
Sets the SE ATR Filter
atrFilter | the keyple::core::seproxy::SeSelector::AtrFilter of the targeted SE |
Reimplemented in keyple::calypso::transaction::SamSelector::SamSelectorBuilder, and keyple::calypso::transaction::PoSelector::PoSelectorBuilder.
|
virtual |
Build a new keyple::core::seproxy::SeSelector.
Reimplemented in keyple::calypso::transaction::SamSelector::SamSelectorBuilder, and keyple::calypso::transaction::PoSelector::PoSelectorBuilder.
|
virtual |
Sets the SE protocol
seProtocol | the keyple::core::seproxy::protocol::SeProtocol of the targeted SE |
Reimplemented in keyple::calypso::transaction::SamSelector::SamSelectorBuilder, and keyple::calypso::transaction::PoSelector::PoSelectorBuilder.
|
protected |
friend keyple::core::seproxy::SeSelector::SeSelectorBuilder::SeSelector |