h5gt 0.2.0
C++ wrapper for HDF5 library (based on HighFive project)
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
h5gt::PropertyList< T > Class Template Reference

Base HDF5 property List. More...

#include <H5PropertyList.hpp>

Public Member Functions

 PropertyList (const PropertyList< T > &other)
 
PropertyListoperator= (const PropertyList< T > &other)
 
PropertyListoperator= (PropertyList &&other) noexcept
 
constexpr PropertyType getObjectType () const
 
hid_t getId (const bool &increaseRefCount=false) const
 
 PropertyList (PropertyList &&other) noexcept
 

Protected Member Functions

 PropertyList (const hid_t &hid) noexcept
 
void setExternalLinkPrefix (const std::string &prefix)
 setExternalLinkPrefix Let’s say you’ve created an external link in foo.h5 and the external link refers to a path name in file bar.h5. If (by intention or accident) the relative location of foo.h5 and bar.h5 changes, the external link becomes invalid, because the HDF5 library can’t locate the file bar.h5. To deal with a situation like that, you can create a prefix that you’d like to apply to the file names of external links before the library attempts to traverse them.
 
std::vector< hsize_t > getChunk (int max_ndims)
 
void initializeId ()
 

Protected Attributes

hid_t _hid
 

Detailed Description

template<PropertyType T>
class h5gt::PropertyList< T >

Base HDF5 property List.

Member Function Documentation

◆ setExternalLinkPrefix()

template<PropertyType T>
void h5gt::PropertyList< T >::setExternalLinkPrefix ( const std::string & prefix)
inlineprotected

setExternalLinkPrefix Let’s say you’ve created an external link in foo.h5 and the external link refers to a path name in file bar.h5. If (by intention or accident) the relative location of foo.h5 and bar.h5 changes, the external link becomes invalid, because the HDF5 library can’t locate the file bar.h5. To deal with a situation like that, you can create a prefix that you’d like to apply to the file names of external links before the library attempts to traverse them.

Parameters
prefix
Returns

The documentation for this class was generated from the following files: