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

the hard link implementation (etoile means star in French, seen a star as a point from which are thrown many ray of light) More...

#include <catalogue.hpp>

Public Member Functions

 etoile (inode *host, const infinint &etiquette_number)
 build a object More...
 
 etoile (const etoile &ref)
 
const etoileoperator= (const etoile &ref)
 
void add_ref (void *ref)
 
void drop_ref (void *ref)
 
infinint get_ref_count () const
 
inodeget_inode () const
 
infinint get_etiquette () const
 
void change_etiquette (const infinint &new_val)
 
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
 

Detailed Description

the hard link implementation (etoile means star in French, seen a star as a point from which are thrown many ray of light)

Definition at line 342 of file catalogue.hpp.

Constructor & Destructor Documentation

libdar::etoile::etoile ( inode host,
const infinint etiquette_number 
)

build a object

Parameters
[in]hostis an inode, it must not be a directory (this would throw an Erange exception)
[in]etiquette_numberis the identifier of this multiply linked structure
Note
given inode is now managed by the etoile object

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