NeXusDataFormat  1
NeXusCAPI
Functions
Reading and Writing Groups

Functions

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

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.