icedb  version 0.5.1
Snow particle scattering database API
Static Public Member Functions | List of all members
icedb::Examples::Shapes::ScopedHandles::CloseHDF5Dataset Struct Reference

Static Public Member Functions

static void Close (hid_t h)
 

Detailed Description

Definition at line 32 of file shapeIOpsu.cpp.

Member Function Documentation

◆ Close()

static void icedb::Examples::Shapes::ScopedHandles::CloseHDF5Dataset::Close ( hid_t  h)
inlinestatic

Definition at line 33 of file shapeIOpsu.cpp.

References ICEDB_throw, and icedb::error::xOtherError.

33  {
34  herr_t err = H5Dclose(h);
36  .add("Reason", "Cannot close an HDF5 dataset.");
37  }
#define ICEDB_throw(x)
Definition: error.hpp:88

The documentation for this struct was generated from the following file: