#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 51 of file MultiFileBlob.h.
typedef std::pair<unsigned char const*, unsigned char const*> MultiFileBlob::Range |
Definition at line 13 of file MultiFileBlob.h.
MultiFileBlob::MultiFileBlob | ( | ) |
Definition at line 7 of file MultiFileBlob.cc.
MultiFileBlob::~MultiFileBlob | ( | ) |
Definition at line 9 of file MultiFileBlob.cc.
|
private |
Definition at line 66 of file MultiFileBlob.cc.
References blob, compressed, expanded, isize, submitPVResolutionJobs::out, and spu::zerr().
Referenced by rawBlob().
void MultiFileBlob::finalized | ( | bool | compress | ) |
Definition at line 11 of file MultiFileBlob.cc.
References blob, compressed, expanded, isize, submitPVResolutionJobs::out, and spu::zerr().
|
inline |
|
inline |
MultiFileBlob::Range MultiFileBlob::rawBlob | ( | const std::string & | name | ) | const |
Definition at line 45 of file MultiFileBlob.cc.
References b, blob, alignCSCRings::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 27 of file MultiFileBlob.cc.
References blob, c, isize, mergeVDriftHistosByStation::name, and positions.
Referenced by edmIntegrityCheck.PublishToFileSystem::get().
|
private |
unsigned long long MultiFileBlob::size | ( | const std::string & | name | ) | const |
Definition at line 61 of file MultiFileBlob.cc.
References alignCSCRings::r, and rawBlob().
Referenced by ntupleDataFormat._Collection::__iter__(), and ntupleDataFormat._Collection::__len__().
void MultiFileBlob::write | ( | const std::string & | name, |
std::ostream & | os | ||
) | const |
write to ostream
Definition at line 40 of file MultiFileBlob.cc.
References alignCSCRings::r, and rawBlob().
Referenced by pkg.AbstractPkg::generate().
|
friend |
Definition at line 57 of file MultiFileBlob.h.
|
friend |
Definition at line 57 of file MultiFileBlob.h.
|
private |
Definition at line 50 of file MultiFileBlob.h.
Referenced by expand(), finalized(), rawBlob(), and read().
|
private |
Definition at line 53 of file MultiFileBlob.h.
Referenced by expand(), finalized(), and isCompressed().
|
private |
Definition at line 55 of file MultiFileBlob.h.
Referenced by expand(), and finalized().
|
private |
Definition at line 54 of file MultiFileBlob.h.
Referenced by expand(), finalized(), fullSize(), rawBlob(), and read().
|
private |
Definition at line 52 of file MultiFileBlob.h.