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);
78 #ifndef DOXYGEN_SHOULD_SKIP_THIS
81 virtual void close() = 0;
85 H5std_string inMemFunc(
const char* func_name)
const;
88 virtual H5std_string fromClass()
const {
return(
"IdComponent");}
90 #endif // DOXYGEN_SHOULD_SKIP_THIS
96 #ifndef DOXYGEN_SHOULD_SKIP_THIS
102 H5std_string p_get_file_name()
const;
105 static bool p_valid_id(
const hid_t obj_id);
109 virtual void p_setId(
const hid_t new_id) = 0;
112 #endif // DOXYGEN_SHOULD_SKIP_THIS
116 #ifndef H5_NO_NAMESPACE
119 #endif // __IdComponent_H
Class IdComponent provides wrappers of the C functions that operate on an HDF5 identifier.
Definition: H5IdComponent.h:34