15 #ifndef __IdComponent_H
16 #define __IdComponent_H
31 void incRefCount(
const hid_t obj_id)
const;
32 void incRefCount()
const;
35 void decRefCount(
const hid_t obj_id)
const;
36 void decRefCount()
const;
39 int getCounter(
const hid_t obj_id)
const;
40 int getCounter()
const;
43 static H5I_type_t getHDFObjType(
const hid_t obj_id);
46 H5I_type_t getHDFObjType()
const;
49 static bool isValid(hid_t an_id);
55 void setId(
const hid_t new_id);
67 #ifndef DOXYGEN_SHOULD_SKIP_THIS
73 virtual hid_t getId ()
const = 0;
77 virtual void close() = 0;
81 H5std_string inMemFunc(
const char* func_name)
const;
84 virtual H5std_string fromClass()
const {
return(
"IdComponent");}
86 #endif // DOXYGEN_SHOULD_SKIP_THIS
91 #ifndef DOXYGEN_SHOULD_SKIP_THIS
99 H5std_string p_get_file_name()
const;
102 static bool p_valid_id(
const hid_t obj_id);
106 virtual void p_setId(
const hid_t new_id) = 0;
109 static bool H5dontAtexit_called;
114 static bool H5cppinit;
116 #endif // DOXYGEN_SHOULD_SKIP_THIS
121 #endif // __IdComponent_H
Class IdComponent provides wrappers of the C functions that operate on an HDF5 identifier.
Definition: H5IdComponent.h:27