NeXusDataFormat
1
NeXusCAPI
|
Functions | |
NXstatus | NXisexternalgroup (NXhandle handle, CONSTCHAR *name, CONSTCHAR *nxclass, char *url, int urlLen) |
Test if a group is actually pointing to an external file. | |
NXstatus | NXisexternaldataset (NXhandle handle, CONSTCHAR *name, char *url, int urlLen) |
Test if a dataset is actually pointing to an external file. | |
NXstatus | NXlinkexternal (NXhandle handle, CONSTCHAR *name, CONSTCHAR *nxclass, CONSTCHAR *url) |
Create a link to a group in an external file. | |
NXstatus | NXlinkexternaldataset (NXhandle handle, CONSTCHAR *name, CONSTCHAR *url) |
Create a link to a dataset in an external file. |
NXstatus NXisexternaldataset | ( | NXhandle | handle, |
CONSTCHAR * | name, | ||
char * | url, | ||
int | urlLen | ||
) |
Test if a dataset is actually pointing to an external file.
If so, retrieve the URL of the external file.
handle | A NeXus file handle as initialized by NXopen. |
name | The name of the dataset to test. |
url | A buffer to copy the URL too. |
urlLen | The length of the Url buffer. At maximum urlLen bytes will be copied to url. |
NXstatus NXisexternalgroup | ( | NXhandle | handle, |
CONSTCHAR * | name, | ||
CONSTCHAR * | nxclass, | ||
char * | url, | ||
int | urlLen | ||
) |
Test if a group is actually pointing to an external file.
If so, retrieve the URL of the external file.
handle | A NeXus file handle as initialized by NXopen. |
name | The name of the group to test. |
nxclass | The class name of the group to test. |
url | A buffer to copy the URL too. |
urlLen | The length of the Url buffer. At maximum urlLen bytes will be copied to url. |
NXstatus NXlinkexternal | ( | NXhandle | handle, |
CONSTCHAR * | name, | ||
CONSTCHAR * | nxclass, | ||
CONSTCHAR * | url | ||
) |
Create a link to a group in an external file.
This works by creating a NeXus group under the current level in the hierarchy which actually points to a group in another file.
handle | A NeXus file handle as initialized by NXopen. |
name | The name of the group which points to the external file. |
nxclass | The class name of the group which points to the external file. |
url | The URL of the external file. Currently only one URL format is supported: nxfile://path-tofile#path-in-file. This consists of two parts: the first part is of course the path to the file. The second part, path-in-file, is the path to the group in the external file which appears in the first file. |
NXstatus NXlinkexternaldataset | ( | NXhandle | handle, |
CONSTCHAR * | name, | ||
CONSTCHAR * | url | ||
) |
Create a link to a dataset in an external file.
This works by creating a dataset under the current level in the hierarchy which actually points to a dataset in another file.
handle | A NeXus file handle as initialized by NXopen. |
name | The name of the dataset which points to the external file. |
url | The URL of the external file. Currently only one URL format is supported: nxfile://path-tofile#path-in-file. This consists of two parts: the first part is of course the path to the file. The second part, path-in-file, is the path to the dataset in the external file which appears in the first file. |