summaryrefslogtreecommitdiffstats
path: root/c++/src/H5Library.h
diff options
context:
space:
mode:
Diffstat (limited to 'c++/src/H5Library.h')
-rw-r--r--c++/src/H5Library.h57
1 files changed, 28 insertions, 29 deletions
diff --git a/c++/src/H5Library.h b/c++/src/H5Library.h
index b9be3d0..d3f2831 100644
--- a/c++/src/H5Library.h
+++ b/c++/src/H5Library.h
@@ -24,47 +24,46 @@ namespace H5 {
methods.
*/
class H5_DLLCPP H5Library {
- public:
- // Initializes the HDF5 library.
- static void open();
+ public:
+ // Initializes the HDF5 library.
+ static void open();
- // Flushes all data to disk, closes files, and cleans up memory.
- static void close();
+ // Flushes all data to disk, closes files, and cleans up memory.
+ static void close();
- // Instructs library not to install atexit cleanup routine
- static void dontAtExit();
+ // Instructs library not to install atexit cleanup routine
+ static void dontAtExit();
- // Returns the HDF library release number.
- static void getLibVersion(unsigned& majnum, unsigned& minnum, unsigned& relnum);
+ // Returns the HDF library release number.
+ static void getLibVersion(unsigned &majnum, unsigned &minnum, unsigned &relnum);
- // Verifies that the arguments match the version numbers compiled
- // into the library
- static void checkVersion(unsigned majnum, unsigned minnum, unsigned relnum);
+ // Verifies that the arguments match the version numbers compiled
+ // into the library
+ static void checkVersion(unsigned majnum, unsigned minnum, unsigned relnum);
- // Walks through all the garbage collection routines for the library,
- // which are supposed to free any unused memory they have allocated.
- static void garbageCollect();
+ // Walks through all the garbage collection routines for the library,
+ // which are supposed to free any unused memory they have allocated.
+ static void garbageCollect();
- // Sets limits on the different kinds of free lists.
- static void setFreeListLimits(int reg_global_lim, int reg_list_lim, int
- arr_global_lim, int arr_list_lim, int blk_global_lim, int blk_list_lim);
+ // Sets limits on the different kinds of free lists.
+ static void setFreeListLimits(int reg_global_lim, int reg_list_lim, int arr_global_lim, int arr_list_lim,
+ int blk_global_lim, int blk_list_lim);
- // Initializes C++ library and registers terminating functions at exit.
- // Only for the library functions, not for user-defined functions.
- static void initH5cpp(void);
+ // Initializes C++ library and registers terminating functions at exit.
+ // Only for the library functions, not for user-defined functions.
+ static void initH5cpp(void);
- // Sends request for terminating the HDF5 library.
- static void termH5cpp(void);
+ // Sends request for terminating the HDF5 library.
+ static void termH5cpp(void);
#ifndef DOXYGEN_SHOULD_SKIP_THIS
- private:
+ private:
+ // Default constructor - no instance ever created from outsiders
+ H5Library();
- // Default constructor - no instance ever created from outsiders
- H5Library();
-
- // Destructor
- ~H5Library();
+ // Destructor
+ ~H5Library();
#endif // DOXYGEN_SHOULD_SKIP_THIS
}; // end of H5Library