#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 12 of file LHEXMLStringProduct.cc.
LHEXMLStringProduct::LHEXMLStringProduct | ( | const std::string & | content | ) |
|
virtual |
Definition at line 16 of file LHEXMLStringProduct.cc.
void LHEXMLStringProduct::fillCompressedContent | ( | std::istream & | input, |
unsigned int | initialSize = 4 * 1024 * 1024 |
||
) |
Definition at line 18 of file LHEXMLStringProduct.cc.
References mps_fire::action, compressedContent_, Exception, convertSQLitetoXML_cfg::output, and runTheMatrix::ret.
|
inline |
Definition at line 22 of file LHEXMLStringProduct.h.
References compressedContent_.
Referenced by mergeProduct().
|
inline |
Definition at line 20 of file LHEXMLStringProduct.h.
References content_.
Referenced by mergeProduct().
bool LHEXMLStringProduct::mergeProduct | ( | LHEXMLStringProduct const & | other | ) |
Definition at line 122 of file LHEXMLStringProduct.cc.
References compressedContent_, content_, getCompressed(), and getStrings().
void LHEXMLStringProduct::swap | ( | LHEXMLStringProduct & | other | ) |
Definition at line 128 of file LHEXMLStringProduct.cc.
References compressedContent_, and content_.
void LHEXMLStringProduct::writeCompressedContent | ( | std::ostream & | output, |
unsigned int | i | ||
) | const |
Definition at line 84 of file LHEXMLStringProduct.cc.
References mps_fire::action, compressedContent_, Exception, mps_fire::i, input, and runTheMatrix::ret.
|
private |
Definition at line 33 of file LHEXMLStringProduct.h.
Referenced by fillCompressedContent(), getCompressed(), mergeProduct(), swap(), and writeCompressedContent().
|
private |
Definition at line 32 of file LHEXMLStringProduct.h.
Referenced by getStrings(), mergeProduct(), and swap().