data_flux Class Reference
Defines a class containing a collection of flux datum objects with simple I/O. More...
#include "data/data_flux.h"
Public Member Functions | |
| data_flux () | |
| Defines a default, empty data_flux object. | |
| data_flux (std::string file_name) | |
| Defines a default, data_flux filled by data in file <file_name>. | |
| data_flux (std::vector< std::string > file_name) | |
| Defines a default, data_flux filled by data in the collection of files in the vector <file_name>. | |
| void | add_data (std::string file_name) |
| Adds data from the file <file_name>. | |
| void | add_data (datum_flux &d) |
| Adds data from a datum object. | |
| size_t | size () const |
| Returns the number of data points. | |
| datum_flux & | datum (size_t i) const |
| Provides access to the atomic datum element. | |
Private Attributes | |
| std::vector< datum_flux * > | _fluxes |
Detailed Description
Collections of flux data are defined in data_flux, which includes simple I/O tools and provides access to a list of appropriately constructed datum_flux objects.
- Warning
- Currently assumes a fixed data file format.
- Todo:
- Once data file formats crystalize, implement more generic or multi-format I/O options.
The documentation for this class was generated from the following files:
- data/data_flux.h
- data/data_flux.cpp
