source: trunk/se/lu/thep/wenni/bin/BaseFileConverter/Data.h @ 69

Last change on this file since 69 was 69, checked in by Jari Häkkinen, 15 years ago

Moved wenni source code to this repository.
Everything compiles but the binaries are note tested.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 785 bytes
Line 
1// $Id: Data.h 69 2006-02-11 00:44:22Z jari $
2
3#ifndef _theplu_wenni_basefileconverter_data_
4#define _theplu_wenni_basefileconverter_data_
5
6// #include <basefile.h>
7
8#include <string>
9#include <vector>
10
11namespace BASE {
12  class BaseFileSection;
13}
14
15namespace theplu {
16namespace wenni {
17
18  class Data
19  {
20  public:
21    Data(BASE::BaseFileSection&,const std::string&, const std::string&);
22
23    void push_back(const std::vector<std::string>&);
24
25    inline int total_nof_columns(void) { return total_nof_columns_; }
26
27    void write_matrix(void);
28
29  private:
30    std::vector<std::vector<std::string> > data_;
31    int column_number_;
32    int column_offset_;
33    int total_nof_columns_;
34    int nof_assays_;
35    int nof_fields_per_assay_;
36    std::string column_name_;
37    std::string output_file_;
38  };
39
40}} // of namespace wenni and namespace theplu
41
42#endif
Note: See TracBrowser for help on using the repository browser.