test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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) {
11  global_LzmaFile.Open(name);
12  }
13 }
14 
15 extern "C" {
16  void lzmafillarray_(double* data, const int& length) {
17  global_LzmaFile.FillArray(data, length);
18  }
19 }
20 
21 extern "C" {
22  int lzmanextnumber_(double& data) {
23  return global_LzmaFile.ReadNextNumber(data);
24  }
25 }
26 
27 
28 extern "C" {
29  void lzmaclosefile_() {
31  }
32 }
SRes ReadNextNumber(double &data)
Definition: LzmaFile.cc:86
SRes Close()
Definition: LzmaFile.cc:391
int lzmanextnumber_(double &data)
SRes FillArray(double *data, const int length)
Definition: LzmaFile.cc:104
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:82
SRes Open(const std::string &fileName)
Definition: LzmaFile.cc:47