30 using std::istringstream;
54 BESUncompressManager3::BESUncompressManager3()
72 BESUncompressManager3::UCIter i;
73 i = _uncompress_list.find(name);
74 if (i == _uncompress_list.end()) {
75 _uncompress_list[name] = method;
91 BESUncompressManager3::UCIter i;
92 i = _uncompress_list.find(name);
93 if (i != _uncompress_list.end()) {
133 BESDEBUG(
"uncompress2",
"uncompress - src: " << src << endl );
136 string::size_type dot = src.rfind(
".");
137 if (dot == string::npos) {
138 BESDEBUG(
"uncompress2",
"uncompress - no file extension" << endl );
142 string ext = src.substr(dot + 1, src.length() - dot);
148 BESDEBUG(
"uncompress2",
"uncompress - not compressed " << endl );
157 BESDEBUG(
"uncompress2",
"uncompress - is cached? " << src << endl );
161 BESDEBUG(
"uncompress",
"uncompress - cached hit: " << cfile << endl );
168 BESDEBUG(
"uncompress",
"uncompress - caching " << cfile << endl );
190 BESDEBUG(
"uncompress",
"uncompress - cached hit: " << cfile << endl );
198 BESDEBUG(
"uncompress",
"caught exception, unlocking cache and re-throw." << endl );
213 strm <<
BESIndent::LMarg <<
"BESUncompressManager3::dump - (" << (
void *)
this <<
")" << endl;
215 if (_uncompress_list.size()) {
218 BESUncompressManager3::UCIter i = _uncompress_list.begin();
219 BESUncompressManager3::UCIter ie = _uncompress_list.end();
220 for (; i != ie; i++) {
234 if (_instance == 0) {