Disk ARchive
2.7.15
Full featured and portable backup and archiving tool
|
the contextual class adds the information of phases in the generic_file More...
#include <contextual.hpp>
Public Member Functions | |
contextual (const contextual &ref)=default | |
contextual (contextual &&ref) noexcept=default | |
contextual & | operator= (const contextual &ref)=default |
contextual & | operator= (contextual &&ref) noexcept=default |
virtual void | set_info_status (const std::string &s) |
defines the new contextual value More... | |
virtual std::string | get_info_status () const |
get the current contextual value | |
virtual bool | is_an_old_start_end_archive () const =0 |
returns whether the archive is a old archive (format < 8) | |
virtual const label & | get_data_name () const =0 |
obtain the data_name of the archive (label associated with the archive's data) More... | |
Private Attributes | |
std::string | status |
the contextual class adds the information of phases in the generic_file
several phases are defined like for example
these are used to help the command launched between slices to decide the action to do depending on the context when reading an archive (first slice / last slice read, ...) the context must also be transfered to dar_slave through the pair of tuyau objects
this class also support some additional informations common to all 'level1' layer of archive, such as:
Definition at line 73 of file contextual.hpp.
|
pure virtual |
obtain the data_name of the archive (label associated with the archive's data)
Implemented in libdar::zapette, libdar::trontextual, libdar::trivial_sar, and libdar::sar.
|
inlinevirtual |
defines the new contextual value
Reimplemented in libdar::zapette.
Definition at line 88 of file contextual.hpp.