27#ifndef PROTO_GENERIC_FILE_HPP
28#define PROTO_GENERIC_FILE_HPP
54 class proto_generic_file
57 proto_generic_file() {};
66 proto_generic_file &
operator = (
const proto_generic_file & ref) =
default;
69 proto_generic_file &
operator = (proto_generic_file && ref)
noexcept =
default;
84 virtual U_I
read(
char *a, U_I size) = 0;
89 virtual void write(
const char *a, U_I size) = 0;
virtual ~proto_generic_file() noexcept(false)
virtual destructor
proto_generic_file & operator=(const proto_generic_file &ref)=default
assignment operator
virtual void write(const char *a, U_I size)=0
write data to the proto_generic_file
proto_generic_file(proto_generic_file &&ref) noexcept=default
move constructor
proto_generic_file(const proto_generic_file &ref)=default
copy constructor
virtual U_I read(char *a, U_I size)=0
read data from the proto_generic_file
contains all the excetion class thrown by libdar
are defined here basic integer types that tend to be portable
include macro defined by the configure script and some specific additional ones
libdar namespace encapsulate all libdar symbols