libpniio
|
close an object More...
#include <close.hpp>
Public Types | |
using | result_type = void |
result type (bool) 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 |
link type More... | |
Public Member Functions | |
void | operator() (group_type &g) const |
process group instances More... | |
void | operator() (field_type &f) const |
process field instances More... | |
void | operator() (attribute_type &a) const |
process attribute instances More... | |
void | operator() (const link_type &) const |
process a link instance More... | |
This visitor closes an open stored in an instance of nxobject.
GTYPE | group type |
FTYPE | field type |
ATYPE | attribute type |
LTYPE | link type |
using pni::io::nx::close_visitor< GTYPE, FTYPE, ATYPE, LTYPE >::attribute_type = ATYPE |
using pni::io::nx::close_visitor< GTYPE, FTYPE, ATYPE, LTYPE >::field_type = FTYPE |
using pni::io::nx::close_visitor< GTYPE, FTYPE, ATYPE, LTYPE >::group_type = GTYPE |
using pni::io::nx::close_visitor< GTYPE, FTYPE, ATYPE, LTYPE >::link_type = LTYPE |
using pni::io::nx::close_visitor< GTYPE, FTYPE, ATYPE, LTYPE >::result_type = void |
|
inline |
Close the group.
object_error | in case closing the group fails |
type_error | if internal object type could not be determined |
g | reference to group instance |
|
inline |
Close the field.
object_error | in case closing the field fails |
type_error | if internal object type could not be determined |
f | reference to field instance |
|
inline |
Close the attribute.
object_error | in case closing the attribute fails |
type_error | if internal object type could not be determined |
a | reference to attribute instance |
|
inline |
There is nothing we have to do here.