Disk ARchive  2.4.8
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
Public Member Functions | List of all members
libdar::ea_attributs Class Reference

the class ea_attributs manages the set of EA that can be associated to an inode More...

#include <ea.hpp>

Public Member Functions

 ea_attributs (generic_file &f, const archive_version &edit)
 
 ea_attributs (const ea_attributs &ref)
 
void dump (generic_file &f) const
 
void add (const std::string &key, const std::string &value)
 
void reset_read () const
 
bool read (std::string &key, std::string &value) const
 
infinint size () const
 
void clear ()
 
bool find (const std::string &key, std::string &found_value) const
 
bool diff (const ea_attributs &other, const mask &filter) const
 
infinint space_used () const
 
ea_attributs operator+ (const ea_attributs &arg) const
 addition operator. More...
 

Detailed Description

the class ea_attributs manages the set of EA that can be associated to an inode

Definition at line 47 of file ea.hpp.

Member Function Documentation

ea_attributs libdar::ea_attributs::operator+ ( const ea_attributs arg) const

addition operator.

Parameters
[in]argea_attributs to add to self
Returns
a ea_attributs object containing all EA of the current object enriched and possibly overwritten by those of "arg".
Note
this operator is not reflexive (or symetrical if you prefer) unlike it is in arithmetic. Here instead "a + b" is possibly not equal to "b + a"

The documentation for this class was generated from the following file: