Memosa-FVM  0.2
Reader.h
Go to the documentation of this file.
1 // This file os part of FVM
2 // Copyright (c) 2012 FVM Authors
3 // See LICENSE file for terms.
4 
5 #ifndef _READER_H_
6 #define _READER_H_
7 
8 #include <iostream>
9 #include <stdio.h>
10 
11 #include "RLogInterface.h"
12 
13 using namespace std;
14 
15 class Reader
16 {
17 public:
18  Reader(const string& fileName);
19  virtual ~Reader();
20  void resetFilePtr();
21  string readLine();
22  void close();
23 
24 protected:
25  const string _fileName;
26  FILE *_fp;
27 };
28 
29 #endif
Definition: Reader.h:15
FILE * _fp
Definition: Reader.h:26
const string _fileName
Definition: Reader.h:25