Particle Identification and Tracking
wrapper_i_ning.h
Go to the documentation of this file.
1 //Copyright 2008,2009 Thomas A Caswell
2 //tcaswell@uchicago.edu
3 //http://jfi.uchicago.edu/~tcaswell
4 //
5 //This program is free software; you can redistribute it and/or modify
6 //it under the terms of the GNU General Public License as published by
7 //the Free Software Foundation; either version 3 of the License, or (at
8 //your option) any later version.
9 //
10 //This program is distributed in the hope that it will be useful, but
11 //WITHOUT ANY WARRANTY; without even the implied warranty of
12 //MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 //General Public License for more details.
14 //
15 //You should have received a copy of the GNU General Public License
16 //along with this program; if not, see <http://www.gnu.org/licenses>.
17 //
18 //Additional permission under GNU GPL version 3 section 7
19 //
20 //If you modify this Program, or any covered work, by linking or
21 //combining it with MATLAB (or a modified version of that library),
22 //containing parts covered by the terms of MATLAB User License, the
23 //licensors of this Program grant you additional permission to convey
24 //the resulting work.
25 #include "wrapper_i.h"
26 
27 #ifndef WRAPPER_NING
28 #define WRAPPER_NING
29 namespace tracking{
30 class params_file;
41 public:
42  int num_entries() const;
43 
44  // void print(int ind);
45  void print()const;
46  double get_value(int ind, utilities::D_TYPE type)const;
47 
48  virtual ~wrapper_i_ning();
49  wrapper_i_ning(params_file* param);
50  wrapper_i_ning(std::map<utilities::D_TYPE,int>map_in);
51  void fill_master_box(Master_box<particle>& test)const;
52 protected:
54  double * first;
55 
57  int rows;
58 
59  int cols;
60  //std::map<utilities::D_TYPE, int> contents;
61  virtual void fill_data(std::string file_name, int row, int col);
62  void init();
63 
64 };
65 }
66 
67 #endif