24 #include <pni/core/error.hpp>
25 #include "../nxobject.hpp"
78 throw type_error(EXCEPTION_RECORD,
79 "Object is not an instance of nxlink "
99 throw type_error(EXCEPTION_RECORD,
100 "Object is not an instance of nxattribute "
116 throw type_error(EXCEPTION_RECORD,
117 "Object is an attribute and not an instance of "
171 return boost::apply_visitor(visitor_type(),o);
link_type result_type
result type
Definition: as_link.hpp:62
result_type operator()(const attribute_type &) const
process attribute instances
Definition: as_link.hpp:113
FTYPE field_type
Nexus field type.
Definition: as_link.hpp:55
Definition: cbf_reader.hpp:41
result_type operator()(const link_type &l) const
process link instances
Definition: as_link.hpp:132
result_type operator()(const field_type &) const
process field instances
Definition: as_link.hpp:96
as link visitor
Definition: as_link.hpp:49
result_type operator()(const group_type &) const
process group instances
Definition: as_link.hpp:75
GTYPE group_type
Nexus group type.
Definition: as_link.hpp:53
LTYPE as_link(const nxobject< GTYPE, FTYPE, ATYPE, LTYPE > &o)
as link wrapper
Definition: as_link.hpp:168
boost::variant< GTYPE, FTYPE, ATYPE, LTYPE > nxobject
Definition: nxobject.hpp:44
LTYPE link_type
Nexus link type.
Definition: as_link.hpp:59
ATYPE attribute_type
Nexus attribute type.
Definition: as_link.hpp:57