14#include "keyple/core/service/CardResponseAdapter.hpp"
23CardResponseAdapter::CardResponseAdapter(
24 const std::vector<std::shared_ptr<ApduResponseApi>>& apduResponses,
25 const bool isLogicalChannelOpen)
26: mApduResponses(apduResponses)
27, mIsLogicalChannelOpen(isLogicalChannelOpen)
31const std::vector<std::shared_ptr<ApduResponseApi>>&
32CardResponseAdapter::getApduResponses()
const
34 return mApduResponses;
38CardResponseAdapter::isLogicalChannelOpen()
const
40 return mIsLogicalChannelOpen;
44operator<<(std::ostream& os,
const CardResponseAdapter& cra)
46 os <<
"CARD_RESPONSE_ADAPTER: {"
47 <<
"APDU_RESPONSE = <TODO>, "
48 <<
"IS_LOGICAL_CHANNEL_OPEN = " << cra.mIsLogicalChannelOpen <<
"}";
54operator<<(std::ostream& os,
const std::shared_ptr<CardResponseAdapter> cra)
std::ostream & operator<<(std::ostream &os, const std::shared_ptr< CardResponseAdapter > cra)