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);
54 #ifndef DOXYGEN_SHOULD_SKIP_THIS
56 virtual hid_t getId ()
const = 0;
57 #endif // DOXYGEN_SHOULD_SKIP_THIS
60 void setId(
const hid_t new_id);
68 #ifndef DOXYGEN_SHOULD_SKIP_THIS
71 virtual void close() = 0;
80 #endif // DOXYGEN_SHOULD_SKIP_THIS
86 #ifndef DOXYGEN_SHOULD_SKIP_THIS
95 static bool p_valid_id(
const hid_t obj_id);
99 virtual void p_setId(
const hid_t new_id) = 0;
101 #endif // DOXYGEN_SHOULD_SKIP_THIS
105 #ifndef H5_NO_NAMESPACE
108 #endif // __IdComponent_H
Class IdComponent provides wrappers of the C functions that operate on an HDF5 identifier.
Definition: H5IdComponent.h:34
#define H5std_string
Definition: H5Exception.h:29
virtual H5std_string fromClass() const
Returns this class name.
Definition: H5IdComponent.h:78