h5cpp
0.6.1
A modern C++ wrapper for the HDF5 C library
|
Classes | |
class | DirectDriver |
direct write without buffering (for hdf5 compiled with H5_HAVE_DIRECT) More... | |
class | Driver |
abstract class for file drivers More... | |
class | File |
class | MemoryDriver |
memory file driver More... | |
class | MPIDriver |
class for the MPI driver (for hdf5 with compiled MPI) More... | |
class | PosixDriver |
Typedefs | |
using | AccessFlagsBase = std::underlying_type< AccessFlags >::type |
using | ImageFlagsBase = std::underlying_type< ImageFlags >::type |
using | SearchFlagsBase = std::underlying_type< SearchFlags >::type |
using | ScopeBase = std::underlying_type< Scope >::type |
Enumerations | |
enum class | DriverID : unsigned { Posix = 1 , Direct = 2 , Memory = 3 , MPI = 4 } |
enumeration to determine the file driver More... | |
enum class | AccessFlags : unsigned { Truncate = 0x0002 , Exclusive = 0x0004 , ReadWrite = 0x0001 , ReadOnly = 0x0000 , SWMRRead = 0x0040 , SWMRWrite = 0x0020 } |
flags controlling file opening and creation More... | |
enum class | ImageFlags : unsigned { ReadOnly = 0x0000 , ReadWrite = H5LT_FILE_IMAGE_OPEN_RW , DontCopy = H5LT_FILE_IMAGE_DONT_COPY , DontRelease = H5LT_FILE_IMAGE_DONT_RELEASE , All = H5LT_FILE_IMAGE_ALL } |
flags controlling image file opening and getting More... | |
enum class | SearchFlags : unsigned int { File = H5F_OBJ_FILE , Dataset = H5F_OBJ_DATASET , Group = H5F_OBJ_GROUP , Datatype = H5F_OBJ_DATATYPE , Attribute = H5F_OBJ_ATTR , All = H5F_OBJ_ALL , Local = H5F_OBJ_LOCAL } |
flags controlling object search in a file More... | |
enum class | Scope : std::underlying_type< H5F_scope_t >::type { Local = H5F_SCOPE_LOCAL , Global = H5F_SCOPE_GLOBAL } |
file scope More... | |
using hdf5::file::AccessFlagsBase = typedef std::underlying_type<AccessFlags>::type |
using hdf5::file::ImageFlagsBase = typedef std::underlying_type<ImageFlags>::type |
using hdf5::file::ScopeBase = typedef std::underlying_type<Scope>::type |
using hdf5::file::SearchFlagsBase = typedef std::underlying_type<SearchFlags>::type |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
File hdf5::file::create | ( | const fs::path & | path, |
AccessFlags | flags = AccessFlags::Exclusive , |
||
const property::FileCreationList & | fcpl = property::FileCreationList() , |
||
const property::FileAccessList & | fapl = property::FileAccessList() |
||
) |
path | the path to the new file |
flags | HDF5 file creation flags |
fcpl | reference to a file creation property list |
fapl | reference to a file access property list |
std::runtime_error | in case of a failure |
File hdf5::file::create | ( | const fs::path & | path, |
AccessFlagsBase | flags, | ||
const property::FileCreationList & | fcpl = property::FileCreationList() , |
||
const property::FileAccessList & | fapl = property::FileAccessList() |
||
) |
File hdf5::file::from_buffer | ( | const T & | data, |
ImageFlags | flags = ImageFlags::ReadOnly |
||
) |
File hdf5::file::from_buffer | ( | const T & | data, |
ImageFlagsBase | flags | ||
) |
File hdf5::file::from_buffer | ( | T & | data, |
const datatype::Datatype & | mem_type, | ||
const dataspace::Dataspace & | mem_space, | ||
ImageFlagsBase | flags | ||
) |
File hdf5::file::from_buffer | ( | T & | data, |
ImageFlags | flags = ImageFlags::ReadOnly |
||
) |
std::runtime_error | in case of a failure |
T | source type |
data | reference to the source instance of T |
flags | file image flags |
File hdf5::file::from_buffer | ( | T & | data, |
ImageFlagsBase | flags | ||
) |
bool hdf5::file::is_hdf5_file | ( | const fs::path & | path | ) |
path | reference to the files path |
std::runtime_error | in case of a failure |
File hdf5::file::open | ( | const fs::path & | path, |
AccessFlags | flags = AccessFlags::ReadOnly , |
||
const property::FileAccessList & | fapl = property::FileAccessList() |
||
) |
path | the path to the file to open |
flags | file open flags |
fapl | reference to a file access property list |
std::runtime_error | in case of a failure |
File hdf5::file::open | ( | const fs::path & | path, |
AccessFlagsBase | flags, | ||
const property::FileAccessList & | fapl = property::FileAccessList() |
||
) |
AccessFlagsBase hdf5::file::operator& | ( | const AccessFlags & | lhs, |
const AccessFlags & | rhs | ||
) |
AccessFlagsBase hdf5::file::operator& | ( | const AccessFlags & | lhs, |
const AccessFlagsBase & | rhs | ||
) |
AccessFlagsBase hdf5::file::operator& | ( | const AccessFlagsBase & | lhs, |
const AccessFlags & | rhs | ||
) |
ImageFlagsBase hdf5::file::operator& | ( | const ImageFlags & | lhs, |
const ImageFlags & | rhs | ||
) |
ImageFlagsBase hdf5::file::operator& | ( | const ImageFlags & | lhs, |
const ImageFlagsBase & | rhs | ||
) |
ImageFlagsBase hdf5::file::operator& | ( | const ImageFlagsBase & | lhs, |
const ImageFlags & | rhs | ||
) |
SearchFlagsBase hdf5::file::operator& | ( | const SearchFlags & | lhs, |
const SearchFlags & | rhs | ||
) |
SearchFlagsBase hdf5::file::operator& | ( | const SearchFlags & | lhs, |
const SearchFlagsBase & | rhs | ||
) |
SearchFlagsBase hdf5::file::operator& | ( | const SearchFlagsBase & | lhs, |
const SearchFlags & | rhs | ||
) |
std::ostream& hdf5::file::operator<< | ( | std::ostream & | stream, |
const AccessFlags & | flags | ||
) |
std::ostream& hdf5::file::operator<< | ( | std::ostream & | stream, |
const ImageFlags & | flags | ||
) |
std::ostream& hdf5::file::operator<< | ( | std::ostream & | stream, |
const Scope & | scope | ||
) |
std::ostream& hdf5::file::operator<< | ( | std::ostream & | stream, |
const SearchFlags & | flags | ||
) |
AccessFlagsBase hdf5::file::operator| | ( | const AccessFlags & | lhs, |
const AccessFlags & | rhs | ||
) |
AccessFlagsBase hdf5::file::operator| | ( | const AccessFlags & | lhs, |
const AccessFlagsBase & | rhs | ||
) |
AccessFlagsBase hdf5::file::operator| | ( | const AccessFlagsBase & | lhs, |
const AccessFlags & | rhs | ||
) |
ImageFlagsBase hdf5::file::operator| | ( | const ImageFlags & | lhs, |
const ImageFlags & | rhs | ||
) |
ImageFlagsBase hdf5::file::operator| | ( | const ImageFlags & | lhs, |
const ImageFlagsBase & | rhs | ||
) |
ImageFlagsBase hdf5::file::operator| | ( | const ImageFlagsBase & | lhs, |
const ImageFlags & | rhs | ||
) |
SearchFlagsBase hdf5::file::operator| | ( | const SearchFlags & | lhs, |
const SearchFlags & | rhs | ||
) |
SearchFlagsBase hdf5::file::operator| | ( | const SearchFlags & | lhs, |
const SearchFlagsBase & | rhs | ||
) |
SearchFlagsBase hdf5::file::operator| | ( | const SearchFlagsBase & | lhs, |
const SearchFlags & | rhs | ||
) |