45 tlv_list(generic_file & f) { init(f); };
46 tlv_list(
const tlv_list & ref) =
default;
47 tlv_list(tlv_list && ref) =
default;
48 tlv_list & operator = (
const tlv_list & ref) =
default;
49 tlv_list & operator = (tlv_list && ref) noexcept =
default;
50 ~tlv_list() =
default;
52 void dump(generic_file & f)
const;
53 void read(generic_file & f) { init(f); };
54 U_I size()
const {
return contents.size(); };
55 tlv & operator[] (U_I item)
const;
56 void clear() { contents.clear(); };
57 void add(
const tlv & next) { contents.push_back(next); };
60 std::deque<tlv> contents;
62 void init(generic_file & f);
class generic_file is defined here as well as class fichier
libdar namespace encapsulate all libdar symbols
Generic Type Length Value data structures.