26 #ifndef STRING_FILE_HPP
27 #define STRING_FILE_HPP
29 #include "../my_config.h"
54 #ifdef LIBDAR_SPECIAL_ALLOC
void inherited_sync_write()
write down any pending data
are defined here basic integer types that tend to be portable
infinint get_position()
get the current read/write position
class generic_file is defined here as well as class fichierthe generic_file interface is widely used ...
bool skip_to_eof()
skip to the end of file
bool skip_relative(S_I x)
skip relatively to the current position
class string_file emulates a generic_file frome a std::string
void inherited_terminate()
destructor-like call, except that it is allowed to throw exceptions
exception used when a requested feature is not (yet) implemented
contains all the excetion class thrown by libdar
switch module to limitint (32 ou 64 bits integers) or infinint
bool skip(const infinint &pos)
skip at the absolute position
void inherited_write(const char *a, U_I size)
implementation of the write() operation
this is the interface class from which all other data transfer classes inherit
the arbitrary large positive integer class
U_I inherited_read(char *a, U_I size)
implementation of read() operation
libdar namespace encapsulate all libdar symbols
string_file(const std::string &contents)
constructor