|
DUECA/DUSIME
|
Organize data per element. More...
#include <HDF5DCOWriteFunctor.hxx>
Public Member Functions | |
| LogDataSet () | |
| Default constructor. | |
| void | prepareRow (unsigned chunkidx, unsigned chunksize, bool flush) |
| Before writing, prepare all indices. | |
| void | writeNew (const void *data, hsize_t chunkidx, const std::string &dum) |
| With string. | |
| template<size_t N> | |
| void | writeNew (const void *data, hsize_t chunkidx, const dueca::fixvector< N, std::string > &dum) |
| With fixed size vector of strings. | |
| template<typename Alloc , template< typename, typename > class V> | |
| void | writeNew (const void *data, hsize_t chunkidx, const V< std::string, Alloc > &dum) |
| With iterable (stl vector & list) of c++ strings, needs copy of pointers. | |
| template<typename K , typename V > | |
| void | writeNew (const void *data, hsize_t chunkidx, const std::map< K, V > &dum) |
| With map, treat as iterable with key and val types, assume pairs are appropriately packed. | |
| template<typename Alloc , typename D , template< typename, typename > class V> | |
| void | writeNew (const void *data, hsize_t chunkidx, const V< D, Alloc > &dum) |
| With iterable and anything but strings, requires a copy. | |
| template<typename T > | |
| void | writeNew (const void *data, hsize_t chunkidx, const T &dum) |
| all objects are written as a direct type using HDF5 type from template | |
| void | writeNew (const void *data) |
| Write data. | |
| void | finalize (unsigned finalsize) |
| Flush the last bit. | |
Organize data per element.
|
inline |
all objects are written as a direct type using HDF5 type from template
| data | Data pointer |
| chunkidx | Current write index |
| dum | Reference to type |