icedb  version 0.5.1
Snow particle scattering database API
Namespaces | Functions | Variables
export-hdf5.cpp File Reference
#include "../private/hdf5_supplemental.hpp"
#include "../icedb/compat/gsl/gsl_assert"
#include "../icedb/defs.h"
#include <string>
#include <sstream>
#include <utility>
#include <algorithm>
Include dependency graph for export-hdf5.cpp:

Go to the source code of this file.

Namespaces

 icedb
 
 icedb::fs
 
 icedb::fs::hdf5
 
 icedb::fs::hdf5::zlib
 

Functions

int icedb::fs::hdf5::useZLIB ()
 
void icedb::fs::hdf5::useZLIB (int val)
 
template<>
MatchAttributeTypeType icedb::fs::hdf5::MatchAttributeType< std::string > ()
 
template<>
MatchAttributeTypeType icedb::fs::hdf5::MatchAttributeType< const char * > ()
 
template<>
MatchAttributeTypeType icedb::fs::hdf5::MatchAttributeType< char > ()
 
template<>
MatchAttributeTypeType icedb::fs::hdf5::MatchAttributeType< uint8_t > ()
 
template<>
MatchAttributeTypeType icedb::fs::hdf5::MatchAttributeType< uint16_t > ()
 
template<>
MatchAttributeTypeType icedb::fs::hdf5::MatchAttributeType< uint32_t > ()
 
template<>
MatchAttributeTypeType icedb::fs::hdf5::MatchAttributeType< uint64_t > ()
 
template<>
MatchAttributeTypeType icedb::fs::hdf5::MatchAttributeType< int8_t > ()
 
template<>
MatchAttributeTypeType icedb::fs::hdf5::MatchAttributeType< int16_t > ()
 
template<>
MatchAttributeTypeType icedb::fs::hdf5::MatchAttributeType< int32_t > ()
 
template<>
MatchAttributeTypeType icedb::fs::hdf5::MatchAttributeType< int64_t > ()
 
template<>
MatchAttributeTypeType icedb::fs::hdf5::MatchAttributeType< float > ()
 
template<>
MatchAttributeTypeType icedb::fs::hdf5::MatchAttributeType< double > ()
 
template<>
bool icedb::fs::hdf5::isStrType< std::string > ()
 
template<>
bool icedb::fs::hdf5::isStrType< const char * > ()
 
template<>
void icedb::fs::hdf5::insertAttr< std::string > (const H5::Attribute &attr, gsl::not_null< H5::AtomType *> vls_type, const std::string &value)
 
template<>
void icedb::fs::hdf5::loadAttr< std::string > (const H5::Attribute &attr, gsl::not_null< H5::AtomType *> vls_type, std::string &value)
 
HDFgroup_t icedb::fs::hdf5::openOrCreateGroup (gsl::not_null< ICEDB_H5_GROUP_OWNER_PTR > base, gsl::not_null< const char *> name)
 
HDFgroup_t icedb::fs::hdf5::openGroup (gsl::not_null< ICEDB_H5_GROUP_OWNER_PTR > base, gsl::not_null< const char *> name)
 
bool icedb::fs::hdf5::attrExists (gsl::not_null< H5::H5Object *> base, gsl::not_null< const char *> name)
 
bool icedb::fs::hdf5::groupExists (gsl::not_null< ICEDB_H5_GROUP_OWNER_PTR > base, gsl::not_null< const char *> name)
 
std::pair< bool, bool > icedb::fs::hdf5::symLinkExists (gsl::not_null< ICEDB_H5_GROUP_OWNER_PTR > base, gsl::not_null< const char *> name)
 
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. More...
 
std::shared_ptr< H5::DSetCreatPropList > icedb::fs::hdf5::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 > icedb::fs::hdf5::getGroupMembers (const ICEDB_H5_GETNUMOBJS_OWNER &base)
 
std::map< std::string, H5G_obj_t > icedb::fs::hdf5::getGroupMembersTypes (const ICEDB_H5_GETNUMOBJS_OWNER &base)
 
std::vector< std::string > icedb::fs::hdf5::explode (std::string const &s, char delim)
 
std::vector< std::string > icedb::fs::hdf5::explodeHDF5groupPath (const std::string &s)
 
H5::Group icedb::fs::hdf5::createGroupStructure (const std::string &groupName, ICEDB_H5_GROUP_OWNER &base)
 
H5::Group icedb::fs::hdf5::createGroupStructure (const std::vector< std::string > &groups, ICEDB_H5_GROUP_OWNER &base)
 
unsigned int icedb::fs::hdf5::getHDF5IOflags (fs::IOopenFlags flags)
 
template<>
bool icedb::fs::hdf5::isType< uint64_t > (hid_t type_id)
 
template<>
bool icedb::fs::hdf5::isType< int64_t > (hid_t type_id)
 
template<>
bool icedb::fs::hdf5::isType< uint32_t > (hid_t type_id)
 
template<>
bool icedb::fs::hdf5::isType< int32_t > (hid_t type_id)
 
template<>
bool icedb::fs::hdf5::isType< uint16_t > (hid_t type_id)
 
template<>
bool icedb::fs::hdf5::isType< int16_t > (hid_t type_id)
 
template<>
bool icedb::fs::hdf5::isType< uint8_t > (hid_t type_id)
 
template<>
bool icedb::fs::hdf5::isType< int8_t > (hid_t type_id)
 
template<>
bool icedb::fs::hdf5::isType< float > (hid_t type_id)
 
template<>
bool icedb::fs::hdf5::isType< double > (hid_t type_id)
 
template<>
bool icedb::fs::hdf5::isType< char > (hid_t type_id)
 
template<>
bool icedb::fs::hdf5::isType< std::string > (hid_t type_id)
 
void icedb::fs::hdf5::readDatasetDimensions (gsl::not_null< H5::DataSet *> dataset, std::vector< size_t > &dims)
 
size_t icedb::fs::hdf5::readDatasetNumDimensions (gsl::not_null< H5::DataSet *> dataset)
 

Variables

int icedb::fs::hdf5::zlib::cval = 6