#include <algorithm>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <string>
#include <vector>
#include <boost/tokenizer.hpp>
#include <boost/spirit/core.hpp>
#include <boost/spirit/utility.hpp>
#include "mcmc++/util.h"
Include dependency graph for DataTable.h:

Go to the source code of this file.
Classes | |
| class | BadCol |
| Exception thrown on bad column index. More... | |
| class | BadRow |
| Exception thrown on bad row index. More... | |
| class | DataTable< Type > |
| Provides access to homogeneous tabular data. More... | |
Defines | |
| #define | __DATATABLE_H |
| #define | argCheck_ 1 |
Enumerations | |
| enum | DataTableResult |
Functions | |
| std::ostream & | operator<< (std::ostream &out, enum DataTableResult result) |
The DataTable class reads homogeneous tabular data, i.e., numerical data that is either all of the same type or that can be converted to the base type of the data table using standard conversions. Rows or columns or both can be labeled, but labels are not required.
Definition in file DataTable.h.
| #define argCheck_ 1 |
argCheck_ controls whether row and column indexes are bounds checked before use
Defaults to 1 (true) unles NDEBUG is defined
Definition at line 85 of file DataTable.h.
Referenced by DataTable< Type >::ColumnLabel(), DataTable< Type >::ColumnVector(), DataTable< Type >::RowLabel(), DataTable< Type >::RowVector(), DataTable< Type >::SetValue(), and DataTable< Type >::Value().
| enum DataTableResult |
enum DataTableResult
codes used to determine whether read was successful and the type of error, if not
Definition at line 55 of file DataTable.h.
| std::ostream& operator<< | ( | std::ostream & | out, | |
| enum DataTableResult | result | |||
| ) |
Stream output for DataTable errors
| out | The stream for output | |
| result | The error identifier |
Definition at line 35 of file DataTable.cpp.
1.5.1