blob: bc4f9a4cc51b3651df48571ff9a82dcdb8a775ab (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
|
* oldname, const char* newname) const;
void renameAttr(const H5std_string& oldname, const H5std_string& newname) const;
// Removes the named attribute from this object.
void removeAttr(const char* name) const;
void removeAttr(const H5std_string& name) const;
// Returns an identifier.
virtual hid_t getId() const = 0;
// Gets the name of this HDF5 object, i.e., Group, DataSet, or
// DataType.
ssize_t getObjName(char *obj_name, size_t buf_size = 0) const;
ssize_t getObjName(H5std_string& obj_name, size_t len = 0) const;
H5std_string getObjName() const;
#ifndef DOXYGEN_SHOULD_SKIP_THIS
protected:
// Default constructor
H5Object();
// Sets the identifier of this object to a new value. - this one
// doesn't increment reference count
virtual void p_setId(const hid_t new_id) = 0;
// Noop destructor.
virtual ~H5Object();
#endif // DOXYGEN_SHOULD_SKIP_THIS
}; // end of H5Object
} // namespace H5
#endif // __H5Object_H
|