Keyple C++  0.9.0
Keyple, an Open Source SDK for Ticketing
Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
keyple::calypso::command::po::CalypsoPoCommand Class Referencefinal

#include <CalypsoPoCommand.h>

Inherits keyple::core::command::SeCommand.

Public Member Functions

 CalypsoPoCommand (const std::string &name, const uint8_t instructionByte)
 
const std::string & getName () const
 
uint8_t getInstructionByte () const
 
bool operator== (const CalypsoPoCommand &other) const
 
bool operator!= (const CalypsoPoCommand &other) const
 
- Public Member Functions inherited from keyple::core::command::SeCommand
 SeCommand ()=default
 
virtual ~SeCommand ()=default
 
 SeCommand (const SeCommand &sc)=default
 

Static Public Member Functions

static const CalypsoPoCommandgetOpenSessionForRev (PoRevision rev)
 

Static Public Attributes

static const CalypsoPoCommand GET_DATA_FCI
 
static const CalypsoPoCommand OPEN_SESSION_10
 
static const CalypsoPoCommand OPEN_SESSION_24
 
static const CalypsoPoCommand OPEN_SESSION_31
 
static const CalypsoPoCommand OPEN_SESSION_32
 
static const CalypsoPoCommand CLOSE_SESSION
 
static const CalypsoPoCommand READ_RECORDS
 
static const CalypsoPoCommand UPDATE_RECORD
 
static const CalypsoPoCommand WRITE_RECORD
 
static const CalypsoPoCommand APPEND_RECORD
 
static const CalypsoPoCommand GET_CHALLENGE
 
static const CalypsoPoCommand INCREASE
 
static const CalypsoPoCommand DECREASE
 
static const CalypsoPoCommand SELECT_FILE
 
static const CalypsoPoCommand CHANGE_KEY
 
static const CalypsoPoCommand VERIFY_PIN
 
static const CalypsoPoCommand GET_DATA_TRACE
 
static const CalypsoPoCommand SV_GET
 
static const CalypsoPoCommand SV_DEBIT
 
static const CalypsoPoCommand SV_RELOAD
 
static const CalypsoPoCommand SV_UNDEBIT
 
static const CalypsoPoCommand INVALIDATE
 
static const CalypsoPoCommand REHABILITATE
 

Constructor & Destructor Documentation

◆ CalypsoPoCommand()

keyple::calypso::command::po::CalypsoPoCommand::CalypsoPoCommand ( const std::string &  name,
const uint8_t  instructionByte 
)

The generic constructor of CalypsoCommands.

Parameters
namethe name
instructionBytethe instruction byte

Member Function Documentation

◆ getInstructionByte()

uint8_t keyple::calypso::command::po::CalypsoPoCommand::getInstructionByte ( ) const
virtual

Gets the instruction byte.

Returns
the value of INS byte

Implements keyple::core::command::SeCommand.

◆ getName()

const std::string & keyple::calypso::command::po::CalypsoPoCommand::getName ( ) const
virtual

Gets the name.

Returns
the command name

Implements keyple::core::command::SeCommand.

◆ getOpenSessionForRev()

const CalypsoPoCommand & keyple::calypso::command::po::CalypsoPoCommand::getOpenSessionForRev ( PoRevision  rev)
static

Get the right open-session command for a given keyple::calypso::command::po::PoRevision

Parameters
revCommand revision
Returns
Returned command

◆ operator!=()

bool keyple::calypso::command::po::CalypsoPoCommand::operator!= ( const CalypsoPoCommand other) const

◆ operator==()

bool keyple::calypso::command::po::CalypsoPoCommand::operator== ( const CalypsoPoCommand other) const

Member Data Documentation

◆ APPEND_RECORD

const CalypsoPoCommand keyple::calypso::command::po::CalypsoPoCommand::APPEND_RECORD
static

The po append record.

◆ CHANGE_KEY

const CalypsoPoCommand keyple::calypso::command::po::CalypsoPoCommand::CHANGE_KEY
static

The po change key

◆ CLOSE_SESSION

const CalypsoPoCommand keyple::calypso::command::po::CalypsoPoCommand::CLOSE_SESSION
static

The po close session.

◆ DECREASE

const CalypsoPoCommand keyple::calypso::command::po::CalypsoPoCommand::DECREASE
static

The po decrease counter.

◆ GET_CHALLENGE

const CalypsoPoCommand keyple::calypso::command::po::CalypsoPoCommand::GET_CHALLENGE
static

The po get challenge.

◆ GET_DATA_FCI

const CalypsoPoCommand keyple::calypso::command::po::CalypsoPoCommand::GET_DATA_FCI
static

The po get data.

◆ GET_DATA_TRACE

const CalypsoPoCommand keyple::calypso::command::po::CalypsoPoCommand::GET_DATA_TRACE
static

◆ INCREASE

const CalypsoPoCommand keyple::calypso::command::po::CalypsoPoCommand::INCREASE
static

The po increase counter.

◆ INVALIDATE

const CalypsoPoCommand keyple::calypso::command::po::CalypsoPoCommand::INVALIDATE
static

◆ OPEN_SESSION_10

const CalypsoPoCommand keyple::calypso::command::po::CalypsoPoCommand::OPEN_SESSION_10
static

The po open session.

◆ OPEN_SESSION_24

const CalypsoPoCommand keyple::calypso::command::po::CalypsoPoCommand::OPEN_SESSION_24
static

The po open session.

◆ OPEN_SESSION_31

const CalypsoPoCommand keyple::calypso::command::po::CalypsoPoCommand::OPEN_SESSION_31
static

The po open session.

◆ OPEN_SESSION_32

const CalypsoPoCommand keyple::calypso::command::po::CalypsoPoCommand::OPEN_SESSION_32
static

The po open session.

◆ READ_RECORDS

const CalypsoPoCommand keyple::calypso::command::po::CalypsoPoCommand::READ_RECORDS
static

The po read records.

◆ REHABILITATE

const CalypsoPoCommand keyple::calypso::command::po::CalypsoPoCommand::REHABILITATE
static

◆ SELECT_FILE

const CalypsoPoCommand keyple::calypso::command::po::CalypsoPoCommand::SELECT_FILE
static

The po decrease counter.

◆ SV_DEBIT

const CalypsoPoCommand keyple::calypso::command::po::CalypsoPoCommand::SV_DEBIT
static

◆ SV_GET

const CalypsoPoCommand keyple::calypso::command::po::CalypsoPoCommand::SV_GET
static

◆ SV_RELOAD

const CalypsoPoCommand keyple::calypso::command::po::CalypsoPoCommand::SV_RELOAD
static

◆ SV_UNDEBIT

const CalypsoPoCommand keyple::calypso::command::po::CalypsoPoCommand::SV_UNDEBIT
static

◆ UPDATE_RECORD

const CalypsoPoCommand keyple::calypso::command::po::CalypsoPoCommand::UPDATE_RECORD
static

The po update record.

◆ VERIFY_PIN

const CalypsoPoCommand keyple::calypso::command::po::CalypsoPoCommand::VERIFY_PIN
static

◆ WRITE_RECORD

const CalypsoPoCommand keyple::calypso::command::po::CalypsoPoCommand::WRITE_RECORD
static

The po write record.


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