94 #pragma warning(disable: 4251)
124 const Path &parent_path,
125 const std::string &link_name);
203 #pragma warning(push)
204 #pragma warning(disable: 4251)
path to a node object
Definition: path.hpp:54
link target descriptor
Definition: link.hpp:50
LinkTarget(const hdf5::Path &object_path)
constructor
fs::path file_path() const
get file path
LinkTarget(const hdf5::Path &object_path, const fs::path &file_path)
constructor
hdf5::Path object_path() const
get object path
LinkTarget()
default constructor
an HDF5 link
Definition: link.hpp:114
LinkTarget target(const property::LinkAccessList &lapl=property::LinkAccessList()) const
path to reference object
Link()=default
default constructor
bool is_resolvable() const
returns true if the object reference by the link exists
const file::File & file() const
Node operator*() const
get the node that the link references
Group parent() const
get reference to parent group
friend bool operator==(const Link &lhs, const Link &rhs)
equality operator for links
Link(const file::File &file, const Path &parent_path, const std::string &link_name)
Construct a new Link object.
bool exists() const
returns true if the given link exists
Path path() const
get path of the link
LinkType type(const property::LinkAccessList &lapl=property::LinkAccessList()) const
get type of link
link access property list
Definition: link_access.hpp:43
std::ostream & operator<<(std::ostream &stream, const Link &link)
void link(const Node &target, const Group &link_base, const Path &link_path, const property::LinkCreationList &lcpl=property::LinkCreationList(), const property::LinkAccessList &lapl=property::LinkAccessList())
Create a soft or external link.
LinkType
link type enumeration
Definition: types.hpp:72
bool operator!=(const Link &lhs, const Link &rhs)
top-level namespace of the entire library
Definition: attribute.hpp:45
#define DLL_EXPORT
Definition: windows.hpp:29