h5cpp
0.6.0
A modern C++ wrapper for the HDF5 C library
|
link target descriptor More...
#include <link.hpp>
Public Member Functions | |
LinkTarget () | |
default constructor More... | |
LinkTarget (const hdf5::Path &object_path) | |
constructor More... | |
LinkTarget (const hdf5::Path &object_path, const fs::path &file_path) | |
constructor More... | |
fs::path | file_path () const |
get file path More... | |
hdf5::Path | object_path () const |
get object path More... | |
This class describes the target a link references. It consists of two parts
The latter one is required in order to handle external links where the object is not stored in the same file.
hdf5::node::LinkTarget::LinkTarget | ( | ) |
|
explicit |
Could be used mainly for internal hard or soft links. Its only argument is the path to the object within the file.
object_path | path to object within the file |
|
explicit |
Could be used for external links.
object_path | path to the object within the file |
file_path | path to the file within which the object is stored |
fs::path hdf5::node::LinkTarget::file_path | ( | ) | const |
Return the path to the file where the link target is located.
hdf5::Path hdf5::node::LinkTarget::object_path | ( | ) | const |
Return the object path to the link target within its file.