libpniio
|
get iterator to first element More...
#include <iterators.hpp>
Public Types | |
using | result_type = typename GTYPE::iterator |
result type More... | |
using | group_type = GTYPE |
Nexus group type. More... | |
using | field_type = FTYPE |
Nexus field type. More... | |
using | attribute_type = ATYPE |
Nexus attribute type. More... | |
using | link_type = LTYPE |
NeXus link type. More... | |
Public Member Functions | |
result_type | operator() (const group_type &g) const |
process groups More... | |
result_type | operator() (const field_type &) const |
process fields More... | |
result_type | operator() (const attribute_type &) const |
process attributes More... | |
result_type | operator() (const link_type &) const |
process links More... | |
This visitor returns an iterator to the first child attached to a group or throws a type_error exception of the passed nxobject instance is not a group.
GTYPE | group type |
FTYPE | field type |
ATYPE | attribute type |
LTYPE | link type |
using pni::io::nx::begin_visitor< GTYPE, FTYPE, ATYPE, LTYPE >::attribute_type = ATYPE |
using pni::io::nx::begin_visitor< GTYPE, FTYPE, ATYPE, LTYPE >::field_type = FTYPE |
using pni::io::nx::begin_visitor< GTYPE, FTYPE, ATYPE, LTYPE >::group_type = GTYPE |
using pni::io::nx::begin_visitor< GTYPE, FTYPE, ATYPE, LTYPE >::link_type = LTYPE |
using pni::io::nx::begin_visitor< GTYPE, FTYPE, ATYPE, LTYPE >::result_type = typename GTYPE::iterator |
|
inline |
|
inline |
Throws type_error as fields do not have children over which we can iterate.
type_error | in any case |
f | field instance |
|
inline |
Throws type_error - an attribute does not have an interator.
type_error | in any case |
a | attribute instance |
|
inline |
Throws type_error - links does not have an interator.
type_error | in any case |