Disk ARchive
2.7.15
Full featured and portable backup and archiving tool
|
the hard link implementation More...
#include <cat_etoile.hpp>
Classes | |
struct | bool_tags |
bitfield used to record pointed to inode information More... | |
Public Member Functions | |
cat_etoile (cat_inode *host, const infinint &etiquette_number) | |
build an object More... | |
cat_etoile (const cat_etoile &ref)=delete | |
cat_etoile (cat_etoile &&ref)=delete | |
cat_etoile & | operator= (const cat_etoile &ref)=delete |
cat_etoile & | operator= (cat_etoile &&ref)=delete |
void | add_ref (void *ref) |
void | drop_ref (void *ref) |
infinint | get_ref_count () const |
cat_inode * | get_inode () const |
infinint | get_etiquette () const |
void | change_etiquette (const infinint &new_val) |
void | disable_reduction_to_normal_inode () |
bool | cannot_reduce_to_normal_inode () const |
bool | is_counted () const |
bool | is_wrote () const |
bool | is_dumped () const |
void | set_counted (bool val) |
void | set_wrote (bool val) |
void | set_dumped (bool val) |
const void * | get_first_ref () const |
Private Attributes | |
std::list< void * > | refs |
list of pointers to the mirages objects, in the order of their creation | |
cat_inode * | hosted |
infinint | etiquette |
bool_tags | tags |
the hard link implementation
etoile means star in French. See a star as a point from which are thrown many ray of light
Definition at line 47 of file cat_etoile.hpp.
build an object
[in] | host | is an inode, it must not be a directory (this would throw an Erange exception) |
[in] | etiquette_number | is the identifier of this multiply linked structure |