NeXus  4.4.3
 All Data Structures Files Functions Variables Typedefs Macros Pages
Functions
nxdataset.c File Reference
#include <stdlib.h>
#include <string.h>
#include "nxdataset.h"
Include dependency graph for nxdataset.c:

Go to the source code of this file.

Functions

pNXDS createNXDataset (int rank, int typecode, int64_t dim[])
 
pNXDS createTextNXDataset (char *name)
 
void dropNXDataset (pNXDS dataset)
 
int getNXDatasetRank (pNXDS dataset)
 
int getNXDatasetDim (pNXDS dataset, int which)
 
int getNXDatasetType (pNXDS dataset)
 
int getNXDatasetLength (pNXDS dataset)
 
int getNXDatasetByteLength (pNXDS dataset)
 
double getNXDatasetValue (pNXDS dataset, int64_t pos[])
 
double getNXDatasetValueAt (pNXDS dataset, int64_t address)
 
char * getNXDatasetText (pNXDS dataset)
 
int putNXDatasetValue (pNXDS dataset, int64_t pos[], double value)
 
int putNXDatasetValueAt (pNXDS dataset, int64_t address, double value)
 

Function Documentation

pNXDS createNXDataset ( int  rank,
int  typecode,
int64_t  dim[] 
)

Definition at line 36 of file nxdataset.c.

References pNXDS::dim, pNXDS::format, MAGIC, pNXDS::magic, pNXDS::ptr, pNXDS::rank, pNXDS::type, and pNXDS::u.

pNXDS createTextNXDataset ( char *  name)
void dropNXDataset ( pNXDS  dataset)

Definition at line 89 of file nxdataset.c.

References pNXDS::dim, pNXDS::format, MAGIC, pNXDS::magic, pNXDS::ptr, and pNXDS::u.

int getNXDatasetByteLength ( pNXDS  dataset)

Definition at line 157 of file nxdataset.c.

References getNXDatasetLength(), and pNXDS::type.

Here is the call graph for this function:

int getNXDatasetDim ( pNXDS  dataset,
int  which 
)

Definition at line 118 of file nxdataset.c.

References pNXDS::dim, MAGIC, pNXDS::magic, and pNXDS::rank.

int getNXDatasetLength ( pNXDS  dataset)

Definition at line 141 of file nxdataset.c.

References pNXDS::dim, MAGIC, and pNXDS::magic.

Referenced by getNXDatasetByteLength().

int getNXDatasetRank ( pNXDS  dataset)

Definition at line 108 of file nxdataset.c.

References MAGIC, pNXDS::magic, and pNXDS::rank.

char* getNXDatasetText ( pNXDS  dataset)
int getNXDatasetType ( pNXDS  dataset)

Definition at line 131 of file nxdataset.c.

References MAGIC, pNXDS::magic, and pNXDS::type.

double getNXDatasetValue ( pNXDS  dataset,
int64_t  pos[] 
)

Definition at line 180 of file nxdataset.c.

References getNXDatasetValueAt(), MAGIC, and pNXDS::magic.

Here is the call graph for this function:

double getNXDatasetValueAt ( pNXDS  dataset,
int64_t  address 
)
int putNXDatasetValue ( pNXDS  dataset,
int64_t  pos[],
double  value 
)

Definition at line 267 of file nxdataset.c.

References MAGIC, pNXDS::magic, and putNXDatasetValueAt().

Here is the call graph for this function:

int putNXDatasetValueAt ( pNXDS  dataset,
int64_t  address,
double  value 
)