35 #include "../my_config.h" 73 virtual bool skippable(skippability direction,
const infinint & amount)
override {
return true; };
zapette(const std::shared_ptr< user_interaction > &dialog, generic_file *input, generic_file *output, bool by_the_end)
zapette constructor
virtual bool skip_to_eof() override
skip to the end of file
virtual void inherited_flush_read() override
reset internal engine, flush caches in order to read the data at current position ...
virtual U_I inherited_read(char *a, U_I size) override
implementation of read() operation
class mem_ui definition. This class is to be used as parent class to handle user_interaction object m...
are defined here basic integer types that tend to be portable
infinint get_non_first_slice_header_size() const
virtual const label & get_data_name() const override
obtain the data_name of the archive (label associated with the archive's data)
class generic_file is defined here as well as class fichierthe generic_file interface is widely used ...
the contextual class adds the information of phases in the generic_file
infinint get_first_slice_header_size() const
void make_transfert(U_16 size, const infinint &offset, char *data, const std::string &info, S_I &lu, infinint &arg) const
wrapped formatted method to communicate with the slave_zapette located behind the pair of pipes (= tu...
virtual void inherited_sync_write() override
write down any pending data
virtual bool skip_relative(S_I x) override
skip relatively to the current position
virtual infinint get_position() const override
get the current read/write position
zapette emulate a file that is remotely controlled by slave_zapette
virtual bool is_an_old_start_end_archive() const override
returns whether the archive is a old archive (format < 8)
virtual bool skippable(skippability direction, const infinint &amount) override
whether the implementation is able to skip
bool is_terminated() const
switch module to limitint (32 ou 64 bits integers) or infinint
class contextual adds the information of phases in the generic_file
virtual void set_info_status(const std::string &s) override
defines the new contextual value
this is the interface class from which all other data transfer classes inherit
virtual bool skip(const infinint &pos) override
skip at the absolute position
class mem_ui to keep a copy of a user_interaction object
manage label data structure used in archive slice headers
the arbitrary large positive integer class
virtual void inherited_terminate() override
destructor-like call, except that it is allowed to throw exceptions
virtual void inherited_write(const char *a, U_I size) override
implementation of the write() operation
libdar namespace encapsulate all libdar symbols
virtual void inherited_read_ahead(const infinint &amount)
tells the object that several calls to read() will follow to probably obtain at least the given amoun...