Disk ARchive  2.7.15
Full featured and portable backup and archiving tool
Public Member Functions | Private Types | Private Attributes | List of all members
libdar::defile Class Reference

the defile class keep trace of the real path of files while the flow in the filter routines More...

#include <defile.hpp>

+ Collaboration diagram for libdar::defile:

Public Member Functions

 defile (const path &racine)
 
 defile (const defile &ref)=default
 
 defile (defile &&ref) noexcept=default
 
defileoperator= (const defile &ref)=default
 
defileoperator= (defile &&ref) noexcept=default
 
void enfile (const cat_entree *e)
 
const pathget_path () const
 
const std::string & get_string () const
 
const std::string & get_string_without_root () const
 

Private Types

enum  { none , full , without_root }
 

Private Attributes

path chemin
 current path
 
bool init
 true if reached the "root" (all pushed arguments have been poped)
 
enum libdar::defile:: { ... }  cache_set
 whether cache is accurate
 
std::string cache
 cache of "chemin" converted into string
 

Detailed Description

the defile class keep trace of the real path of files while the flow in the filter routines

the filter routines manipulates flow of inode, where their relative order represent the directory structure. To be able to know what is the real path of the current inode, all previously passed inode must be known. this class is used to display the progression of the filtering routing, and the file on which the filtering routine operates

Definition at line 46 of file defile.hpp.


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