h5cpp
0.3.3
A modern C++ wrapper for the HDF5 C library
|
Classes | |
class | Driver |
abstract class for file drivers More... | |
class | File |
class | MemoryDriver |
memory file driver More... | |
class | PosixDriver |
Typedefs | |
using | AccessFlagsBase = std::underlying_type< AccessFlags >::type |
using | SearchFlagsBase = std::underlying_type< SearchFlags >::type |
using | ScopeBase = std::underlying_type< Scope >::type |
Enumerations | |
enum | DriverID : unsigned { DriverID::ePosix = 1, DriverID::eDirect = 2, DriverID::eMemory = 3, DriverID::eMPI = 4 } |
enumeration to determine the file driver More... | |
enum | AccessFlags : unsigned { AccessFlags::TRUNCATE = 0x0002, AccessFlags::EXCLUSIVE = 0x0004, AccessFlags::READWRITE = 0x0001, AccessFlags::READONLY = 0x0000 } |
flags controlling file opening and creation More... | |
enum | SearchFlags : unsigned int { SearchFlags::FILE = H5F_OBJ_FILE, SearchFlags::DATASET = H5F_OBJ_DATASET, SearchFlags::GROUP = H5F_OBJ_GROUP, SearchFlags::DATATYPE = H5F_OBJ_DATATYPE, SearchFlags::ATTRIBUTE = H5F_OBJ_ATTR, SearchFlags::ALL = H5F_OBJ_ALL, SearchFlags::LOCAL = H5F_OBJ_LOCAL } |
flags controlling object search in a file More... | |
enum | Scope : std::underlying_type< H5F_scope_t >::type { Scope::LOCAL = H5F_SCOPE_LOCAL, Scope::GLOBAL = H5F_SCOPE_GLOBAL } |
file scope More... | |
using hdf5::file::AccessFlagsBase = typedef std::underlying_type<AccessFlags>::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 |
DLL_EXPORT File hdf5::file::create | ( | const boost::filesystem::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 |
DLL_EXPORT File hdf5::file::create | ( | const boost::filesystem::path & | path, |
AccessFlagsBase | flags, | ||
const property::FileCreationList & | fcpl = property::FileCreationList() , |
||
const property::FileAccessList & | fapl = property::FileAccessList() |
||
) |
DLL_EXPORT bool hdf5::file::is_hdf5_file | ( | const boost::filesystem::path & | path | ) |
path | reference to the files path |
std::runtime_error | in case of a failure |
DLL_EXPORT File hdf5::file::open | ( | const boost::filesystem::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 |
DLL_EXPORT File hdf5::file::open | ( | const boost::filesystem::path & | path, |
AccessFlagsBase | flags, | ||
const property::FileAccessList & | fapl = property::FileAccessList() |
||
) |
DLL_EXPORT std::ostream& hdf5::file::operator<< | ( | std::ostream & | stream, |
const AccessFlags & | flags | ||
) |
DLL_EXPORT std::ostream& hdf5::file::operator<< | ( | std::ostream & | stream, |
const SearchFlags & | flags | ||
) |
DLL_EXPORT std::ostream& hdf5::file::operator<< | ( | std::ostream & | stream, |
const Scope & | scope | ||
) |
DLL_EXPORT AccessFlagsBase hdf5::file::operator| | ( | const AccessFlags & | lhs, |
const AccessFlags & | rhs | ||
) |
DLL_EXPORT AccessFlagsBase hdf5::file::operator| | ( | const AccessFlagsBase & | lhs, |
const AccessFlags & | rhs | ||
) |
DLL_EXPORT AccessFlagsBase hdf5::file::operator| | ( | const AccessFlags & | lhs, |
const AccessFlagsBase & | rhs | ||
) |
DLL_EXPORT SearchFlagsBase hdf5::file::operator| | ( | const SearchFlags & | lhs, |
const SearchFlags & | rhs | ||
) |
DLL_EXPORT SearchFlagsBase hdf5::file::operator| | ( | const SearchFlags & | lhs, |
const SearchFlagsBase & | rhs | ||
) |
DLL_EXPORT SearchFlagsBase hdf5::file::operator| | ( | const SearchFlagsBase & | lhs, |
const SearchFlags & | rhs | ||
) |