CMS 3D CMS Logo

LzmaFile.interface.cc
Go to the documentation of this file.
1 #include "LzmaFile.interface.h"
2 #include "LzmaFile.h"
3 
4 #include <iostream>
5 using namespace std;
6 
8 
9 extern "C" {
10 void lzmaopenfile_(char* name) { global_LzmaFile.Open(name); }
11 }
12 
13 extern "C" {
14 void lzmafillarray_(double* data, const int& length) { global_LzmaFile.FillArray(data, length); }
15 }
16 
17 extern "C" {
18 int lzmanextnumber_(double& data) { return global_LzmaFile.ReadNextNumber(data); }
19 }
20 
21 extern "C" {
22 void lzmaclosefile_() { global_LzmaFile.Close(); }
23 }
SRes ReadNextNumber(double &data)
Definition: LzmaFile.cc:80
SRes Close()
Definition: LzmaFile.cc:351
int lzmanextnumber_(double &data)
SRes FillArray(double *data, const int length)
Definition: LzmaFile.cc:94
LzmaFile global_LzmaFile
void lzmaopenfile_(char *name)
void lzmafillarray_(double *data, const int &length)
void lzmaclosefile_()
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79
SRes Open(const std::string &fileName)
Definition: LzmaFile.cc:44