Keyple Card Calypso C++ Library 2.1.0
Reference Terminal Reader API for C++
Public Member Functions | Static Public Attributes | Friends | List of all members
keyple::card::calypso::CalypsoCardClass Class Reference

#include <CalypsoCardClass.h>

Collaboration diagram for keyple::card::calypso::CalypsoCardClass:
Collaboration graph
[legend]

Public Member Functions

 CalypsoCardClass (const CalypsoCardClass &o)
 
uint8_t getValue () const
 
CalypsoCardClassoperator= (const CalypsoCardClass &o)
 
bool operator== (const CalypsoCardClass &o) const
 

Static Public Attributes

static const CalypsoCardClass UNKNOWN
 
static const CalypsoCardClass LEGACY
 
static const CalypsoCardClass LEGACY_STORED_VALUE
 
static const CalypsoCardClass ISO
 

Friends

std::ostream & operator<< (std::ostream &os, const CalypsoCardClass &ccc)
 

Detailed Description

(package-private)
Defines the two existing ISO7816 class bytes for a Calypso card command.: LEGACY for REV1 / BPRIME type card, ISO for REV2/3 / B type

Since
2.0.0

Definition at line 29 of file CalypsoCardClass.h.

Constructor & Destructor Documentation

◆ CalypsoCardClass()

keyple::card::calypso::CalypsoCardClass::CalypsoCardClass ( const CalypsoCardClass o)

Definition at line 26 of file CalypsoCardClass.cpp.

Member Function Documentation

◆ getValue()

uint8_t keyple::card::calypso::CalypsoCardClass::getValue ( ) const

Gets the class byte.

Returns
A byte
Since
2.0.0

Definition at line 28 of file CalypsoCardClass.cpp.

◆ operator=()

CalypsoCardClass & keyple::card::calypso::CalypsoCardClass::operator= ( const CalypsoCardClass o)

Definition at line 33 of file CalypsoCardClass.cpp.

◆ operator==()

bool keyple::card::calypso::CalypsoCardClass::operator== ( const CalypsoCardClass o) const

Definition at line 40 of file CalypsoCardClass.cpp.

Friends And Related Function Documentation

◆ operator<<

std::ostream & operator<< ( std::ostream &  os,
const CalypsoCardClass ccc 
)
friend

Definition at line 45 of file CalypsoCardClass.cpp.

Member Data Documentation

◆ ISO

const CalypsoCardClass keyple::card::calypso::CalypsoCardClass::ISO
static

Calypso product type 3 and higher

Definition at line 41 of file CalypsoCardClass.h.

◆ LEGACY

const CalypsoCardClass keyple::card::calypso::CalypsoCardClass::LEGACY
static

Calypso product type 1/2 / B Prime protocol, regular commands

Definition at line 35 of file CalypsoCardClass.h.

◆ LEGACY_STORED_VALUE

const CalypsoCardClass keyple::card::calypso::CalypsoCardClass::LEGACY_STORED_VALUE
static

Calypso product type 1/2 / B Prime protocol, Stored Value commands

Definition at line 38 of file CalypsoCardClass.h.

◆ UNKNOWN

const CalypsoCardClass keyple::card::calypso::CalypsoCardClass::UNKNOWN
static

Dummy init value

Definition at line 32 of file CalypsoCardClass.h.


The documentation for this class was generated from the following files: