mixpp: bdm::CsvFileDS Class Reference

bdm::CsvFileDS Class Reference

CSV file data storage. More...

#include <datasources.h>

Inheritance diagram for bdm::CsvFileDS:

bdm::FileDS bdm::MemDS bdm::DS bdm::root List of all members.

Public Member Functions

void from_setting (const Setting &set)

Detailed Description

CSV file data storage.

The constructor creates Data matrix from the records in a CSV file fname. The orientation can be of two types:

  1. BY_COL which is default - the data are stored in columns; one column per time $t$, one row per data item.
  2. BY_ROW if the data are stored the classical CSV style. Then each column stores the values for data item, for ex. $[y_{t} y_{t-1} ...]$, one row for each discrete time instant.


Member Function Documentation

void CsvFileDS::from_setting ( const Setting &  set  )  [virtual]

Create object from the following structure

    class = 'CsvFileDS';
    filename = 'file.csv';
    orientation = 'BY_ROW' or 'BY_COL';        % data records are stored in rows of columns (default).
    --- inherited fields ---
    bdm::DS::from_setting

Reimplemented from bdm::FileDS.


The documentation for this class was generated from the following files:
Generated on 2 Dec 2013 for mixpp by  doxygen 1.4.7