bes
Updated for version 3.20.6
|
27 #ifndef I_BESUncompressManager3_h
28 #define I_BESUncompressManager3_h 1
37 typedef void (*p_bes_uncompress)(
const std::string &src,
int fd);
58 std::map<std::string, p_bes_uncompress> _uncompress_list;
59 typedef std::map<std::string, p_bes_uncompress>::const_iterator UCIter;
68 virtual bool add_method(
const std::string &name, p_bes_uncompress method);
69 virtual p_bes_uncompress
find_method(
const std::string &name);
73 virtual void dump(std::ostream &strm)
const ;
78 #endif // I_BESUncompressManager3_h
virtual bool uncompress(const std::string &src, std::string &target, BESFileLockingCache *cache)
If the file 'src' should be uncompressed, do so and return a new file name on the value-result param ...
virtual bool add_method(const std::string &name, p_bes_uncompress method)
create_and_lock a uncompress method to the list
virtual p_bes_uncompress find_method(const std::string &name)
returns the uncompression method specified
top level BES object to house generic methods
List of all registered decompression methods.
Implementation of a caching mechanism for compressed data.
virtual void dump(std::ostream &strm) const
dumps information about this object