 |
Disk ARchive
2.6.8
Full featured and portable backup and archiving tool
|
Go to the documentation of this file.
32 #include "../my_config.h"
116 void set_back_current_position();
117 void detruit() noexcept {
if(
own_ref &&
ref !=
nullptr)
delete ref; };
virtual bool skip(const infinint &pos) override
inherited from generic_file
virtual bool skippable(skippability direction, const infinint &amount) override
inherited from generic_file
gf_mode
generic_file openning modes
makes a segment of a generic_file appear like a real generic_file
switch module to limitint (32 ou 64 bits integers) or infinint
the arbitrary large positive integer class
void modify()
modify the tronc object to become transparent and allow unrestricted access to the underlyuing object
void sync_write()
write any pending data
virtual infinint get_position() const override
inherited from generic_file
tronc(generic_file *f, const infinint &offset, const infinint &size, bool own_f=false)
constructor
virtual void inherited_flush_read() override
reset internal engine, flush caches in order to read the data at current position
infinint start
offset in the global generic file to start at
virtual bool skip_relative(S_I x) override
inherited from generic_file
class generic_file is defined here as well as class fichier
bool check_pos
whether to check and eventually adjust (seek) the position of the underlying layer at each read or wr...
bool own_ref
whether we own ref (and must destroy it when no more needed)
infinint current
inside position of the next read or write
void terminate()
destructor-like call, except that it is allowed to throw exceptions
this is the interface class from which all other data transfer classes inherit
void check_underlying_position_while_reading_or_writing(bool mode)
infinint sz
length of the portion to consider
virtual void inherited_read_ahead(const infinint &amount) override
inherited from generic_file
generic_file * ref
global generic file of which to take a piece
virtual void inherited_terminate() override
destructor-like call, except that it is allowed to throw exceptions
virtual bool skip_to_eof() override
inherited from generic_file
virtual U_I inherited_read(char *a, U_I size) override
inherited from generic_file
virtual void inherited_write(const char *a, U_I size) override
inherited from generic_file
bool limited
whether the sz argument is to be considered
virtual void inherited_sync_write() override
write down any pending data
libdar namespace encapsulate all libdar symbols