31 #include "../my_config.h" 57 bool skip_relative(
signed int x) {
return false; };
bool skip_to_eof()
skip to the end of file
void check_self_cancellation() const
Checkpoint test : whether the current libdar call must abort or not.
infinint get_position() const
get the current read/write position
class generic_file is defined here as well as class fichierthe generic_file interface is widely used ...
gf_mode
generic_file openning modes
the null_file class implements the /dev/null behavior
U_I inherited_read(char *a, U_I size)
implementation of read() operation
void inherited_flush_read()
bool skippable(skippability direction, const infinint &amount)
to be able to cancel libdar operation while running in a given thread.the class thread_cancellation i...
void inherited_sync_write()
write down any pending data
generic_file(gf_mode m)
main constructor
class to be used as parent to provide checkpoints to inherited classes
void inherited_terminate()
destructor-like call, except that it is allowed to throw exceptions
bool skip(const infinint &pos)
this is the interface class from which all other data transfer classes inherit
void inherited_write(const char *a, U_I size)
implementation of the write() operation
the arbitrary large positive integer class
void inherited_read_ahead(const infinint &amount)
libdar namespace encapsulate all libdar symbols