|
| entrepot_local (const std::string &user, const std::string &group, bool x_furtive_mode) |
|
| entrepot_local (const entrepot_local &ref) |
|
| entrepot_local (entrepot_local &&ref) noexcept |
|
entrepot_local & | operator= (const entrepot_local &ref) |
|
entrepot_local & | operator= (entrepot_local &&ref) noexcept |
|
virtual std::string | get_url () const override |
| full path of current directory + anything necessary to provide URL formated information More...
|
|
virtual void | read_dir_reset () const override |
| routines to read existing files in the current directory (see set_location() / set_root() methods) More...
|
|
virtual bool | read_dir_next (std::string &filename) const override |
|
virtual entrepot * | clone () const override |
| generate a clone of "this" More...
|
|
| entrepot () |
| constructor
|
|
| entrepot (const entrepot &ref)=default |
| copy constructor
|
|
| entrepot (entrepot &&ref) noexcept=default |
| move constructor
|
|
entrepot & | operator= (const entrepot &ref)=default |
| assignment operator
|
|
entrepot & | operator= (entrepot &&ref) noexcept=default |
| move operator
|
|
virtual | ~entrepot ()=default |
| destructor
|
|
bool | operator== (const entrepot &ref) const |
| says whether two entrepot objects points to the same location More...
|
|
virtual void | set_location (const path &chemin) |
| defines the directory where to proceed to future open() – this is a "chdir" semantics More...
|
|
virtual void | set_root (const path &p_root) |
| defines the root to use if set_location is given a relative path More...
|
|
virtual path | get_full_path () const |
| returns the full path of location More...
|
|
virtual std::string | get_url () const =0 |
| full path of current directory + anything necessary to provide URL formated information More...
|
|
void | set_user_ownership (const std::string &x_user) |
| set default ownership for files to be created thanks to the open() methods More...
|
|
void | set_group_ownership (const std::string &x_group) |
|
virtual const path & | get_location () const |
|
virtual const path & | get_root () const |
|
const std::string & | get_user_ownership () const |
|
const std::string & | get_group_ownership () const |
|
fichier_global * | open (const std::shared_ptr< user_interaction > &dialog, const std::string &filename, gf_mode mode, bool force_permission, U_I permission, bool fail_if_exists, bool erase, hash_algo algo, bool provide_a_plain_file=true) const |
| defines the way to open a file and return a "class fichier_global" object as last argument upon success More...
|
|
virtual void | read_dir_reset () const =0 |
| routines to read existing files in the current directory (see set_location() / set_root() methods) More...
|
|
virtual bool | read_dir_next (std::string &filename) const =0 |
|
void | unlink (const std::string &filename) const |
|
virtual entrepot * | clone () const =0 |
| generate a clone of "this" More...
|
|
|
virtual fichier_global * | inherited_open (const std::shared_ptr< user_interaction > &dialog, const std::string &filename, gf_mode mode, bool force_permission, U_I permission, bool fail_if_exists, bool erase) const override |
|
virtual void | inherited_unlink (const std::string &filename) const override |
|
virtual void | read_dir_flush () override |
|
virtual fichier_global * | inherited_open (const std::shared_ptr< user_interaction > &dialog, const std::string &filename, gf_mode mode, bool force_permission, U_I permission, bool fail_if_exists, bool erase) const =0 |
|
virtual void | inherited_unlink (const std::string &filename) const =0 |
|
virtual void | read_dir_flush ()=0 |
|
implementation for entrepot to access to local filesystem
entrepot_local generates objects of class "fichier_local" inherited class of fichier_global
Definition at line 47 of file entrepot_local.hpp.