17#include "H5Exception.hpp"
18#include "bits/H5_definitions.hpp"
34enum class ObjectType {
69 void flush(
bool globalScope =
true);
77#if (H5_VERS_MAJOR >= 1 && H5_VERS_MINOR >= 10)
83 bool refresh()
const noexcept;
91 hid_t
getId(
const bool& increaseRefCount =
false)
const noexcept;
93 std::string getFileName()
const;
101 int getIdRefCount()
const noexcept;
126 explicit Object(
const hid_t&);
127 explicit Object(
const hid_t&,
const ObjectType&,
const bool&);
137 std::string _unpackSoftLink(
138 const std::string& objName)
const;
139 std::string _unpackExternalLink(
140 const std::string& objName,
141 std::string& fileName_out)
const;
142 void _unlink(
const std::string& obj_name)
const;
152 template <
typename Derivate>
friend class NodeTraits;
171#if (H5Oget_info_vers < 3)
175 H5O_token_t getHardLinkToken()
const noexcept;
178 unsigned long getFileNumber()
const noexcept;
183 time_t getAccessTime()
const noexcept;
184 time_t getModificationTime()
const noexcept;
185 time_t getChangeTime()
const noexcept;
186 time_t getCreationTime()
const noexcept;
187 hsize_t getNumAttr()
const noexcept;
191#if (H5Oget_info_vers < 3)
194 H5O_info2_t raw_info;
202 LinkType getLinkType()
const noexcept;
203 hbool_t creationOrderValid()
const noexcept;
204 int64_t getCreationOrder()
const noexcept;
205 H5T_cset_t getLinkNameCharacterSet()
const noexcept;
206#if (H5Lget_info_vers < 2)
207 haddr_t getAddress()
const noexcept;
210 H5O_token_t getHardLinkToken()
const noexcept;
216#if (H5Lget_info_vers < 2)
217 H5L_info_t link_info;
219 H5L_info2_t link_info;
227#include "bits/H5Object_misc.hpp"
Definition H5Annotate_traits.hpp:19
Class representing an attribute of a dataset or group.
Definition H5Attribute.hpp:22
Class representing a dataset.
Definition H5DataSet.hpp:28
Class representing the space (dimensions) of a dataset.
Definition H5DataSpace.hpp:37
HDF5 Data Type.
Definition H5DataType.hpp:48
File class.
Definition H5File.hpp:25
Represents an hdf5 group.
Definition H5Group.hpp:23
Definition H5Object.hpp:200
size_t getSoftLinkSize() const noexcept
getSoftLinkSize Size of a soft link or UD link value
Definition H5Object_misc.hpp:355
NodeTraits: Base class for Group and File.
Definition H5Node_traits.hpp:23
Definition H5Object.hpp:55
LinkInfo _getLinkInfo(const std::string &objPath) const
getLinkInfo retrieve link info from an object with 'objPath'. This object must reside in the same con...
Definition H5Object_misc.hpp:216
ObjectType getObjectType() const
Gets the fundamental type of the object (dataset, group, etc)
Definition H5Object_misc.hpp:195
ObjectInfo getObjectInfo() const
Retrieve several infos about the current object (address, dates, etc)
Definition H5Object_misc.hpp:204
void flush(bool globalScope=true)
flush
Definition H5Object_misc.hpp:150
std::string getPath() const
return the path to the current group, dataset, datatype or attribute's holder
Definition H5Object_misc.hpp:185
hid_t getId(const bool &increaseRefCount=false) const noexcept
getId
Definition H5Object_misc.hpp:172
bool operator==(const Object &other) const
When coparing objects h5gt::File must be open.
Definition H5Object_misc.hpp:105
bool isValid() const noexcept
isValid
Definition H5Object_misc.hpp:162
A class for accessing hdf5 objects info.
Definition H5Object.hpp:168
haddr_t getAddress() const noexcept
Retrieve the address of the object (within its file)
Definition H5Object_misc.hpp:301
size_t getHardLinkRefCount() const noexcept
Retrieve the number of references to this object.
Definition H5Object_misc.hpp:314
An HDF5 (object) reference type.
Definition H5Reference.hpp:31
Selection: represent a view on a slice/part of a dataset.
Definition H5Selection.hpp:23