51    tlv(
const tlv & ref) = 
default;
 
   52    tlv(
tlv && ref) 
noexcept = 
default;
 
   53    tlv & operator = (
const tlv & ref) = 
default;
 
   54    tlv & operator = (
tlv && ref) 
noexcept = 
default;
 
   62    U_16 get_type()
 const { 
return type; };      
 
this is the interface class from which all other data transfer classes inherit
 
generic_file stored in memory
 
U_16 type
set the TLV type
 
void setup(generic_file &f)
same as the constructor but on an existing object
 
void set_type(U_16 val)
get the TLV type
 
void dump(generic_file &f) const
dumps the tlv contents to file
 
Memory_file is a generic_file class that only uses virtual memory.
 
libdar namespace encapsulate all libdar symbols