#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 () |
Private Attributes | |
std::vector< unsigned char > | blob |
bool | compressed |
bool | expanded |
unsigned long long | isize |
Positions | positions |
Definition at line 9 of file MultiFileBlob.h.
|
private |
Definition at line 53 of file MultiFileBlob.h.
typedef std::pair<unsigned char const *, unsigned char const *> MultiFileBlob::Range |
Definition at line 12 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, and dbtoconf::out.
Referenced by rawBlob().
void MultiFileBlob::finalized | ( | bool | compress | ) |
Definition at line 12 of file MultiFileBlob.cc.
References blob, compressed, expanded, isize, and dbtoconf::out.
|
inline |
|
inline |
MultiFileBlob::Range MultiFileBlob::rawBlob | ( | const std::string & | name | ) | const |
Definition at line 47 of file MultiFileBlob.cc.
References b, blob, ExpressReco_HICollisions_FallBack::e, expand(), isize, pos, 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, trackerHits::c, isize, AlCaRecoCosmics_cfg::name, pos, and positions.
Referenced by python.Vispa.Plugins.EdmBrowser.EdmDataAccessor.EdmDataAccessor::goto(), and python.Vispa.Plugins.EdmBrowser.EdmDataAccessor.EdmDataAccessor::setFilterBranches().
unsigned long long MultiFileBlob::size | ( | const std::string & | name | ) | const |
Definition at line 63 of file MultiFileBlob.cc.
References csvReporter::r, and rawBlob().
void MultiFileBlob::write | ( | const std::string & | name, |
std::ostream & | os | ||
) | const |
write to ostream
Definition at line 41 of file MultiFileBlob.cc.
References csvReporter::r, and rawBlob().
|
private |
Definition at line 52 of file MultiFileBlob.h.
Referenced by expand(), finalized(), rawBlob(), and read().
|
private |
Definition at line 55 of file MultiFileBlob.h.
Referenced by expand(), finalized(), and isCompressed().
|
private |
Definition at line 57 of file MultiFileBlob.h.
Referenced by expand(), and finalized().
|
private |
Definition at line 56 of file MultiFileBlob.h.
Referenced by expand(), finalized(), fullSize(), rawBlob(), and read().
|
private |
Definition at line 54 of file MultiFileBlob.h.