h5cpp
0.5.2
A modern C++ wrapper for the HDF5 C library
|
bidirectional NodeIterator More...
#include <node_iterator.hpp>
Public Types | |
using | value_type = Node |
using | pointer = value_type * |
using | reference = value_type & |
using | difference_type = ssize_t |
using | iterator_category = std::bidirectional_iterator_tag |
Public Member Functions | |
NodeIterator ()=delete | |
default constructor More... | |
Node | operator* () const |
Node * | operator-> () |
NodeIterator & | operator++ () |
NodeIterator | operator++ (int) |
NodeIterator & | operator-- () |
NodeIterator | operator-- (int) |
bool | operator== (const NodeIterator &a) const |
bool | operator!= (const NodeIterator &a) const |
Public Member Functions inherited from hdf5::Iterator | |
Iterator () | |
default constructor More... | |
Iterator (ssize_t index) | |
Iterator (const Iterator &)=default | |
Iterator & | operator= (const Iterator &)=default |
virtual | ~Iterator () |
Iterator & | operator++ () |
increment iterator position More... | |
Iterator & | operator-- () |
Iterator | operator++ (int) |
Iterator | operator-- (int) |
Iterator & | operator+= (ssize_t i) |
Iterator & | operator-= (ssize_t i) |
bool | operator== (const Iterator &b) const |
bool | operator< (const Iterator &b) const |
bool | operator<= (const Iterator &b) const |
bool | operator> (const Iterator &b) const |
bool | operator>= (const Iterator &b) const |
ssize_t | index () const |
get state of the iterator More... | |
Static Public Member Functions | |
static NodeIterator | begin (const Group &group) |
get iterator to first element More... | |
static NodeIterator | end (const Group &group) |
get iterator to last+1 element More... | |
This iterator iterates over the direct children (nodes) of a group. It is a full random access iterator using the index access methods provided by the NodeView interface.
The interface follows the C++ specification for bidirectional constant iterators. See C++ reference on iterators for details.
using hdf5::node::NodeIterator::difference_type = ssize_t |
using hdf5::node::NodeIterator::iterator_category = std::bidirectional_iterator_tag |
|
delete |
Not requried, thus deleted.
|
static |
Static factory function returning an iterator to the first child of a group.
group | reference to the group over which to iterate |
|
static |
Static factory function returning an iterator to the last+1 child of the given group.
group | reference to the group over which to iterate |
bool hdf5::node::NodeIterator::operator!= | ( | const NodeIterator & | a | ) | const |
Node hdf5::node::NodeIterator::operator* | ( | ) | const |
NodeIterator& hdf5::node::NodeIterator::operator++ | ( | ) |
NodeIterator hdf5::node::NodeIterator::operator++ | ( | int | ) |
NodeIterator& hdf5::node::NodeIterator::operator-- | ( | ) |
NodeIterator hdf5::node::NodeIterator::operator-- | ( | int | ) |
Node* hdf5::node::NodeIterator::operator-> | ( | ) |
bool hdf5::node::NodeIterator::operator== | ( | const NodeIterator & | a | ) | const |