OpenSWMM Engine  6.0.0-alpha.4
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.4)
Loading...
Searching...
No Matches
openswmm::io::detail Namespace Reference

Functions

template<class Create>
hid_t createHdf5Object (hid_t kind, hid_t properties, Create create)
 Create an HDF5 object with wall-clock object timestamps disabled.
 

Function Documentation

◆ createHdf5Object()

template<class Create>
hid_t openswmm::io::detail::createHdf5Object ( hid_t kind,
hid_t properties,
Create create )
inline

Create an HDF5 object with wall-clock object timestamps disabled.

Template Parameters
CreateCallable receiving a temporary creation-property list and returning a new hid_t or a negative failure value.
Parameters
[in]kindHDF5 creation-property class used when properties is H5P_DEFAULT.
[in]propertiesBorrowed creation properties copied before modification, or H5P_DEFAULT to construct a fresh list of kind.
[in]createSynchronous callable; must not retain the temporary list.
Returns
New owned object identifier, or -1 if list allocation/copying or timestamp configuration fails. A negative callback result is propagated.
Note
The temporary property list is closed after the call; the original list is unchanged. The callback must not throw, since exception cleanup of the temporary raw identifier is not provided.
Here is the caller graph for this function: