h5cpp 0.7
A modern C++ wrapper for the HDF5 C library
Loading...
Searching...
No Matches
hdf5::node::GroupView Class Reference

base class for group views More...

#include <group_view.hpp>

Inheritance diagram for hdf5::node::GroupView:

Public Member Functions

 GroupView ()=delete
 
 GroupView (const GroupView &)=default
 
 GroupView (Group &parent_group)
 constructor
 
virtual ~GroupView ()
 
size_t size () const
 get number of links
 
const Groupgroup () const noexcept
 return reference to the parent group
 

Detailed Description

This is the base class for all views on a group. Views provide an STL compliant read only interface to links and nodes stored below a group.

Constructor & Destructor Documentation

◆ GroupView() [1/3]

hdf5::node::GroupView::GroupView ( )
delete

◆ GroupView() [2/3]

hdf5::node::GroupView::GroupView ( const GroupView )
default

◆ GroupView() [3/3]

hdf5::node::GroupView::GroupView ( Group parent_group)
Parameters
parent_groupreference to the parent group

◆ ~GroupView()

virtual hdf5::node::GroupView::~GroupView ( )
virtual

Member Function Documentation

◆ group()

const Group & hdf5::node::GroupView::group ( ) const
inlinenoexcept

Returns a reference to the group this very view belongs to.

Returns
reference to group

◆ size()

size_t hdf5::node::GroupView::size ( ) const

Return the number of links attached to a group.

Returns
number of link

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