1 #ifndef CondFormats_FileBlob_h 2 #define CondFormats_FileBlob_h 16 FileBlob(std::istream &is,
bool zip);
26 void read(std::istream &);
28 void write(std::ostream &)
const;
34 #if !defined(__CINT__) && !defined(__MAKECINT__) && !defined(__REFLEX__) 43 std::vector<unsigned char>
blob;
bool isCompressed() const
std::vector< unsigned char > blob
static unsigned int computeFileSize(const std::string &)
OutputIterator zip(InputIterator1 first1, InputIterator1 last1, InputIterator2 first2, InputIterator2 last2, OutputIterator result, Compare comp)
static unsigned int computeStreamSize(std::istream &)
void write(const std::string &) const
write to real file
#define COND_SERIALIZABLE
void read(const std::string &)
read from real file
std::unique_ptr< std::vector< unsigned char > > getUncompressedBlob() const
i didn't want to do two copies ... hope this works.