icedb
version 0.5.1
Snow particle scattering database API
|
Namespaces | |
zlib | |
Typedefs | |
typedef std::unique_ptr< H5::Group > | HDFgroup_t |
typedef std::unique_ptr< H5::AtomType > | MatchAttributeTypeType |
typedef std::unique_ptr< H5::DataSet > | HDFdataset_t |
Functions | |
int | useZLIB () |
void | useZLIB (int val) |
template<> | |
MatchAttributeTypeType | MatchAttributeType< std::string > () |
template<> | |
MatchAttributeTypeType | MatchAttributeType< const char * > () |
template<> | |
MatchAttributeTypeType | MatchAttributeType< char > () |
template<> | |
MatchAttributeTypeType | MatchAttributeType< uint8_t > () |
template<> | |
MatchAttributeTypeType | MatchAttributeType< uint16_t > () |
template<> | |
MatchAttributeTypeType | MatchAttributeType< uint32_t > () |
template<> | |
MatchAttributeTypeType | MatchAttributeType< uint64_t > () |
template<> | |
MatchAttributeTypeType | MatchAttributeType< int8_t > () |
template<> | |
MatchAttributeTypeType | MatchAttributeType< int16_t > () |
template<> | |
MatchAttributeTypeType | MatchAttributeType< int32_t > () |
template<> | |
MatchAttributeTypeType | MatchAttributeType< int64_t > () |
template<> | |
MatchAttributeTypeType | MatchAttributeType< float > () |
template<> | |
MatchAttributeTypeType | MatchAttributeType< double > () |
template<> | |
bool | isStrType< std::string > () |
template<> | |
bool | isStrType< const char * > () |
template<> | |
void | insertAttr< std::string > (const H5::Attribute &attr, gsl::not_null< H5::AtomType *> vls_type, const std::string &value) |
template<> | |
void | loadAttr< std::string > (const H5::Attribute &attr, gsl::not_null< H5::AtomType *> vls_type, std::string &value) |
HDFgroup_t | openOrCreateGroup (gsl::not_null< ICEDB_H5_GROUP_OWNER_PTR > base, gsl::not_null< const char *> name) |
HDFgroup_t | openGroup (gsl::not_null< ICEDB_H5_GROUP_OWNER_PTR > base, gsl::not_null< const char *> name) |
bool | attrExists (gsl::not_null< H5::H5Object *> base, gsl::not_null< const char *> name) |
bool | groupExists (gsl::not_null< ICEDB_H5_GROUP_OWNER_PTR > base, gsl::not_null< const char *> name) |
std::pair< bool, bool > | symLinkExists (gsl::not_null< ICEDB_H5_GROUP_OWNER_PTR > base, gsl::not_null< const char *> name) |
bool | datasetExists (gsl::not_null< ICEDB_H5_GROUP_OWNER_PTR > base, gsl::not_null< const char * > name) |
Convenience function to check if a given dataset exists. More... | |
std::shared_ptr< H5::DSetCreatPropList > | make_plist (size_t rows, size_t cols, bool compress=true) |
Creates a property list with the compression + chunking as specified. More... | |
std::set< std::string > | getGroupMembers (const ICEDB_H5_GETNUMOBJS_OWNER &base) |
std::map< std::string, H5G_obj_t > | getGroupMembersTypes (const ICEDB_H5_GETNUMOBJS_OWNER &base) |
std::vector< std::string > | explode (std::string const &s, char delim) |
std::vector< std::string > | explodeHDF5groupPath (const std::string &s) |
H5::Group | createGroupStructure (const std::string &groupName, ICEDB_H5_GROUP_OWNER &base) |
H5::Group | createGroupStructure (const std::vector< std::string > &groups, ICEDB_H5_GROUP_OWNER &base) |
unsigned int | getHDF5IOflags (fs::IOopenFlags flags) |
template<> | |
bool | isType< uint64_t > (hid_t type_id) |
template<> | |
bool | isType< int64_t > (hid_t type_id) |
template<> | |
bool | isType< uint32_t > (hid_t type_id) |
template<> | |
bool | isType< int32_t > (hid_t type_id) |
template<> | |
bool | isType< uint16_t > (hid_t type_id) |
template<> | |
bool | isType< int16_t > (hid_t type_id) |
template<> | |
bool | isType< uint8_t > (hid_t type_id) |
template<> | |
bool | isType< int8_t > (hid_t type_id) |
template<> | |
bool | isType< float > (hid_t type_id) |
template<> | |
bool | isType< double > (hid_t type_id) |
template<> | |
bool | isType< char > (hid_t type_id) |
template<> | |
bool | isType< std::string > (hid_t type_id) |
void | readDatasetDimensions (gsl::not_null< H5::DataSet *> dataset, std::vector< size_t > &dims) |
size_t | readDatasetNumDimensions (gsl::not_null< H5::DataSet *> dataset) |
template<class DataType > | |
MatchAttributeTypeType | MatchAttributeType () |
template<> | |
MatchAttributeTypeType | MatchAttributeType< const char * > () |
template<class DataType > | |
bool | isStrType () |
Check to see if output type is for a string. More... | |
template<> | |
bool | isStrType< const char * > () |
template<class DataType > | |
void | insertAttr (const H5::Attribute &attr, gsl::not_null< H5::AtomType *> vls_type, const DataType &value) |
Handles proper insertion of strings versus other data types. More... | |
template<class DataType , class Container > | |
void | addAttr (gsl::not_null< Container *> obj, gsl::not_null< const char *> attname, const DataType &value) |
Convenient template to add an attribute of a variable type to a group or dataset. More... | |
template<class DataType , class Container > | |
void | addAttrArray (gsl::not_null< Container *> obj, gsl::not_null< const char *> attname, const std::vector< size_t > &dimensionality, const std::vector< DataType > &value) |
Writes an array of objects. More... | |
template<class DataType , class Container > | |
void | addAttrVector (gsl::not_null< Container *> obj, gsl::not_null< const char *> attname, const std::vector< DataType > &data) |
Writes a vector of objects. More... | |
template<class DataType > | |
void | loadAttr (const H5::Attribute &attr, gsl::not_null< H5::AtomType *> vls_type, DataType &value) |
Handles proper insertion of strings versus other data types. More... | |
template<class DataType , class Container > | |
void | readAttr (gsl::not_null< Container *> obj, gsl::not_null< const char *> attname, DataType &value) |
Convenient template to read an attribute of a variable. More... | |
template<class DataType , class Container > | |
void | readAttrArray (gsl::not_null< Container *> obj, gsl::not_null< const char *> attname, std::vector< size_t > &dims, std::vector< DataType > &value) |
Reads an array (or vector) of objects. More... | |
template<class DataType , class Container > | |
void | readAttrVector (gsl::not_null< Container *> obj, gsl::not_null< const char *> attname, std::vector< DataType > &value) |
Reads an array (or vector) of objects. More... | |
template<class Container > | |
DataContainerType | getAttributeGroupingType (gsl::not_null< Container *> obj, gsl::not_null< const char *> attname) |
template<class Container > | |
std::vector< hsize_t > | getAttrArrayDimensionality (gsl::not_null< Container *> obj, gsl::not_null< const char *> attname) |
template<class DataType , class Container > | |
HDFdataset_t | addDatasetArray (gsl::not_null< Container *> obj, gsl::not_null< const char *> name, size_t rows, size_t cols, gsl::not_null< const DataType *> values, std::shared_ptr< H5::DSetCreatPropList > iplist=nullptr) |
template<class DataType , class Container > | |
HDFdataset_t | addDatasetArray (gsl::not_null< Container *> obj, gsl::not_null< const char *> name, size_t rows, gsl::not_null< const DataType *> values, std::shared_ptr< H5::DSetCreatPropList > iplist=nullptr) |
template<class DataType , class Container > | |
gsl::not_null< H5::DataSet * > | writeDatasetArray (const std::vector< size_t > &dimensions, gsl::not_null< H5::DataSet *> dset, gsl::not_null< const DataType *> values) |
template<class DataType , class Container > | |
HDFdataset_t | createDatasetRaw (gsl::not_null< Container *> parent, gsl::not_null< const char *> name, const std::vector< size_t > &dims, std::shared_ptr< H5::DSetCreatPropList > iplist=nullptr) |
template<class Container > | |
HDFdataset_t | readDatasetDimensions (gsl::not_null< Container *> obj, gsl::not_null< const char *> name, std::vector< size_t > &out) |
template<class DataType , class Container > | |
HDFdataset_t | readDatasetArray (gsl::not_null< Container *> obj, gsl::not_null< const char *> name, gsl::not_null< DataType *> values) |
template<class DataType , class Container > | |
gsl::not_null< Container * > | readDatasetArray (gsl::not_null< Container *> dataset, gsl::not_null< DataType *> values) |
template<class Container > | |
void | addNames (gsl::not_null< Container *> obj, const std::string &prefix, size_t num, const std::function< std::string(int)> &s, size_t stride=0, size_t mCols=0) |
Add column names to table. More... | |
template<class Container > | |
void | addColNames (gsl::not_null< Container *> obj, size_t num, const std::function< std::string(int)> &s, size_t stride=0, size_t mCols=0) |
Add column names to table. More... | |
template<class DataType > | |
bool | isType (hid_t) |
Functions to detect the type of data. More... | |
template<class DataType , class Container > | |
bool | isType (gsl::not_null< const Container *> obj, const std::string &attributeName) |
template<class DataType , class Container > | |
bool | isType (gsl::not_null< const Container *> obj) |
typedef std::unique_ptr<H5::DataSet > icedb::fs::hdf5::HDFdataset_t |
Definition at line 268 of file hdf5_supplemental.hpp.
typedef std::unique_ptr<H5::Group > icedb::fs::hdf5::HDFgroup_t |
Definition at line 44 of file hdf5_supplemental.hpp.
typedef std::unique_ptr<H5::AtomType> icedb::fs::hdf5::MatchAttributeTypeType |
std::shared_ptr<H5::AtomType> | is a pointer to a newly-constructed matching type |
Definition at line 53 of file hdf5_supplemental.hpp.
|
strong |
Enumerator | |
---|---|
BASIC | |
ARRAY | |
COMPOUND | |
ENUM | |
OPAQUE | |
VLEN | |
STRING | |
UNKNOWN |
Definition at line 207 of file hdf5_supplemental.hpp.
void icedb::fs::hdf5::addAttr | ( | gsl::not_null< Container *> | obj, |
gsl::not_null< const char *> | attname, | ||
const DataType & | value | ||
) |
Convenient template to add an attribute of a variable type to a group or dataset.
Definition at line 89 of file hdf5_supplemental.hpp.
void icedb::fs::hdf5::addAttrArray | ( | gsl::not_null< Container *> | obj, |
gsl::not_null< const char *> | attname, | ||
const std::vector< size_t > & | dimensionality, | ||
const std::vector< DataType > & | value | ||
) |
void icedb::fs::hdf5::addAttrVector | ( | gsl::not_null< Container *> | obj, |
gsl::not_null< const char *> | attname, | ||
const std::vector< DataType > & | data | ||
) |
Writes a vector of objects.
Definition at line 129 of file hdf5_supplemental.hpp.
void icedb::fs::hdf5::addColNames | ( | gsl::not_null< Container *> | obj, |
size_t | num, | ||
const std::function< std::string(int)> & | s, | ||
size_t | stride = 0 , |
||
size_t | mCols = 0 |
||
) |
Add column names to table.
num | is the number of columns |
stride | allows name duplication (for vectors) |
Definition at line 456 of file hdf5_supplemental.hpp.
References createGroupStructure(), explode(), explodeHDF5groupPath(), getHDF5IOflags(), and make_plist().
HDFdataset_t icedb::fs::hdf5::addDatasetArray | ( | gsl::not_null< Container *> | obj, |
gsl::not_null< const char *> | name, | ||
size_t | rows, | ||
size_t | cols, | ||
gsl::not_null< const DataType *> | values, | ||
std::shared_ptr< H5::DSetCreatPropList > | iplist = nullptr |
||
) |
Definition at line 272 of file hdf5_supplemental.hpp.
References useZLIB().
Referenced by addDatasetArray().
HDFdataset_t icedb::fs::hdf5::addDatasetArray | ( | gsl::not_null< Container *> | obj, |
gsl::not_null< const char *> | name, | ||
size_t | rows, | ||
gsl::not_null< const DataType *> | values, | ||
std::shared_ptr< H5::DSetCreatPropList > | iplist = nullptr |
||
) |
Definition at line 305 of file hdf5_supplemental.hpp.
References addDatasetArray().
void icedb::fs::hdf5::addNames | ( | gsl::not_null< Container *> | obj, |
const std::string & | prefix, | ||
size_t | num, | ||
const std::function< std::string(int)> & | s, | ||
size_t | stride = 0 , |
||
size_t | mCols = 0 |
||
) |
Add column names to table.
num | is the number of columns |
stride | allows name duplication (for vectors) |
Definition at line 429 of file hdf5_supplemental.hpp.
bool icedb::fs::hdf5::attrExists | ( | gsl::not_null< H5::H5Object *> | base, |
gsl::not_null< const char *> | name | ||
) |
Definition at line 88 of file export-hdf5.cpp.
Referenced by getAttrArrayDimensionality().
HDFdataset_t icedb::fs::hdf5::createDatasetRaw | ( | gsl::not_null< Container *> | parent, |
gsl::not_null< const char *> | name, | ||
const std::vector< size_t > & | dims, | ||
std::shared_ptr< H5::DSetCreatPropList > | iplist = nullptr |
||
) |
Definition at line 330 of file hdf5_supplemental.hpp.
References useZLIB().
H5::Group icedb::fs::hdf5::createGroupStructure | ( | const std::string & | groupName, |
ICEDB_H5_GROUP_OWNER & | base | ||
) |
Definition at line 205 of file export-hdf5.cpp.
References explode().
Referenced by addColNames(), icedb::Databases::Database_impl::createGroupStructure(), icedb::Databases::Database::indexDatabase(), and icedb::Databases::Database::openDatabase().
H5::Group icedb::fs::hdf5::createGroupStructure | ( | const std::vector< std::string > & | groups, |
ICEDB_H5_GROUP_OWNER & | base | ||
) |
Definition at line 216 of file export-hdf5.cpp.
References getGroupMembers().
bool icedb::fs::hdf5::datasetExists | ( | gsl::not_null< ICEDB_H5_GROUP_OWNER_PTR > | base, |
gsl::not_null< const char *> | name | ||
) |
Convenience function to check if a given dataset exists.
Definition at line 137 of file export-hdf5.cpp.
Referenced by getAttrArrayDimensionality().
std::vector< std::string > icedb::fs::hdf5::explode | ( | std::string const & | s, |
char | delim | ||
) |
Definition at line 185 of file export-hdf5.cpp.
Referenced by addColNames(), createGroupStructure(), and explodeHDF5groupPath().
std::vector< std::string > icedb::fs::hdf5::explodeHDF5groupPath | ( | const std::string & | s | ) |
Definition at line 199 of file export-hdf5.cpp.
References explode().
Referenced by addColNames(), and icedb::Databases::Database::indexDatabase().
std::vector<hsize_t> icedb::fs::hdf5::getAttrArrayDimensionality | ( | gsl::not_null< Container *> | obj, |
gsl::not_null< const char *> | attname | ||
) |
Definition at line 241 of file hdf5_supplemental.hpp.
References attrExists(), datasetExists(), and symLinkExists().
DataContainerType icedb::fs::hdf5::getAttributeGroupingType | ( | gsl::not_null< Container *> | obj, |
gsl::not_null< const char *> | attname | ||
) |
std::set< std::string > icedb::fs::hdf5::getGroupMembers | ( | const ICEDB_H5_GETNUMOBJS_OWNER & | base | ) |
Definition at line 162 of file export-hdf5.cpp.
Referenced by createGroupStructure().
std::map< std::string, H5G_obj_t > icedb::fs::hdf5::getGroupMembersTypes | ( | const ICEDB_H5_GETNUMOBJS_OWNER & | base | ) |
Definition at line 173 of file export-hdf5.cpp.
Referenced by icedb::Groups::Group_impl::getGroupNames(), and icedb::Tables::CanHaveTables::getTableNames().
unsigned int icedb::fs::hdf5::getHDF5IOflags | ( | fs::IOopenFlags | flags | ) |
Definition at line 246 of file export-hdf5.cpp.
References icedb::fs::CREATE, icedb::fs::READ_ONLY, icedb::fs::READ_WRITE, and icedb::fs::TRUNCATE.
Referenced by addColNames(), icedb::Databases::Database::createSampleDatabase(), icedb::Databases::Database::createSingleFileDatabase(), icedb::Databases::Database_impl::makeDatabaseFileStandard(), and icedb::Databases::Database::openDatabase().
bool icedb::fs::hdf5::groupExists | ( | gsl::not_null< ICEDB_H5_GROUP_OWNER_PTR > | base, |
gsl::not_null< const char *> | name | ||
) |
Definition at line 105 of file export-hdf5.cpp.
void icedb::fs::hdf5::insertAttr | ( | const H5::Attribute & | attr, |
gsl::not_null< H5::AtomType *> | vls_type, | ||
const DataType & | value | ||
) |
Handles proper insertion of strings versus other data types.
Definition at line 81 of file hdf5_supplemental.hpp.
void icedb::fs::hdf5::insertAttr< std::string > | ( | const H5::Attribute & | attr, |
gsl::not_null< H5::AtomType *> | vls_type, | ||
const std::string & | value | ||
) |
Definition at line 44 of file export-hdf5.cpp.
bool icedb::fs::hdf5::isStrType | ( | ) |
Check to see if output type is for a string.
Definition at line 75 of file hdf5_supplemental.hpp.
bool icedb::fs::hdf5::isStrType< const char *> | ( | ) |
Definition at line 42 of file export-hdf5.cpp.
bool icedb::fs::hdf5::isStrType< const char *> | ( | ) |
Definition at line 42 of file export-hdf5.cpp.
bool icedb::fs::hdf5::isStrType< std::string > | ( | ) |
Definition at line 41 of file export-hdf5.cpp.
bool icedb::fs::hdf5::isType | ( | hid_t | ) |
Functions to detect the type of data.
Definition at line 506 of file hdf5_supplemental.hpp.
bool icedb::fs::hdf5::isType | ( | gsl::not_null< const Container *> | obj, |
const std::string & | attributeName | ||
) |
Definition at line 509 of file hdf5_supplemental.hpp.
bool icedb::fs::hdf5::isType | ( | gsl::not_null< const Container *> | obj | ) |
Definition at line 514 of file hdf5_supplemental.hpp.
References isType< char >(), isType< double >(), isType< float >(), isType< int16_t >(), isType< int32_t >(), isType< int64_t >(), isType< int8_t >(), isType< uint16_t >(), isType< uint32_t >(), isType< uint64_t >(), and isType< uint8_t >().
bool icedb::fs::hdf5::isType< char > | ( | hid_t | type_id | ) |
Definition at line 266 of file export-hdf5.cpp.
Referenced by isType().
bool icedb::fs::hdf5::isType< double > | ( | hid_t | type_id | ) |
Definition at line 265 of file export-hdf5.cpp.
Referenced by isType().
bool icedb::fs::hdf5::isType< float > | ( | hid_t | type_id | ) |
Definition at line 264 of file export-hdf5.cpp.
Referenced by isType().
bool icedb::fs::hdf5::isType< int16_t > | ( | hid_t | type_id | ) |
Definition at line 261 of file export-hdf5.cpp.
Referenced by isType().
bool icedb::fs::hdf5::isType< int32_t > | ( | hid_t | type_id | ) |
Definition at line 259 of file export-hdf5.cpp.
Referenced by isType().
bool icedb::fs::hdf5::isType< int64_t > | ( | hid_t | type_id | ) |
Definition at line 257 of file export-hdf5.cpp.
Referenced by isType().
bool icedb::fs::hdf5::isType< int8_t > | ( | hid_t | type_id | ) |
Definition at line 263 of file export-hdf5.cpp.
Referenced by isType().
bool icedb::fs::hdf5::isType< std::string > | ( | hid_t | type_id | ) |
Definition at line 267 of file export-hdf5.cpp.
bool icedb::fs::hdf5::isType< uint16_t > | ( | hid_t | type_id | ) |
Definition at line 260 of file export-hdf5.cpp.
Referenced by isType().
bool icedb::fs::hdf5::isType< uint32_t > | ( | hid_t | type_id | ) |
Definition at line 258 of file export-hdf5.cpp.
Referenced by isType().
bool icedb::fs::hdf5::isType< uint64_t > | ( | hid_t | type_id | ) |
Definition at line 256 of file export-hdf5.cpp.
Referenced by isType().
bool icedb::fs::hdf5::isType< uint8_t > | ( | hid_t | type_id | ) |
Definition at line 262 of file export-hdf5.cpp.
Referenced by isType().
void icedb::fs::hdf5::loadAttr | ( | const H5::Attribute & | attr, |
gsl::not_null< H5::AtomType *> | vls_type, | ||
DataType & | value | ||
) |
Handles proper insertion of strings versus other data types.
Definition at line 143 of file hdf5_supplemental.hpp.
void icedb::fs::hdf5::loadAttr< std::string > | ( | const H5::Attribute & | attr, |
gsl::not_null< H5::AtomType *> | vls_type, | ||
std::string & | value | ||
) |
Definition at line 48 of file export-hdf5.cpp.
std::shared_ptr< H5::DSetCreatPropList > icedb::fs::hdf5::make_plist | ( | size_t | rows, |
size_t | cols, | ||
bool | compress | ||
) |
Creates a property list with the compression + chunking as specified.
Definition at line 151 of file export-hdf5.cpp.
Referenced by addColNames().
MatchAttributeTypeType icedb::fs::hdf5::MatchAttributeType | ( | ) |
Definition at line 55 of file hdf5_supplemental.hpp.
References MatchAttributeType< char >(), MatchAttributeType< double >(), MatchAttributeType< float >(), MatchAttributeType< int16_t >(), MatchAttributeType< int32_t >(), MatchAttributeType< int64_t >(), MatchAttributeType< int8_t >(), MatchAttributeType< uint16_t >(), MatchAttributeType< uint32_t >(), MatchAttributeType< uint64_t >(), and MatchAttributeType< uint8_t >().
MatchAttributeTypeType icedb::fs::hdf5::MatchAttributeType< char > | ( | ) |
Definition at line 24 of file export-hdf5.cpp.
Referenced by MatchAttributeType().
MatchAttributeTypeType icedb::fs::hdf5::MatchAttributeType< const char *> | ( | ) |
Definition at line 23 of file export-hdf5.cpp.
MatchAttributeTypeType icedb::fs::hdf5::MatchAttributeType< const char *> | ( | ) |
Definition at line 23 of file export-hdf5.cpp.
MatchAttributeTypeType icedb::fs::hdf5::MatchAttributeType< double > | ( | ) |
Definition at line 37 of file export-hdf5.cpp.
Referenced by MatchAttributeType().
MatchAttributeTypeType icedb::fs::hdf5::MatchAttributeType< float > | ( | ) |
Definition at line 36 of file export-hdf5.cpp.
Referenced by MatchAttributeType().
MatchAttributeTypeType icedb::fs::hdf5::MatchAttributeType< int16_t > | ( | ) |
Definition at line 31 of file export-hdf5.cpp.
Referenced by MatchAttributeType().
MatchAttributeTypeType icedb::fs::hdf5::MatchAttributeType< int32_t > | ( | ) |
Definition at line 32 of file export-hdf5.cpp.
Referenced by MatchAttributeType().
MatchAttributeTypeType icedb::fs::hdf5::MatchAttributeType< int64_t > | ( | ) |
Definition at line 33 of file export-hdf5.cpp.
Referenced by MatchAttributeType().
MatchAttributeTypeType icedb::fs::hdf5::MatchAttributeType< int8_t > | ( | ) |
Definition at line 30 of file export-hdf5.cpp.
Referenced by MatchAttributeType().
MatchAttributeTypeType icedb::fs::hdf5::MatchAttributeType< std::string > | ( | ) |
Definition at line 22 of file export-hdf5.cpp.
MatchAttributeTypeType icedb::fs::hdf5::MatchAttributeType< uint16_t > | ( | ) |
Definition at line 27 of file export-hdf5.cpp.
Referenced by MatchAttributeType().
MatchAttributeTypeType icedb::fs::hdf5::MatchAttributeType< uint32_t > | ( | ) |
Definition at line 28 of file export-hdf5.cpp.
Referenced by MatchAttributeType().
MatchAttributeTypeType icedb::fs::hdf5::MatchAttributeType< uint64_t > | ( | ) |
Definition at line 29 of file export-hdf5.cpp.
Referenced by MatchAttributeType().
MatchAttributeTypeType icedb::fs::hdf5::MatchAttributeType< uint8_t > | ( | ) |
Definition at line 26 of file export-hdf5.cpp.
Referenced by MatchAttributeType().
HDFgroup_t icedb::fs::hdf5::openGroup | ( | gsl::not_null< ICEDB_H5_GROUP_OWNER_PTR > | base, |
gsl::not_null< const char *> | name | ||
) |
Definition at line 75 of file export-hdf5.cpp.
Referenced by icedb::Groups::Group_impl::Group_impl().
HDFgroup_t icedb::fs::hdf5::openOrCreateGroup | ( | gsl::not_null< ICEDB_H5_GROUP_OWNER_PTR > | base, |
gsl::not_null< const char *> | name | ||
) |
Definition at line 62 of file export-hdf5.cpp.
void icedb::fs::hdf5::readAttr | ( | gsl::not_null< Container *> | obj, |
gsl::not_null< const char *> | attname, | ||
DataType & | value | ||
) |
Convenient template to read an attribute of a variable.
Definition at line 151 of file hdf5_supplemental.hpp.
Referenced by icedb::Attributes::pullData().
void icedb::fs::hdf5::readAttrArray | ( | gsl::not_null< Container *> | obj, |
gsl::not_null< const char *> | attname, | ||
std::vector< size_t > & | dims, | ||
std::vector< DataType > & | value | ||
) |
Reads an array (or vector) of objects.
Definition at line 161 of file hdf5_supplemental.hpp.
Referenced by icedb::Attributes::pullData().
void icedb::fs::hdf5::readAttrVector | ( | gsl::not_null< Container *> | obj, |
gsl::not_null< const char *> | attname, | ||
std::vector< DataType > & | value | ||
) |
Reads an array (or vector) of objects.
Definition at line 190 of file hdf5_supplemental.hpp.
Referenced by icedb::Attributes::pullData().
HDFdataset_t icedb::fs::hdf5::readDatasetArray | ( | gsl::not_null< Container *> | obj, |
gsl::not_null< const char *> | name, | ||
gsl::not_null< DataType *> | values | ||
) |
Definition at line 391 of file hdf5_supplemental.hpp.
gsl::not_null<Container*> icedb::fs::hdf5::readDatasetArray | ( | gsl::not_null< Container *> | dataset, |
gsl::not_null< DataType *> | values | ||
) |
Definition at line 409 of file hdf5_supplemental.hpp.
void icedb::fs::hdf5::readDatasetDimensions | ( | gsl::not_null< H5::DataSet *> | dataset, |
std::vector< size_t > & | dims | ||
) |
Definition at line 273 of file export-hdf5.cpp.
Referenced by icedb::Tables::Table::getDimensions(), icedb::Tables::Table::readAll(), and readDatasetDimensions().
HDFdataset_t icedb::fs::hdf5::readDatasetDimensions | ( | gsl::not_null< Container *> | obj, |
gsl::not_null< const char *> | name, | ||
std::vector< size_t > & | out | ||
) |
Definition at line 366 of file hdf5_supplemental.hpp.
References readDatasetDimensions(), and readDatasetNumDimensions().
size_t icedb::fs::hdf5::readDatasetNumDimensions | ( | gsl::not_null< H5::DataSet *> | dataset | ) |
Definition at line 285 of file export-hdf5.cpp.
Referenced by icedb::Tables::Table::getNumDimensions(), and readDatasetDimensions().
std::pair< bool, bool > icedb::fs::hdf5::symLinkExists | ( | gsl::not_null< ICEDB_H5_GROUP_OWNER_PTR > | base, |
gsl::not_null< const char * > | name | ||
) |
Convenience function to check if a symbolic link exists, and if the object being pointed to also exists.
Definition at line 118 of file export-hdf5.cpp.
Referenced by getAttrArrayDimensionality().
int icedb::fs::hdf5::useZLIB | ( | ) |
Definition at line 17 of file export-hdf5.cpp.
References icedb::fs::hdf5::zlib::cval.
Referenced by icedb::Tables::CanHaveTables::_createTable(), addDatasetArray(), createDatasetRaw(), and main().
void icedb::fs::hdf5::useZLIB | ( | int | val | ) |
gsl::not_null<H5::DataSet*> icedb::fs::hdf5::writeDatasetArray | ( | const std::vector< size_t > & | dimensions, |
gsl::not_null< H5::DataSet *> | dset, | ||
gsl::not_null< const DataType *> | values | ||
) |
Definition at line 313 of file hdf5_supplemental.hpp.