#include <LzmaFile.h>
Public Member Functions | |
SRes | Close () |
SRes | DecodeAll () |
SRes | DecodeBuffer () |
SRes | FillArray (double *data, const int length) |
LzmaFile () | |
SRes | Open (const std::string &fileName) |
SRes | ReadNextNumber (double &data) |
Public Attributes | |
int | fExponent |
bool | fExponentNegative |
double | fMantisseF |
int | fMantisseFcount |
double | fMantisseR |
bool | fNegative |
bool | fReadExponent |
bool | fReadExponentSign |
bool | fReadMantisseF |
bool | fReadMantisseR |
bool | fReadSign |
bool | fStartNumber |
std::queue< double > | fStorage |
Byte | inBuf [(1<< 16)] |
size_t | inPos |
size_t | inSize |
CFileSeqInStream | inStream |
Byte | outBuf [(1<< 16)] |
size_t | outPos |
int | res |
CLzmaDec | state |
UInt64 | unpackSize |
Definition at line 26 of file LzmaFile.h.
LzmaFile::LzmaFile | ( | ) |
Definition at line 25 of file LzmaFile.cc.
SRes LzmaFile::Close | ( | ) |
Definition at line 391 of file LzmaFile.cc.
References File_Close(), g_Alloc, and LzmaDec_Free().
Referenced by lzmaclosefile_(), and main().
SRes LzmaFile::DecodeAll | ( | ) |
Definition at line 339 of file LzmaFile.cc.
References IN_BUF_SIZE, relval_2017::k, LZMA_FINISH_ANY, LZMA_FINISH_END, LZMA_STATUS_FINISHED_WITH_MARK, LzmaDec_DecodeToBuf(), OUT_BUF_SIZE, ISeqInStream::Read, RINOK, mps_update::status, SZ_ERROR_DATA, and SZ_OK.
Referenced by main().
SRes LzmaFile::DecodeBuffer | ( | ) |
Definition at line 162 of file LzmaFile.cc.
References funct::C, gather_cfg::cout, cmsRelvalreport::exit, IN_BUF_SIZE, LZMA_FINISH_ANY, LZMA_FINISH_END, LZMA_STATUS_FINISHED_WITH_MARK, LzmaDec_DecodeToBuf(), pileupDistInMC::num, contentValuesFiles::number, OUT_BUF_SIZE, funct::pow(), ISeqInStream::Read, RINOK, mps_update::status, SZ_ERROR_DATA, and SZ_OK.
SRes LzmaFile::FillArray | ( | double * | data, |
const int | length | ||
) |
Definition at line 104 of file LzmaFile.cc.
References gather_cfg::cout, i, runTheMatrix::ret, SZ_ERROR_DATA, and SZ_OK.
Referenced by lzmafillarray_().
SRes LzmaFile::Open | ( | const std::string & | fileName | ) |
Definition at line 47 of file LzmaFile.cc.
References gather_cfg::cout, cmsRelvalreport::exit, File_Construct(), FileSeqInStream_CreateVTable(), g_Alloc, i, InFile_Open(), LZMA_PROPS_SIZE, LzmaDec_Allocate(), LzmaDec_Construct, LzmaDec_Init(), RINOK, SeqInStream_Read(), and SZ_OK.
Referenced by lzmaopenfile_(), and main().
SRes LzmaFile::ReadNextNumber | ( | double & | data | ) |
Definition at line 86 of file LzmaFile.cc.
References gather_cfg::cout, runTheMatrix::ret, SZ_ERROR_DATA, and SZ_OK.
Referenced by lzmanextnumber_().
int LzmaFile::fExponent |
Definition at line 70 of file LzmaFile.h.
bool LzmaFile::fExponentNegative |
Definition at line 65 of file LzmaFile.h.
double LzmaFile::fMantisseF |
Definition at line 68 of file LzmaFile.h.
int LzmaFile::fMantisseFcount |
Definition at line 69 of file LzmaFile.h.
double LzmaFile::fMantisseR |
Definition at line 67 of file LzmaFile.h.
bool LzmaFile::fNegative |
Definition at line 64 of file LzmaFile.h.
bool LzmaFile::fReadExponent |
Definition at line 62 of file LzmaFile.h.
bool LzmaFile::fReadExponentSign |
Definition at line 61 of file LzmaFile.h.
bool LzmaFile::fReadMantisseF |
Definition at line 60 of file LzmaFile.h.
bool LzmaFile::fReadMantisseR |
Definition at line 59 of file LzmaFile.h.
bool LzmaFile::fReadSign |
Definition at line 58 of file LzmaFile.h.
bool LzmaFile::fStartNumber |
Definition at line 56 of file LzmaFile.h.
std::queue<double> LzmaFile::fStorage |
Definition at line 49 of file LzmaFile.h.
Byte LzmaFile::inBuf[(1<< 16)] |
Definition at line 46 of file LzmaFile.h.
size_t LzmaFile::inPos |
Definition at line 51 of file LzmaFile.h.
size_t LzmaFile::inSize |
Definition at line 52 of file LzmaFile.h.
CFileSeqInStream LzmaFile::inStream |
Definition at line 38 of file LzmaFile.h.
Byte LzmaFile::outBuf[(1<< 16)] |
Definition at line 47 of file LzmaFile.h.
size_t LzmaFile::outPos |
Definition at line 53 of file LzmaFile.h.
int LzmaFile::res |
Definition at line 39 of file LzmaFile.h.
CLzmaDec LzmaFile::state |
Definition at line 40 of file LzmaFile.h.
UInt64 LzmaFile::unpackSize |
Definition at line 44 of file LzmaFile.h.