50 virtual const std::shared_ptr<uint8_t>&
getDfStatus()
const = 0;
128 case ElementaryFile::Type::LINEAR: efType =
"LINEAR";
break;
129 case ElementaryFile::Type::BINARY: efType =
"BINARY";
break;
130 case ElementaryFile::Type::CYCLIC: efType =
"CYCLIC";
break;
131 case ElementaryFile::Type::COUNTERS: efType =
"COUNTERS";
break;
132 case ElementaryFile::Type::SIMULATED_COUNTERS:
133 efType =
"SIMULATED_COUNTERS";
135 default: efType =
"UNKNOWN";
break;
139 std::ostringstream ss;
140 ss << std::uppercase << std::hex << std::setfill(
'0');
142 ss <<
"FILE_HEADER: {LID: " << std::setw(4) << fh.
getLid()
143 <<
"h, EF_TYPE: " << efType << std::dec
146 <<
", ACCESS_CONDITIONS: ";
148 ss << std::setw(2) << static_cast<int>(
byte);
150 ss <<
", KEY_INDEXES: ";
152 ss << std::setw(2) << static_cast<int>(
byte);
154 ss <<
", DF_STATUS: ";
156 ss << std::setw(2) << static_cast<int>(*fh.
getDfStatus()) <<
"h";
160 ss <<
", SHARED_REFERENCE: ";
177 operator<<(std::ostream& os,
const std::shared_ptr<FileHeader>& fh) {
179 os <<
"FILE_HEADER: null";
Type
The different types of EF.