44 hide_file(
const hide_file & ref) =
default;
45 hide_file & operator = (
const hide_file & ref) =
default;
46 ~hide_file() =
default;
48 virtual bool skippable(skippability direction,
const infinint & amount)
override {
return true; };
49 virtual bool skip(
const infinint & pos)
override;
50 virtual bool skip_to_eof()
override;
51 virtual bool skip_relative(S_I x)
override;
52 virtual bool truncatable(
const infinint & pos)
const override {
return false; };
53 virtual infinint get_position()
const override;
62 vector <partie> morceau;
65 virtual void inherited_read_ahead(
const infinint & amount)
override { ref->
read_ahead(amount); };
66 virtual U_I inherited_read(
char *a, U_I size)
override;
67 virtual void inherited_write(
const char *a,
size_t size)
override;
68 virtual void inherited_truncate(
const infinint & pos)
override {
throw Efeature(
"truncate a hide file"); };
69 virtual void inherited_sync_write()
override {};
70 virtual void inherited_flush_read()
override {};
71 virtual void inherited_terminate()
override {};
72 virtual void fill_morceau() = 0;
exception used when a requested feature is not (yet) implemented
this is the interface class from which all other data transfer classes inherit
void read_ahead(const infinint &amount)
the arbitrary large positive integer class
class generic_file is defined here as well as class fichier
the main file of the libdar API definitions
include macro defined by the configure script and some specific additional ones
libdar namespace encapsulate all libdar symbols