17 #ifndef __IdComponent_H
18 #define __IdComponent_H
22 #ifndef H5_NO_NAMESPACE
37 void incRefCount(
const hid_t obj_id)
const;
38 void incRefCount()
const;
41 void decRefCount(
const hid_t obj_id)
const;
42 void decRefCount()
const;
45 int getCounter(
const hid_t obj_id)
const;
46 int getCounter()
const;
49 static H5I_type_t getHDFObjType(
const hid_t obj_id);
52 H5I_type_t getHDFObjType()
const;
57 #ifndef DOXYGEN_SHOULD_SKIP_THIS
59 virtual hid_t getId ()
const = 0;
60 #endif // DOXYGEN_SHOULD_SKIP_THIS
63 void setId(
const hid_t new_id);
71 #ifndef DOXYGEN_SHOULD_SKIP_THIS
74 virtual void close() = 0;
78 H5std_string inMemFunc(
const char* func_name)
const;
81 virtual H5std_string fromClass()
const {
return(
"IdComponent");}
83 #endif // DOXYGEN_SHOULD_SKIP_THIS
89 #ifndef DOXYGEN_SHOULD_SKIP_THIS
95 H5std_string p_get_file_name()
const;
98 static bool p_valid_id(
const hid_t obj_id);
102 virtual void p_setId(
const hid_t new_id) = 0;
104 #endif // DOXYGEN_SHOULD_SKIP_THIS
108 #ifndef H5_NO_NAMESPACE
111 #endif // __IdComponent_H
Class IdComponent provides wrappers of the C functions that operate on an HDF5 identifier.
Definition: H5IdComponent.h:34