FLAME  devel
 All Classes Functions Variables Typedefs Enumerations Pages
Public Types | Public Member Functions | Static Public Member Functions | List of all members
H5Loader Class Reference

Helper to read 2d matricies. More...

#include <h5loader.h>

Public Types

typedef
boost::numeric::ublas::matrix
< double,
boost::numeric::ublas::row_major,
boost::numeric::ublas::unbounded_array
< double > > 
matrix_t
 A 2d matrix.
 

Public Member Functions

 H5Loader ()
 Construct w/o opening. Must call open()
 
 H5Loader (const char *)
 Construct and open().
 
 H5Loader (const std::string &)
 Construct and open().
 
void open (const char *)
 
void open (const std::string &)
 
void close ()
 
matrix_t load (const char *)
 
matrix_t load (const std::string &)
 

Static Public Member Functions

static void dontPrint ()
 

Detailed Description

Helper to read 2d matricies.

H5Loader L("file.h5/group");
H5Loader::matrix M(L.load("dataset"));

Definition at line 16 of file h5loader.h.


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