hdf5serie 2.0.0 HDF5 Serie

HDF5Serie - A HDF5 Wrapper for Time Series - API Documentation

# Purpose of this Project

This project has the purpose to provide a template based high level C++ interface/wrapper to HDF5 (http://www.hdfgroup.org) especially/just for reading and writing series of data. It provides a simple interface to append data to an existing HDF5-Dataset with one unlimited dimension. The data to append can be vectors/matrices of elementary type or structs. The use of the HDF5 DataType and DataSpace is totally encapsulated by the templates structure of this project (of course only for the provided functionality).

For installation instructions see the README file of the "checkout" from svn.

# License

The library is licensed under the GNU Lesser General Public License (LGPL)

# Example Code

#include <hdf5serie/vectorserie.h>
#include <string>
using namespace H5;
using namespace std;
int main() {
H5File file("test.h5", H5F_ACC_TRUNC);
Group grp=file.createGroup("mygrp");
VectorSerie<double> vs;
vector<string> colhead;
colhead.push_back("col1");
colhead.push_back("col2");
colhead.push_back("col3");
vs.create(grp, "vectorserie", colhead);
vs.setDescription("mydesctipsldfk");
vector<double> data;
data.push_back(1.2);
data.push_back(2.3);
data.push_back(3.4);
vs.append(data);
file.close();
return 0;
}