43 class archive_version;
51 ea_attributs() { alire = attr.begin(); };
52 ea_attributs(generic_file & f,
const archive_version & edit);
53 ea_attributs(
const ea_attributs & ref);
54 ea_attributs(ea_attributs && ref)
noexcept;
55 ea_attributs & operator = (
const ea_attributs & ref);
56 ea_attributs & operator = (ea_attributs && ref)
noexcept;
57 ~ea_attributs() =
default;
59 bool operator == (
const ea_attributs & ref)
const {
return attr == ref.attr; };
61 void dump(generic_file & f)
const;
62 void add(
const std::string & key,
const std::string & value) { attr[key] = value; };
63 void reset_read()
const;
64 bool read(std::string & key, std::string & value)
const;
65 infinint size()
const {
return attr.size(); };
66 void clear() { attr.clear(); alire = attr.begin(); };
67 bool find(
const std::string &key, std::string & found_value)
const;
68 bool diff(
const ea_attributs & other,
const mask & filter)
const;
69 infinint space_used()
const;
81 std::map<std::string, std::string> attr;
82 mutable std::map<std::string, std::string>::const_iterator alire;
the class ea_attributs manages the set of EA that can be associated to an inode
ea_attributs operator+(const ea_attributs &arg) const
addition operator.
include macro defined by the configure script and some specific additional ones
libdar namespace encapsulate all libdar symbols
switch module to limitint (32 ou 64 bits integers) or infinint
here lies a collection of mask classes