For reading DCO objects elements from a HDF file.
More...
#include <HDF5DCOReadFunctor.hxx>
|
| TimeTickType | getTick (bool nextrow=false) |
| | Local function to flush/write and prepare for next present data.
|
| |
|
| HDF5DCOReadFunctor (std::weak_ptr< H5::H5File > &file, const std::string &path, size_t nelts, bool readticks) |
| | Constructor.
|
| |
|
const std::string & | getLabel () |
| | obtain the label attached to the data
|
| |
|
virtual | ~HDF5DCOReadFunctor () |
| | Destructor.
|
| |
|
| DCOFunctor () |
| | Constructor.
|
| |
|
virtual | ~DCOFunctor () |
| | Destructor.
|
| |
| virtual bool | operator() (const void *dpointer, const DataTimeSpec &ts) |
| | function base, with const pointer (for channel reading)
|
| |
| virtual bool | operator() (void *dpointer) |
| | function base, updates data object
|
| |
|
|
void | configureDataSet (unsigned idx, const std::string &name, hsize_t offset, const H5::DataType *datatype, hsize_t ncols) |
| | Configure a dataset.
|
| |
|
|
size_t | readidx |
| | Index in the chunk sets.
|
| |
|
bool | advance |
| | Flag to indicate an advance in data reading.
|
| |
|
size_t | nrows |
| | Number of rows available.
|
| |
|
bool | readticks |
| | read ticks too (only for leaf child, not for parent objects)
|
| |
| std::vector< LogDataSet > | sets |
| | One set per element/member of the DCO object.
|
| |
|
std::string | basepath |
| | Base path for writing the data; under this a set of 1 + 2d vectors will be defined.
|
| |
For reading DCO objects elements from a HDF file.
Elements can contain either scalars, fixed-length vectors or variable length vectors of data. From a base path, each element gets a dataset with its name.
◆ getTick()
| TimeTickType dueca::hdf5log::HDF5DCOReadFunctor::getTick |
( |
bool | nextrow = false | ) |
|
Local function to flush/write and prepare for next present data.
- Parameters
-
| nextrow | If true; and advance the index, so that a next getTick will read new data. |
- Returns
- Time associated with the current data row
◆ sets
| std::vector<LogDataSet> dueca::hdf5log::HDF5DCOReadFunctor::sets |
|
protected |
One set per element/member of the DCO object.
If applicable, the last set is for the time tick.
The documentation for this class was generated from the following file:
- /home/abuild/rpmbuild/BUILD/dueca-4.2.5-build/dueca-4.2.5/hdf5utils/HDF5DCOReadFunctor.hxx