24 #include <pni/core/error.hpp>
25 #include "../nxobject.hpp"
91 throw type_error(EXCEPTION_RECORD,
92 "Object is not an instance of nxgruop "
111 throw type_error(EXCEPTION_RECORD,
112 "Object is not an instance of nxgroup "
113 "but of nxattribute!");
131 throw type_error(EXCEPTION_RECORD,
132 "Object is not an instance of nxgroup but of "
170 return boost::apply_visitor(visitor_type(),o);
result_type operator()(const field_type &) const
process field instances
Definition: as_group.hpp:88
ATYPE attribute_type
Nexus attribute type.
Definition: as_group.hpp:57
result_type operator()(const attribute_type &) const
process attribute instances
Definition: as_group.hpp:108
FTYPE field_type
Nexus field type.
Definition: as_group.hpp:55
Definition: cbf_reader.hpp:41
result_type operator()(const link_type &) const
process link instances
Definition: as_group.hpp:128
GTYPE group_type
Nexus group type.
Definition: as_group.hpp:53
result_type operator()(const group_type &g) const
process group instances
Definition: as_group.hpp:72
GTYPE as_group(const nxobject< GTYPE, FTYPE, ATYPE, LTYPE > &o)
as group wrapper
Definition: as_group.hpp:167
boost::variant< GTYPE, FTYPE, ATYPE, LTYPE > nxobject
Definition: nxobject.hpp:44
group_type result_type
result type
Definition: as_group.hpp:61
as group visitor
Definition: as_group.hpp:49
LTYPE link_type
link type
Definition: as_group.hpp:59