Skip to content
Snippets Groups Projects
Commit b1321f63 authored by Giovanni La Mura's avatar Giovanni La Mura
Browse files

Use compact notation for default parameter declaration

parent ddbafe50
No related branches found
No related tags found
No related merge requests found
...@@ -82,8 +82,8 @@ class HDFFile { ...@@ -82,8 +82,8 @@ class HDFFile {
* \param fapl_id: `hid_t` File access property list identifier (default is `H5P_DEFAULT`). * \param fapl_id: `hid_t` File access property list identifier (default is `H5P_DEFAULT`).
*/ */
HDFFile( HDFFile(
std::string name, unsigned int flags = H5F_ACC_EXCL, std::string name, unsigned int flags=H5F_ACC_EXCL,
hid_t fcpl_id = H5P_DEFAULT, hid_t fapl_id = H5P_DEFAULT hid_t fcpl_id=H5P_DEFAULT, hid_t fapl_id=H5P_DEFAULT
); );
/*! \brief HDFFile instance destroyer. /*! \brief HDFFile instance destroyer.
...@@ -104,8 +104,8 @@ class HDFFile { ...@@ -104,8 +104,8 @@ class HDFFile {
* \return hdf_file: `HDFFile *` Pointer to a new, open HDF5 file. * \return hdf_file: `HDFFile *` Pointer to a new, open HDF5 file.
*/ */
static HDFFile* from_schema( static HDFFile* from_schema(
FileSchema &schema, std::string name, unsigned int flags = H5F_ACC_EXCL, FileSchema &schema, std::string name, unsigned int flags=H5F_ACC_EXCL,
hid_t fcpl_id = H5P_DEFAULT, hid_t fapl_id = H5P_DEFAULT hid_t fcpl_id=H5P_DEFAULT, hid_t fapl_id=H5P_DEFAULT
); );
/*! \brief Get current status. /*! \brief Get current status.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment