Disk ARchive  2.4.21
Public Member Functions | List of all members
libdar::list_entry Class Reference

#include <list_entry.hpp>

Public Member Functions

const std::string & get_name () const
 
unsigned char get_type () const
 
bool is_dir () const
 
bool is_file () const
 
bool is_symlink () const
 
bool is_char_device () const
 
bool is_block_device () const
 
bool is_unix_socket () const
 
bool is_named_pipe () const
 
bool is_hard_linked () const
 
bool is_removed_entry () const
 
bool is_door_inode () const
 
bool has_data_present_in_the_archive () const
 
bool has_EA () const
 
bool has_EA_saved_in_the_archive () const
 
std::string get_uid () const
 
std::string get_gid () const
 
std::string get_perm () const
 
std::string get_last_access () const
 
time_t get_last_access_s () const
 
std::string get_last_modif () const
 
time_t get_last_modif_s () const
 
std::string get_last_change () const
 
time_t get_last_change_s () const
 
std::string get_file_size () const
 
std::string get_compression_ratio () const
 
bool is_sparse () const
 
std::string get_compression_algo () const
 
bool is_dirty () const
 
std::string get_link_target () const
 
std::string get_major () const
 
std::string get_minor () const
 
void set_name (const std::string &val)
 
void set_type (unsigned char val)
 
void set_hard_link (bool val)
 
void set_uid (const infinint &val)
 
void set_gid (const infinint &val)
 
void set_perm (U_16 val)
 
void set_last_access (const infinint &val)
 
void set_last_modif (const infinint &val)
 
void set_saved_status (saved_status val)
 
void set_ea_status (inode::ea_status val)
 
void set_last_change (const infinint &val)
 
void set_file_size (const infinint &val)
 
void set_storage_size (const infinint &val)
 
void set_is_sparse_file (bool val)
 
void set_compression_algo (compression val)
 
void set_dirtiness (bool val)
 
void set_link_target (const std::string &val)
 
void set_major (int val)
 
void set_minor (int val)
 

Detailed Description

the list_entry class provides mean to get information about a particular entry in the archive

it provides methods for libdar to fill up such object and methods for API user to read the information. Each information uses its own method, thus it will require several call to different method to get the full description of the object. This has the advantage to let the possiblity to add new fields in the future without breaking anything in API, and in consequences in user programs.

Definition at line 66 of file list_entry.hpp.


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