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 hsize_t getNumMembers(H5I_type_t type);
52 static bool isValid(hid_t an_id);
55 static bool typeExists(H5I_type_t type);
61 void setId(
const hid_t new_id);
73 #ifndef DOXYGEN_SHOULD_SKIP_THIS
79 virtual hid_t getId ()
const = 0;
83 virtual void close() = 0;
87 H5std_string inMemFunc(
const char* func_name)
const;
90 virtual H5std_string fromClass()
const {
return(
"IdComponent");}
92 #endif // DOXYGEN_SHOULD_SKIP_THIS
97 #ifndef DOXYGEN_SHOULD_SKIP_THIS
104 H5std_string p_get_file_name()
const;
107 static bool p_valid_id(
const hid_t obj_id);
111 virtual void p_setId(
const hid_t new_id) = 0;
114 static bool H5dontAtexit_called;
119 static bool H5cppinit;
121 #endif // DOXYGEN_SHOULD_SKIP_THIS
126 #endif // __IdComponent_H
Class IdComponent provides wrappers of the C functions that operate on an HDF5 identifier.
Definition: H5IdComponent.h:27