29 #include "../my_config.h" 75 semaphore(
const std::shared_ptr<user_interaction> & dialog,
76 const std::string & backup_hook_file_execute,
77 const mask & backup_hook_file_mask);
105 void raise(
const std::string &
path,
122 void nullifyptr() noexcept { match =
nullptr; };
123 std::string build_string(
const std::string & context);
125 void move_from(
semaphore && ref) noexcept;
semaphore(semaphore &&ref) noexcept
move constructor
the generic class, parent of all masks
class mem_ui definition. This class is to be used as parent class to handle user_interaction object m...
std::string chem
path of the file that has to be call in the "end" context when count will drop to zero ...
mem_ui(const std::shared_ptr< user_interaction > &dialog)
constructor
semaphore(const std::shared_ptr< user_interaction > &dialog, const std::string &backup_hook_file_execute, const mask &backup_hook_file_mask)
constructor
infinint count
is the number of subdirectories currently saved in the last directory that matched the mask ...
semaphore(const semaphore &ref)
copy constructor
std::string execute
command to execute
infinint gid
GID of that same file.
here lies a collection of mask classes
infinint uid
UID of that same file.
void lower()
to tell that the backup is completed for the last "raised" entry.
const mask * match
for which file to run the execute command
class mem_ui to keep a copy of a user_interaction object
the arbitrary large positive integer class
the root class from all other inherite for any entry in the catalogue
std::string filename
filename of that same file
libdar namespace encapsulate all libdar symbols
semaphore & operator=(const semaphore &ref)
assignment operator
unsigned char sig
object type
the class path is here to manipulate paths in the Unix notation: using'/'