#include <LHEXMLStringProduct.h>
Public Member Functions | |
void | fillCompressedContent (std::istream &input, unsigned int initialSize=4 *1024 *1024) |
const std::vector< std::vector< uint8_t > > & | getCompressed () const |
const std::vector< std::string > & | getStrings () const |
LHEXMLStringProduct () | |
LHEXMLStringProduct (const std::string &content) | |
bool | mergeProduct (LHEXMLStringProduct const &other) |
void | swap (LHEXMLStringProduct &other) |
void | writeCompressedContent (std::ostream &output, unsigned int i) const |
virtual | ~LHEXMLStringProduct () |
Private Attributes | |
std::vector< std::vector< uint8_t > > | compressedContent_ |
std::vector< std::string > | content_ |
Definition at line 12 of file LHEXMLStringProduct.h.
LHEXMLStringProduct::LHEXMLStringProduct | ( | ) |
Definition at line 13 of file LHEXMLStringProduct.cc.
LHEXMLStringProduct::LHEXMLStringProduct | ( | const std::string & | content | ) |
|
virtual |
Definition at line 24 of file LHEXMLStringProduct.cc.
void LHEXMLStringProduct::fillCompressedContent | ( | std::istream & | input, |
unsigned int | initialSize = 4*1024*1024 |
||
) |
Definition at line 28 of file LHEXMLStringProduct.cc.
References writedatasetfile::action, constexpr, Exception, and convertSQLitetoXML_cfg::output.
Referenced by getCompressed().
|
inline |
Definition at line 25 of file LHEXMLStringProduct.h.
References compressedContent_, fillCompressedContent(), mps_fire::i, input, mergeProduct(), trackingPlots::other, convertSQLitetoXML_cfg::output, swap(), and writeCompressedContent().
Referenced by ExternalLHEAsciiDumper::endRun(), and mergeProduct().
|
inline |
Definition at line 21 of file LHEXMLStringProduct.h.
References content_.
Referenced by ExternalLHEAsciiDumper::endRun(), and mergeProduct().
bool LHEXMLStringProduct::mergeProduct | ( | LHEXMLStringProduct const & | other | ) |
Definition at line 142 of file LHEXMLStringProduct.cc.
References getCompressed(), and getStrings().
Referenced by getCompressed().
void LHEXMLStringProduct::swap | ( | LHEXMLStringProduct & | other | ) |
Definition at line 149 of file LHEXMLStringProduct.cc.
References compressedContent_, and content_.
Referenced by getCompressed().
void LHEXMLStringProduct::writeCompressedContent | ( | std::ostream & | output, |
unsigned int | i | ||
) | const |
Definition at line 98 of file LHEXMLStringProduct.cc.
References writedatasetfile::action, constexpr, Exception, mps_fire::i, and input.
Referenced by ExternalLHEAsciiDumper::endRun(), and getCompressed().
|
private |
Definition at line 38 of file LHEXMLStringProduct.h.
Referenced by getCompressed(), and swap().
|
private |
Definition at line 37 of file LHEXMLStringProduct.h.
Referenced by getStrings(), and swap().