47 tlv_list(generic_file & f) { init(f); };
49 void dump(generic_file & f)
const;
50 void read(generic_file & f) { init(f); };
51 U_I size()
const {
return contents.size(); };
52 tlv & operator[] (U_I item);
53 tlv operator[] (U_I item)
const;
54 void clear() { contents.clear(); };
55 void add(
const tlv & next) { contents.push_back(next); };
58 std::vector<tlv> contents;
60 void init(generic_file & f);