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

Static Public Member Functions

static void Close (hid_t h)
 

Detailed Description

Definition at line 39 of file shapeIOpsu.cpp.

Member Function Documentation

◆ Close()

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

Definition at line 40 of file shapeIOpsu.cpp.

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

40  {
41  herr_t err = H5Sclose(h);
43  .add("Reason", "Cannot close an HDF5 dataspace.");
44  }
#define ICEDB_throw(x)
Definition: error.hpp:88

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