QMCPACK
h5data_proxy< HDFVersion > Struct Template Reference

specialize h5data_proxy for HDFVersion More...

+ Collaboration diagram for h5data_proxy< HDFVersion >:

Public Member Functions

 h5data_proxy (const HDFVersion &a)
 
bool read (HDFVersion &ref, hid_t grp, const std::string &aname, hid_t xfer_plist=H5P_DEFAULT)
 
bool write (const HDFVersion &ref, hid_t grp, const std::string &aname, hid_t xfer_plist=H5P_DEFAULT) const
 

Detailed Description

template<>
struct qmcplusplus::h5data_proxy< HDFVersion >

specialize h5data_proxy for HDFVersion

Definition at line 115 of file HDFVersion.h.

Constructor & Destructor Documentation

◆ h5data_proxy()

h5data_proxy ( const HDFVersion a)
inline

Definition at line 117 of file HDFVersion.h.

117 {}

Member Function Documentation

◆ read()

bool read ( HDFVersion ref,
hid_t  grp,
const std::string &  aname,
hid_t  xfer_plist = H5P_DEFAULT 
)
inline

Definition at line 119 of file HDFVersion.h.

References h5data_proxy< T >::read(), and HDFVersion::version.

120  {
121  h5data_proxy<HDFVersion::data_type> vin(ref.version);
122  return vin.read(ref.version, grp, aname, xfer_plist);
123  }

◆ write()

bool write ( const HDFVersion ref,
hid_t  grp,
const std::string &  aname,
hid_t  xfer_plist = H5P_DEFAULT 
) const
inline

Definition at line 125 of file HDFVersion.h.

References HDFVersion::version, and h5data_proxy< T >::write().

126  {
127  h5data_proxy<HDFVersion::data_type> vout(ref.version);
128  return vout.write(ref.version, grp, aname, xfer_plist);
129  }

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