Keyple C++
0.9.0
Keyple, an Open Source SDK for Ticketing
|
#include <SamRevision.h>
Public Member Functions | |
SamRevision (const SamRevision &o) | |
const std::string & | getName () const |
const std::string & | getApplicationTypeMask () const |
uint8_t | getClassByte () const |
bool | operator== (const SamRevision &o) const |
bool | operator!= (const SamRevision &o) const |
SamRevision & | operator= (const SamRevision &o) |
Static Public Member Functions | |
static const SamRevision & | valueOf (const std::string &name) |
Static Public Attributes | |
static const SamRevision | C1 |
static const SamRevision | S1E |
static const SamRevision | S1D |
static const SamRevision | NO_REV |
static const SamRevision | AUTO |
Friends | |
KEYPLECALYPSO_API std::ostream & | operator<< (std::ostream &os, const SamRevision &sr) |
This enumeration registers all supported revisions of SAM.
keyple::calypso::command::sam::SamRevision::SamRevision | ( | const SamRevision & | o | ) |
const std::string & keyple::calypso::command::sam::SamRevision::getApplicationTypeMask | ( | ) | const |
uint8_t keyple::calypso::command::sam::SamRevision::getClassByte | ( | ) | const |
const std::string & keyple::calypso::command::sam::SamRevision::getName | ( | ) | const |
bool keyple::calypso::command::sam::SamRevision::operator!= | ( | const SamRevision & | o | ) | const |
SamRevision & keyple::calypso::command::sam::SamRevision::operator= | ( | const SamRevision & | o | ) |
bool keyple::calypso::command::sam::SamRevision::operator== | ( | const SamRevision & | o | ) | const |
|
static |
|
friend |
|
static |
Joker value matching any application type.
Used as an argument in SamSelector.
The actual revision will be retrieved from the ATR historical bytes.
|
static |
The revision of C1 and S1E SAM. CLA 0x00 or 0x80
|
static |
|
static |
The revision of S1D SAM SAM. CLA 0x94
|
static |
The revision of S1E SAM. CLA 0x00 or 0x80