29 #include "../my_config.h" 59 const cache & operator = (
const cache & ref) {
throw SRC_BUG; };
90 bool need_flush_write()
const {
return first_to_write < last; };
91 void alloc_buffer(
size_t x_size);
92 void release_buffer();
97 U_I available_in_cache(skippability direction)
const;
bool skip(const infinint &pos)
class generic_file is defined here as well as class fichierthe generic_file interface is widely used ...
virtual void read_ahead(const infinint &amount)
U_I inherited_read(char *a, U_I size)
implementation of read() operation
void inherited_write(const char *a, U_I size)
implementation of the write() operation
bool skip_relative(S_I x)
skip relatively to the current position
void inherited_sync_write()
write down any pending data
infinint get_position() const
get the current read/write position
void inherited_terminate()
destructor-like call, except that it is allowed to throw exceptions
void inherited_flush_read()
generic_file(gf_mode m)
main constructor
gf_mode get_mode() const
retreive the openning mode for this object
switch module to limitint (32 ou 64 bits integers) or infinint
bool skippable(skippability direction, const infinint &amount)
this is the interface class from which all other data transfer classes inherit
the arbitrary large positive integer class
bool skip_to_eof()
skip to the end of file
libdar namespace encapsulate all libdar symbols
void inherited_read_ahead(const infinint &amount)