-
Notifications
You must be signed in to change notification settings - Fork 6
/
JavaDB.h
34 lines (29 loc) · 628 Bytes
/
JavaDB.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/*
* JavaDB.h
* TTree
*
* Created by Vincent Botta on 16/01/09.
* Copyright 2009 University of Liège. All rights reserved.
*
*/
#ifndef __JAVADB__
#define __JAVADB__
#include <string>
#include <stdio.h>
#include <stdlib.h>
#include "BlockDB.h"
class JavaDB : public BlockDB {
private:
std::string filename;
bool load(std::string jdbfile);
void readline(std::string l);
long int countLineAtt(std::string jdbfile);
long int countAtt(std::string l);
public:
JavaDB();
JavaDB(std::string jdbfile);
~JavaDB();
void readBlock(std::string blockfile);
void readBlockStartEnd(std::string blockfile);
};
#endif