Debian Codegraph @

applications/NXtranslate/esrf_edf/edf_retriever.h

raw
1 //+**********************************************************************
2 //
3 // File: edf_retriever.h
4 //
5 // Project: Fable data to NeXus translation
6 //
7 // Description: definition of a edf_retriever class. The retriever allows to
8 // read data from EDF file and store in Nexus file format.
9 // It is a plugin of NXtranslate program.
10 //
11 // Author(s): Jaroslaw Butanowicz
12 //
13 // Original: April 2006
14 //
15 //+**********************************************************************
16
17
18 #ifndef __EDF_RETRIEVER_GUARD
19 #define __EDF_RETRIEVER_GUARD
20
21 #include "../retriever.h"
22 #include <fstream>
23 //
24 // this is not intended to be inherited from
25 //
26 class EdfRetriever: public Retriever{
27 public:
28 EdfRetriever(const std::string &);
29 ~EdfRetriever();
30 void getData(const std::string &, tree<Node> &);
31 std::string toString() const;
32 static const std::string MIME_TYPE;
33 private:
34 std::string source;
35 std::ifstream infile;
36 };
37 #endif