31const std::map<const int, const std::shared_ptr<StatusProperties>>
43 const std::type_info& exceptionClass,
const std::string& message)
const
46 const auto statusWord = std::make_shared<int>(
getApduResponse()->getStatusWord());
68 const std::string& message)
const
77 const std::shared_ptr<ApduResponseApi> apduResponse)
91const std::map<const int, const std::shared_ptr<StatusProperties>>
92 AbstractSamCommand::initStatusTable()
94 std::map<const int, const std::shared_ptr<StatusProperties>> m =
98 std::make_shared<StatusProperties>(
"Instruction unknown.",
101 std::make_shared<StatusProperties>(
"Class not supported.",
102 typeid(CalypsoSamIllegalParameterException))});
107const std::map<const int, const std::shared_ptr<StatusProperties>>&
static const std::map< const int, const std::shared_ptr< StatusProperties > > STATUS_TABLE
virtual AbstractApduCommand & setApduResponse(const std::shared_ptr< ApduResponseApi > apduResponse)
virtual const std::shared_ptr< ApduResponseApi > getApduResponse() const final
virtual const CardCommand & getCommandRef() const
virtual void checkStatus()
const CalypsoApduCommandException buildCommandException(const std::type_info &exceptionClass, const std::string &message) const final
const CalypsoApduCommandException buildUnexpectedResponseLengthException(const std::string &message) const final
AbstractSamCommand & setApduResponse(const std::shared_ptr< ApduResponseApi > apduResponse) override
void checkStatus() override
AbstractSamCommand(const CalypsoSamCommand &commandRef, const int le)
const std::map< const int, const std::shared_ptr< StatusProperties > > & getStatusTable() const override
static const std::map< const int, const std::shared_ptr< StatusProperties > > STATUS_TABLE
const CalypsoSamCommand & getCommandRef() const override