Logo Search packages:      
Sourcecode: dar version File versions

libdar::file Class Reference

#include <catalogue.hpp>

Inheritance diagram for libdar::file:

libdar::inode libdar::nomme libdar::entree libdar::file_etiquette

List of all members.

Detailed Description

the plain file class

Definition at line 244 of file catalogue.hpp.

Public Types

enum  ea_status { ea_none, ea_partial, ea_full }

Public Member Functions

void change_name (const std::string &x)
void clean_data ()
entreeclone () const
void compare (user_interaction &dialog, const inode &other, bool root_ea, bool user_ea, bool ignore_owner) const
void dump (user_interaction &dialog, generic_file &f) const
void ea_attach (ea_attributs *ref)
void ea_detach () const
ea_status ea_get_saved_status () const
void ea_set_crc (const crc &val)
void ea_set_offset (const infinint &pos)
void ea_set_saved_status (ea_status status)
 file (user_interaction &dialog, generic_file &f, const dar_version &reading_ver, saved_status saved, compression default_algo, generic_file *data_loc, generic_file *ea_loc)
 file (const file &ref)
 file (U_16 xuid, U_16 xgid, U_16 xperm, const infinint &last_access, const infinint &last_modif, const std::string &src, const path &che, const infinint &taille, const infinint &fs_device)
compression get_compression_algo_used () const
bool get_crc (crc &c) const
generic_fileget_data (user_interaction &dialog) const
infinint get_device () const
const ea_attributs * get_ea (user_interaction &dialog) const
U_16 get_gid () const
infinint get_last_access () const
infinint get_last_change () const
infinint get_last_modif () const
std::string get_name () const
U_16 get_perm () const
saved_status get_saved_status () const
infinint get_size () const
infinint get_storage_size () const
U_16 get_uid () const
bool has_changed_since (const inode &ref, const infinint &hourshift, bool ignore_owner) const
bool is_more_recent_than (const inode &ref, const infinint &hourshift, bool ignore_owner) const
bool same_as (const nomme &ref) const
bool same_as (const inode &ref) const
void set_crc (const crc &c)
void set_last_access (const infinint &x_time)
void set_last_change (const infinint &x_time)
void set_last_modif (const infinint &x_time)
void set_offset (const infinint &r)
void set_saved_status (saved_status x)
void set_storage_size (const infinint &s)
unsigned char signature () const

Static Public Member Functions

static entreeread (user_interaction &dialog, generic_file &f, const dar_version &reading_ver, entree_stats &stats, std::map< infinint, file_etiquette * > &corres, compression default_algo, generic_file *data_loc, generic_file *ea_loc)

Protected Member Functions

void sub_compare (user_interaction &dialog, const inode &other) const

Private Types

enum  { empty, from_path, from_cat }

Private Member Functions

void detruit ()

Private Attributes

compression algo
bool available_crc
crc check
path chemin
enum libdar::file:: { ... }  status

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

Generated by  Doxygen 1.6.0   Back to index