17 #ifndef __IdComponent_H
18 #define __IdComponent_H
36 void incRefCount(
const hid_t obj_id)
const;
37 void incRefCount()
const;
40 void decRefCount(
const hid_t obj_id)
const;
41 void decRefCount()
const;
44 int getCounter(
const hid_t obj_id)
const;
45 int getCounter()
const;
48 static H5I_type_t getHDFObjType(
const hid_t obj_id);
51 H5I_type_t getHDFObjType()
const;
57 void setId(
const hid_t new_id);
69 #ifndef DOXYGEN_SHOULD_SKIP_THIS
75 virtual hid_t getId ()
const = 0;
79 virtual void close() = 0;
83 H5std_string inMemFunc(
const char* func_name)
const;
86 virtual H5std_string fromClass()
const {
return(
"IdComponent");}
88 #endif // DOXYGEN_SHOULD_SKIP_THIS
93 #ifndef DOXYGEN_SHOULD_SKIP_THIS
101 H5std_string p_get_file_name()
const;
104 static bool p_valid_id(
const hid_t obj_id);
108 virtual void p_setId(
const hid_t new_id) = 0;
111 static bool H5dontAtexit_called;
116 static bool H5cppinit;
118 #endif // DOXYGEN_SHOULD_SKIP_THIS
123 #endif // __IdComponent_H
Class IdComponent provides wrappers of the C functions that operate on an HDF5 identifier.
Definition: H5IdComponent.h:32