17 #ifndef __IdComponent_H
18 #define __IdComponent_H
22 #ifndef H5_NO_NAMESPACE
38 void incRefCount(
const hid_t obj_id)
const;
39 void incRefCount()
const;
42 void decRefCount(
const hid_t obj_id)
const;
43 void decRefCount()
const;
46 int getCounter(
const hid_t obj_id)
const;
47 int getCounter()
const;
50 static H5I_type_t getHDFObjType(
const hid_t obj_id);
53 H5I_type_t getHDFObjType()
const;
59 void setId(
const hid_t new_id);
71 #ifndef DOXYGEN_SHOULD_SKIP_THIS
77 virtual hid_t getId ()
const = 0;
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
95 #ifndef DOXYGEN_SHOULD_SKIP_THIS
103 H5std_string p_get_file_name()
const;
106 static bool p_valid_id(
const hid_t obj_id);
110 virtual void p_setId(
const hid_t new_id) = 0;
113 static bool H5dontAtexit_called;
118 static bool H5cppinit;
120 #endif // DOXYGEN_SHOULD_SKIP_THIS
124 #ifndef H5_NO_NAMESPACE
127 #endif // __IdComponent_H
Class IdComponent provides wrappers of the C functions that operate on an HDF5 identifier.
Definition: H5IdComponent.h:34