bes
Updated for version 3.20.5
|
27 #ifndef I_BESUncompressManager3_h
28 #define I_BESUncompressManager3_h 1
40 typedef void (*p_bes_uncompress)(
const string &src,
int fd);
61 map<string, p_bes_uncompress> _uncompress_list;
62 typedef map<string, p_bes_uncompress>::const_iterator UCIter;
71 virtual bool add_method(
const string &name, p_bes_uncompress method);
72 virtual p_bes_uncompress
find_method(
const string &name);
76 virtual void dump(ostream &strm)
const ;
81 #endif // I_BESUncompressManager3_h
virtual p_bes_uncompress find_method(const string &name)
returns the uncompression method specified
virtual bool uncompress(const string &src, string &target, BESFileLockingCache *cache)
If the file 'src' should be uncompressed, do so and return a new file name on the value-result param ...
Base object for bes objects.
List of all registered decompression methods.
Implementation of a caching mechanism for compressed data.
virtual void dump(ostream &strm) const
dumps information about this object
virtual bool add_method(const string &name, p_bes_uncompress method)
create_and_lock a uncompress method to the list