#include <MultiFileBlob.h>
Public Types | |
typedef std::pair< unsigned char const *, unsigned char const * > | Range |
Public Member Functions | |
void | finalized (bool compress) |
unsigned long long | fullSize () const |
bool | isCompressed () const |
MultiFileBlob () | |
Range | rawBlob (const std::string &name) const |
void | read (const std::string &name, std::istream &is) |
read from real file give it name name More... | |
unsigned long long | size (const std::string &name) const |
void | write (const std::string &name, std::ostream &os) const |
write to ostream More... | |
~MultiFileBlob () | |
Private Types | |
typedef std::map< std::string, unsigned long long > | Positions |
Private Member Functions | |
void | expand () |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
Private Attributes | |
std::vector< unsigned char > | blob |
bool | compressed |
bool | expanded |
unsigned long long | isize |
Positions | positions |
Friends | |
class | boost::serialization::access |
template<typename CondSerializationT , typename Enabled > | |
struct | cond::serialization::access |
Definition at line 11 of file MultiFileBlob.h.
|
private |
Definition at line 55 of file MultiFileBlob.h.
typedef std::pair<unsigned char const *, unsigned char const *> MultiFileBlob::Range |
Definition at line 14 of file MultiFileBlob.h.
MultiFileBlob::MultiFileBlob | ( | ) |
Definition at line 7 of file MultiFileBlob.cc.
MultiFileBlob::~MultiFileBlob | ( | ) |
Definition at line 10 of file MultiFileBlob.cc.
|
private |
Definition at line 68 of file MultiFileBlob.cc.
References blob, compressed, expanded, isize, MillePedeFileConverter_cfg::out, and spu::zerr().
Referenced by fullSize(), and rawBlob().
void MultiFileBlob::finalized | ( | bool | compress | ) |
Definition at line 12 of file MultiFileBlob.cc.
References blob, compressed, expanded, isize, MillePedeFileConverter_cfg::out, and spu::zerr().
|
inline |
Definition at line 40 of file MultiFileBlob.h.
References expand(), isize, dataset::name, size(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
inline |
MultiFileBlob::Range MultiFileBlob::rawBlob | ( | const std::string & | name | ) | const |
Definition at line 47 of file MultiFileBlob.cc.
References b, blob, MillePedeFileConverter_cfg::e, expand(), isize, and positions.
Referenced by size(), and write().
void MultiFileBlob::read | ( | const std::string & | name, |
std::istream & | is | ||
) |
read from real file give it name name
write name to real file read from istream
Definition at line 28 of file MultiFileBlob.cc.
References blob, EnergyCorrector::c, isize, dataset::name, and positions.
Referenced by edmIntegrityCheck.PublishToFileSystem::get(), Vispa.Plugins.EdmBrowser.EdmDataAccessor.EdmDataAccessor::goto(), and Vispa.Plugins.EdmBrowser.EdmDataAccessor.EdmDataAccessor::setFilterBranches().
|
private |
unsigned long long MultiFileBlob::size | ( | const std::string & | name | ) | const |
Definition at line 63 of file MultiFileBlob.cc.
References alignCSCRings::r, and rawBlob().
Referenced by ntupleDataFormat._Collection::__iter__(), ntupleDataFormat._Collection::__len__(), and fullSize().
void MultiFileBlob::write | ( | const std::string & | name, |
std::ostream & | os | ||
) | const |
write to ostream
Definition at line 41 of file MultiFileBlob.cc.
References alignCSCRings::r, and rawBlob().
Referenced by pkg.AbstractPkg::generate().
|
friend |
Definition at line 61 of file MultiFileBlob.h.
|
friend |
Definition at line 61 of file MultiFileBlob.h.
|
private |
Definition at line 54 of file MultiFileBlob.h.
Referenced by expand(), finalized(), rawBlob(), and read().
|
private |
Definition at line 57 of file MultiFileBlob.h.
Referenced by expand(), finalized(), and isCompressed().
|
private |
Definition at line 59 of file MultiFileBlob.h.
Referenced by expand(), and finalized().
|
private |
Definition at line 58 of file MultiFileBlob.h.
Referenced by expand(), finalized(), fullSize(), rawBlob(), and read().
|
private |
Definition at line 56 of file MultiFileBlob.h.