Everything to do with Tables is located in this namespace.
More...
|
template<class DataType , class ObjectType > |
void | pullData (std::vector< size_t > &dims, std::vector< DataType > &tdata, gsl::not_null< ObjectType *> obj) |
|
template<class DataType , class ObjectType > |
void | pushData (const std::vector< size_t > &dims, gsl::not_null< ObjectType *> obj, const std::vector< DataType > &data) |
|
| INST_ATTR (INST_WRITE_TBL_INNER_TYPE) |
|
| INST_ATTR (INST_READ_TBL_TYPE) |
|
Everything to do with Tables is located in this namespace.
◆ INST_ATTR() [1/2]
◆ INST_ATTR() [2/2]
◆ pullData()
template<class DataType , class ObjectType >
void icedb::Tables::pullData |
( |
std::vector< size_t > & |
dims, |
|
|
std::vector< DataType > & |
tdata, |
|
|
gsl::not_null< ObjectType *> |
obj |
|
) |
| |
Definition at line 168 of file Tables.cpp.
174 for (
const auto &s : dims) sz *= s;
176 icedb::fs::hdf5::readDatasetArray<DataType, H5::DataSet>(obj, tdata.data());
◆ pushData()
template<class DataType , class ObjectType >
void icedb::Tables::pushData |
( |
const std::vector< size_t > & |
dims, |
|
|
gsl::not_null< ObjectType *> |
obj, |
|
|
const std::vector< DataType > & |
data |
|
) |
| |
Definition at line 195 of file Tables.cpp.
201 for (
const auto &s : dims) numElems *= s;
202 Expects(numElems > 0);
204 icedb::fs::hdf5::writeDatasetArray<DataType, ObjectType>(dims, obj, data.data());