NeXusDataFormat  1
NeXusCAPI
 All Functions Groups
Functions
Reading and Writing Groups
C API

Functions

NXstatus NXmakegroup (NXhandle handle, CONSTCHAR *name, CONSTCHAR *NXclass)
 NeXus groups are NeXus way of structuring information into a hierarchy.
NXstatus NXopengroup (NXhandle handle, CONSTCHAR *name, CONSTCHAR *NXclass)
 Step into a group.
NXstatus NXclosegroup (NXhandle handle)
 Closes the currently open group and steps one step down in the NeXus file hierarchy.

Detailed Description


Function Documentation

NXstatus NXclosegroup ( NXhandle  handle)

Closes the currently open group and steps one step down in the NeXus file hierarchy.

Returns:
NX_OK on success, NX_ERROR in the case of an error.
NXstatus NXmakegroup ( NXhandle  handle,
CONSTCHAR *  name,
CONSTCHAR *  NXclass 
)

NeXus groups are NeXus way of structuring information into a hierarchy.

This function creates a group but does not open it.

Parameters:
handleA NeXus file handle as initialized NXopen.
nameThe name of the group
NXclassthe class name of the group. Should start with the prefix NX
Returns:
NX_OK on success, NX_ERROR in the case of an error.
NXstatus NXopengroup ( NXhandle  handle,
CONSTCHAR *  name,
CONSTCHAR *  NXclass 
)

Step into a group.

All further access will be within the opened group.

Parameters:
handleA NeXus file handle as initialized by NXopen.
nameThe name of the group
NXclassthe class name of the group. Should start with the prefix NX
Returns:
NX_OK on success, NX_ERROR in the case of an error.