34 #include "../my_config.h" 56 const std::string &filename,
63 int get_read_fd()
const;
79 bool skip_relative(
signed int x);
82 bool has_next_to_read();
104 bool has_one_to_read;
bool skip_to_eof()
skip to the end of file
class mem_ui definition. This class is to be used as parent class to handle user_interaction object m...
void inherited_flush_read()
void inherited_read_ahead(const infinint &amount)
void inherited_terminate()
destructor-like call, except that it is allowed to throw exceptions
class generic_file is defined here as well as class fichierthe generic_file interface is widely used ...
This is a pure virtual class that is used by libdar when interaction with the user is required...
void do_not_close_read_fd()
ask to not close the read descriptor upon object destruction (the fd survives the object) ...
gf_mode
generic_file openning modes
virtual U_I inherited_read(char *a, U_I size)
implementation of read() operation
bool skip(const infinint &pos)
to be able to cancel libdar operation while running in a given thread.the class thread_cancellation i...
class to be used as parent to provide checkpoints to inherited classes
switch module to limitint (32 ou 64 bits integers) or infinint
this is the interface class from which all other data transfer classes inherit
class mem_ui to keep a copy of a user_interaction object
virtual void inherited_write(const char *a, U_I size)
implementation of the write() operation
infinint get_position() const
get the current read/write position
bool skippable(skippability direction, const infinint &amount)
the arbitrary large positive integer class
void inherited_sync_write()
write down any pending data
pipe implementation under the generic_file interface.
libdar namespace encapsulate all libdar symbols
void close_read_fd()
closes the read fd of the anonymous pipe (this is to be used by a writer)