Inviwo 0.9.12-pre
Inviwo documentation
Loading...
Searching...
No Matches
inviwo::hdf5::Handle Class Reference

Public Member Functions

auto attributes () const
 
auto datasets () const
 
const H5::Group & getGroup () const
 
Handle getHandleForPath (const std::string &path) const
 
Document getInfo () const
 
const PathgetPath () const
 
auto groups () const
 
 Handle (const Handle &rhs)=default
 
 Handle (const std::filesystem::path &filename)
 
 Handle (const std::filesystem::path &filename, Path path)
 
 Handle (Handle &&rhs)=default
 
DataSet open () const
 
DataSet open (const Path &path) const
 
Handleoperator= (const Handle &that)=default
 
Handleoperator= (Handle &&that)=default
 
template<typename Callback >
void visitGroups (const Callback &callback) const
 

Static Public Attributes

static constexpr std::string_view classIdentifier {"org.inviwo.hdf5.handle"}
 
static constexpr uvec3 colorCode {101, 101, 188}
 
static constexpr std::string_view dataName {"HDF"}
 

Friends

Handle operator+ (const Handle &lhs, const Path &rhs)
 
Handle operator+ (const Handle &lhs, std::string_view rhs)
 

Member Function Documentation

◆ attributes()

auto inviwo::hdf5::Handle::attributes ( ) const
inline

A lazy range yielding the attributes of this handle's group.

◆ datasets()

auto inviwo::hdf5::Handle::datasets ( ) const
inline

A lazy range yielding the immediate child datasets.

◆ groups()

auto inviwo::hdf5::Handle::groups ( ) const
inline

A lazy range yielding the immediate child groups as Handles.

◆ visitGroups()

template<typename Callback >
void inviwo::hdf5::Handle::visitGroups ( const Callback & callback) const
inline

Recursively visit all descendant groups depth-first, invoking callback with each Handle.


The documentation for this class was generated from the following file: