NeXusDataFormat
1
NeXusCAPI
|
Functions | |
NXstatus | NXgetinfo (NXhandle handle, int *rank, int dimension[], int *datatype) |
Retrieve information about the curretly open dataset. | |
NXstatus | NXgetattrinfo (NXhandle handle, int *no_items) |
Get the count of attributes in the currently open dataset, group or global attributes when at root level. | |
NXstatus | NXgetgroupinfo (NXhandle handle, int *no_items, NXname name, NXname nxclass) |
Retrieve information about the currently open group. | |
NXstatus | NXinquirefile (NXhandle handle, char *filename, int filenameBufferLength) |
Inquire the filename of the currently open file. | |
const char * | NXgetversion () |
Utility function to return NeXus version. | |
NXstatus | NXgetrawinfo (NXhandle handle, int *rank, int dimension[], int *datatype) |
Retrieve information about the currently open dataset. |
NXstatus NXgetattrinfo | ( | NXhandle | handle, |
int * | no_items | ||
) |
Get the count of attributes in the currently open dataset, group or global attributes when at root level.
handle | A NeXus file handle as initialized by NXopen. |
no_items | A pointer to an integer which be set to the number of attributes available. |
NXstatus NXgetgroupinfo | ( | NXhandle | handle, |
int * | no_items, | ||
NXname | name, | ||
NXname | nxclass | ||
) |
Retrieve information about the currently open group.
handle | A NeXus file handle as initialized by NXopen. |
no_items | A pointer to an integer which will be set to the count of group elements available. This is the count of other groups and data sets in this group. |
name | The name of the group. |
nxclass | The NeXus class name of the group. |
NXstatus NXgetinfo | ( | NXhandle | handle, |
int * | rank, | ||
int | dimension[], | ||
int * | datatype | ||
) |
Retrieve information about the curretly open dataset.
handle | A NeXus file handle as initialized by NXopen. |
rank | A pointer to an integer which will be filled with the rank of the dataset. |
dimension | An array which will be initialized with the size of the dataset in any of its dimensions. The array must have at least the size of rank. |
datatype | A pointer to an integer which be set to the NeXus data type code for this dataset. |
NXstatus NXgetrawinfo | ( | NXhandle | handle, |
int * | rank, | ||
int | dimension[], | ||
int * | datatype | ||
) |
Retrieve information about the currently open dataset.
In contrast to the main function below, this function does not try to find out about the size of strings properly.
handle | A NeXus file handle as initialized by NXopen. |
rank | A pointer to an integer which will be filled with the rank of the dataset. |
dimension | An array which will be initialized with the size of the dataset in any of its dimensions. The array must have at least the size of rank. |
datatype | A pointer to an integer which be set to the NeXus data type code for this dataset. |
const char* NXgetversion | ( | ) |
Utility function to return NeXus version.
NXstatus NXinquirefile | ( | NXhandle | handle, |
char * | filename, | ||
int | filenameBufferLength | ||
) |
Inquire the filename of the currently open file.
FilenameBufferLength of the file name will be copied into the filename buffer.
handle | A NeXus file handle as initialized by NXopen. |
filename | The buffer to hold the filename. |
filenameBufferLength | The length of the filename buffer. |