17#include "keypop/calypso/caard/card/FileData.hpp"
95 virtual const std::shared_ptr<FileHeader>
getHeader()
const = 0;
103 virtual const std::shared_ptr<FileData>
getData()
const = 0;
110 os <<
"ELEMENTARY_FILE: {" <<
"SFI: " << ef.
getSfi() <<
", " <<
"HEADER: " << ef.
getHeader()
111 <<
", " <<
"DATA: " << ef.
getData() <<
"}";
120 operator<<(std::ostream& os,
const std::shared_ptr<ElementaryFile> ef) {
122 os <<
"ELEMENTARY_FILE: null";
134 operator<<(std::ostream& os,
const std::vector<std::shared_ptr<ElementaryFile>>& ef) {
135 os <<
"ELEMENTARY_FILES: {";
137 for (
auto it = ef.begin(); it != ef.end(); it++) {
138 if (it != ef.begin()) {
virtual const std::shared_ptr< FileHeader > getHeader() const =0
friend std::ostream & operator<<(std::ostream &os, const ElementaryFile &ef)
virtual const std::shared_ptr< FileData > getData() const =0
virtual uint8_t getSfi() const =0