Particle Identification and Tracking
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
tracking::wrapper_i_ning Class Reference

Wrapper class for dealing with data from a text file. More...

#include <wrapper_i_ning.h>

+ Inheritance diagram for tracking::wrapper_i_ning:
+ Collaboration diagram for tracking::wrapper_i_ning:

Public Member Functions

int num_entries () const
 
void print () const
 
double get_value (int ind, utilities::D_TYPE type) const
 
virtual ~wrapper_i_ning ()
 
 wrapper_i_ning (params_file *param)
 
 wrapper_i_ning (std::map< utilities::D_TYPE, int >map_in)
 
void fill_master_box (Master_box< particle > &test) const
 

Protected Member Functions

virtual void fill_data (std::string file_name, int row, int col)
 
void init ()
 

Protected Attributes

double * first
 Pointer to the first data point of the. More...
 
int rows
 number of rows(particles) that the More...
 
int cols
 

Detailed Description

Wrapper class for dealing with data from a text file.

This is mainly for testing purposes. The assumption is that the data is stored in space deliniated file with one particle per row

This class is broken and will not compile

Constructor & Destructor Documentation

wrapper_i_ning::~wrapper_i_ning ( )
virtual

References first.

wrapper_i_ning::wrapper_i_ning ( params_file *  param)

References fill_data().

wrapper_i_ning::wrapper_i_ning ( std::map< utilities::D_TYPE, int >  map_in)

Member Function Documentation

void wrapper_i_ning::fill_data ( std::string  file_name,
int  row,
int  col 
)
protectedvirtual

Reimplemented in tracking::wrapper_i_ning_hd.

References cols, first, and rows.

Referenced by wrapper_i_ning().

void wrapper_i_ning::fill_master_box ( Master_box< particle > &  test) const
double wrapper_i_ning::get_value ( int  ind,
utilities::D_TYPE  type 
) const

References cols, and first.

void wrapper_i_ning::init ( )
protected
int wrapper_i_ning::num_entries ( ) const

References rows.

void wrapper_i_ning::print ( ) const

References cols, and rows.

Member Data Documentation

int tracking::wrapper_i_ning::cols
protected
double* tracking::wrapper_i_ning::first
protected

Pointer to the first data point of the.

Referenced by tracking::wrapper_i_ning_hd::fill_data(), fill_data(), get_value(), and ~wrapper_i_ning().

int tracking::wrapper_i_ning::rows
protected

number of rows(particles) that the

Referenced by tracking::wrapper_i_ning_hd::fill_data(), fill_data(), num_entries(), and print().


The documentation for this class was generated from the following files: