41 class tlv_list :
public on_pool
45 tlv_list(generic_file & f) { init(f); };
47 void dump(generic_file & f)
const;
48 void read(generic_file & f) { init(f); };
49 U_I size()
const {
return contents.size(); };
50 tlv & operator[] (U_I item)
const;
51 void clear() { contents.clear(); };
52 void add(
const tlv & next) { contents.push_back(next); };
55 std::vector<tlv> contents;
57 void init(generic_file & f);
class generic_file is defined here as well as class fichierthe generic_file interface is widely used ...
Generic Type Length Value data structures.
this is the base class of object that can be allocated on a memory pool
libdar namespace encapsulate all libdar symbols