ICP  1
Public Types | Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
IXNeXusFile Class Reference

#include <nexuswriter.h>

Inheritance diagram for IXNeXusFile:
Inheritance graph

Public Types

enum  Options {
  None = 0x0, WriteDummyOnNULL = 0x1, Read = 0x2, Write = 0x4,
  HDF4 = 0x8, HDF5 = 0x10, Update = 0x20
}
 
enum  NXReturnCodes { OK = NX_OK, Error = NX_ERROR }
 

Public Member Functions

int clone (const IXNeXusFile &orig)
 
IXNeXusFileclone ()
 
int flush ()
 
template<typename T >
int writeData (const char *data_name, const std::vector< T > &value)
 
template<>
int writeData (const char *data_name, const std::vector< std::string > &value)
 
 IXNeXusFile (nx_error_t error_func=NULL, void *error_arg=NULL)
 
void setErrorReporter (nx_error_t error_func, void *error_arg)
 
int open (const char *filename, int mode, int type=IXNeXusFile::HDF5)
 
int close ()
 
int closeData ()
 
int openData (const char *name)
 
int getLink (const char *name, const char *nxclass, NXlink &link)
 
int makeLink (const char *name, const char *nxclass, NXlink &link)
 
int getLink (const char *name, NXlink &link)
 
int makeLink (const char *name, NXlink &link)
 
int writeData (const char *data_name, int value)
 
int writeData (const char *data_name, unsigned value)
 
int writeData (const char *data_name, long value)
 
int writeData (const char *data_name, unsigned long value)
 
int writeData (const char *data_name, float value)
 
int writeData (const char *data_name, double value)
 
int writeData (const char *data_name, int64_t value)
 
int writeData (const char *data_name, uint64_t value)
 
int writeData (const std::string &data_name, const std::string &value)
 
int writeAttribute (const std::string &data_name, const std::string &attr_name, const std::string &value)
 
int writeAttribute (const char *data_name, const char *attr_name, int value)
 
int writeAttribute (const char *data_name, const char *attr_name, float value)
 
int writeAttribute (const char *data_name, const char *attr_name, double value)
 
int writeData (const char *data_name, const int64_t *value, const int *dims_array, int ndims)
 
int writeData (const char *data_name, const uint64_t *value, const int *dims_array, int ndims)
 
int writeData (const char *data_name, const int *value, const int *dims_array, int ndims)
 
int writeData (const char *data_name, const unsigned int *value, const int *dims_array, int ndims)
 
int writeData (const char *data_name, const float *value, const int *dims_array, int ndims)
 
int writeData (const char *data_name, const double *value, const int *dims_array, int ndims)
 
int writeData (const char *data_name, const int64_t *value, int len)
 
int writeData (const char *data_name, const uint64_t *value, int len)
 
int writeData (const char *data_name, const int *value, int len)
 
int writeData (const char *data_name, const unsigned int *value, int len)
 
int writeData (const char *data_name, const float *value, int len)
 
int writeData (const char *data_name, const double *value, int len)
 
int writeData (const char *data_name, const int *value, int dim1, int dim2)
 
int writeData (const char *data_name, const unsigned long *value, int dim1, int dim2)
 
int writeData (const char *data_name, const float *value, int dim1, int dim2)
 
int writeData (const char *data_name, const double *value, int dim1, int dim2)
 
int writeData (const char *data_name, const char *value)
 
int writeData (const char *data_name, const char *value, int len)
 
int writeData (const char *data_name, const char *value, int dim1, int dim2)
 
int makeData (const char *data_name, int nxtype, const int *dims_array, int ndims)
 
int makeDataChunked (const char *data_name, int nxtype, const int *dims_array, const int *chunk_array, int ndims)
 
int writeSlabList (const char *data_name, const unsigned long *value, const int *dims_array, int ndims, const int *slab_start, const int *slab_size, const std::vector< int > &slab_list)
 
int addSlabList (const char *data_name, const unsigned long *value, const int *dims_array, int ndims, int dest_start[], const int *slab_start, const int *slab_size, const std::vector< int > &slab_list)
 
int makeDataSlab (const char *data_name, const unsigned long *value, const int *dims_array, int ndims)
 
int writeSlab (const char *data_name, const int *value, const int *dims_array, int ndims, const int *slab_start, const int *slab_size)
 
int writeSlab (const char *data_name, const unsigned long *value, const int *dims_array, int ndims, const int *slab_start, const int *slab_size)
 
int addSlab (const char *data_name, const int *value, const int *dims_array, int ndims, const int *slab_start, const int *slab_size, const int *dest_start)
 
int addSlab (const char *data_name, const unsigned long *value, const int *dims_array, int ndims, const int *slab_start, const int *slab_size, const int *dest_start)
 
int addSlab (const char *data_name, const float *value, const int *dims_array, int ndims, const int *slab_start, const int *slab_size, const int *dest_start)
 
int addSlab (const int *value, const int *dims_array, int ndims, const int *slab_start, const int *slab_size, const int *dest_start)
 
int addSlab (const unsigned long *value, const int *dims_array, int ndims, const int *slab_start, const int *slab_size, const int *dest_start)
 
int addSlab (const float *value, const int *dims_array, int ndims, const int *slab_start, const int *slab_size, const int *dest_start)
 
int addSlab (const int *value, const int64_t *dims_array, int ndims, const int64_t *slab_start, const int64_t *slab_size, const int64_t *dest_start)
 
int addSlab (const float *value, const int64_t *dims_array, int ndims, const int64_t *slab_start, const int64_t *slab_size, const int64_t *dest_start)
 
int writeAttribute (const char *data_name, const char *attr_name, const int *value, int len)
 
int writeAttribute (const char *data_name, const char *attr_name, const float *value, int len)
 
int writeAttribute (const char *data_name, const char *attr_name, const double *value, int len)
 
int writeAttribute (const char *data_name, const char *attr_name, const char *value, int len)
 
int writeAttribute (const char *data_name, const char *attr_name, const char *value)
 
int addLog (const char *nxname, const char *filename, const char *log_name, const char *log_units, time_t ref_time)
 
template<typename T >
int addLog (const char *nxname, const std::vector< T > &values, const char *value_units, const std::vector< float > &time, const char *time_units, time_t ref_time)
 
int makeNewGroup (const char *name, const char *nxclass, bool open_group=true)
 
int makeNewGroup (const std::string &name, const std::string &nxclass, bool open_group=true)
 
int closeGroup ()
 
const char * ISOtime (time_t time)
 
time_t unixTime (const char *isotime)
 
int enableOptions (Options options)
 
void setSpectraChunkSize (int nsp)
 
void enableCompression (int comp_level=NX_COMP_LZW)
 
void disableCompression ()
 
bool testOptions (Options options)
 
int readData (const char *data_name, std::string &value)
 
int readData (const char *data_name, int &value)
 
int readData (const char *data_name, float &value)
 
int listEntries (std::list< std::string > &entries, bool groups_only=false)
 
int openGroup (const char *group_name, const char *group_class)
 
NXhandle fileid ()
 

Static Public Member Functions

static bool string_len_lt (const std::string &s1, const std::string &s2)
 

Private Attributes

NXhandle m_fileid
 
int m_options
 
int m_compression_type
 
int m_spectra_chunk
 
nx_error_t m_error_func
 
void * m_error_arg
 

Additional Inherited Members

- Protected Member Functions inherited from ISIS::Base
 Base (const std::string &logger_name="UNKNOWN")
 
void setLoggerName (const std::string &logger_name)
 
virtual ~Base ()
 
virtual std::string loggingPrefix () const
 
void setThisLoggerLevel (int level)
 
- Static Protected Member Functions inherited from ISIS::Base
static void setAllLoggerLevel (int level)
 
- Protected Attributes inherited from ISIS::Base
Poco::Logger * m_logger
 
Poco::LogStream * m_logstr
 
Poco::Mutex m_logger_lock
 

Detailed Description

Definition at line 15 of file nexuswriter.h.

Member Enumeration Documentation

Enumerator
OK 
Error 

Definition at line 80 of file nexuswriter.h.

Enumerator
None 
WriteDummyOnNULL 
Read 
Write 
HDF4 
HDF5 
Update 

Definition at line 79 of file nexuswriter.h.

Constructor & Destructor Documentation

IXNeXusFile::IXNeXusFile ( nx_error_t  error_func = NULL,
void *  error_arg = NULL 
)

Definition at line 455 of file nexuswriter.cpp.

References setErrorReporter(), and ISIS::Base::setLoggerName().

Referenced by clone().

Member Function Documentation

int IXNeXusFile::addLog ( const char *  nxname,
const char *  filename,
const char *  log_name,
const char *  log_units,
time_t  ref_time 
)
template<typename T >
int IXNeXusFile::addLog ( const char *  nxname,
const std::vector< T > &  values,
const char *  value_units,
const std::vector< float > &  time,
const char *  time_units,
time_t  ref_time 
)

Definition at line 2444 of file nexuswriter.cpp.

References ISOtime(), writeAttribute(), and writeData().

int IXNeXusFile::addSlab ( const char *  data_name,
const int *  value,
const int *  dims_array,
int  ndims,
const int *  slab_start,
const int *  slab_size,
const int *  dest_start 
)

Definition at line 554 of file nexuswriter.cpp.

References m_compression_type, and m_fileid.

int IXNeXusFile::addSlab ( const char *  data_name,
const unsigned long *  value,
const int *  dims_array,
int  ndims,
const int *  slab_start,
const int *  slab_size,
const int *  dest_start 
)

Definition at line 559 of file nexuswriter.cpp.

References m_compression_type, and m_fileid.

int IXNeXusFile::addSlab ( const char *  data_name,
const float *  value,
const int *  dims_array,
int  ndims,
const int *  slab_start,
const int *  slab_size,
const int *  dest_start 
)

Definition at line 564 of file nexuswriter.cpp.

References m_compression_type, and m_fileid.

int IXNeXusFile::addSlab ( const int *  value,
const int *  dims_array,
int  ndims,
const int *  slab_start,
const int *  slab_size,
const int *  dest_start 
)

Definition at line 569 of file nexuswriter.cpp.

References m_compression_type, and m_fileid.

int IXNeXusFile::addSlab ( const unsigned long *  value,
const int *  dims_array,
int  ndims,
const int *  slab_start,
const int *  slab_size,
const int *  dest_start 
)

Definition at line 574 of file nexuswriter.cpp.

References m_compression_type, and m_fileid.

int IXNeXusFile::addSlab ( const float *  value,
const int *  dims_array,
int  ndims,
const int *  slab_start,
const int *  slab_size,
const int *  dest_start 
)

Definition at line 579 of file nexuswriter.cpp.

References m_compression_type, and m_fileid.

int IXNeXusFile::addSlab ( const int *  value,
const int64_t *  dims_array,
int  ndims,
const int64_t *  slab_start,
const int64_t *  slab_size,
const int64_t *  dest_start 
)

Definition at line 584 of file nexuswriter.cpp.

References m_compression_type, and m_fileid.

int IXNeXusFile::addSlab ( const float *  value,
const int64_t *  dims_array,
int  ndims,
const int64_t *  slab_start,
const int64_t *  slab_size,
const int64_t *  dest_start 
)

Definition at line 589 of file nexuswriter.cpp.

References m_compression_type, and m_fileid.

int IXNeXusFile::addSlabList ( const char *  data_name,
const unsigned long *  value,
const int *  dims_array,
int  ndims,
int  dest_start[],
const int *  slab_start,
const int *  slab_size,
const std::vector< int > &  slab_list 
)
int IXNeXusFile::clone ( const IXNeXusFile orig)
IXNeXusFile * IXNeXusFile::clone ( )

Definition at line 479 of file nexuswriter.cpp.

References clone(), and IXNeXusFile().

int IXNeXusFile::close ( )
int IXNeXusFile::closeData ( )
inline

Definition at line 85 of file nexuswriter.h.

References m_fileid.

Referenced by NeXusEventCallback::close().

int IXNeXusFile::closeGroup ( )
void IXNeXusFile::disableCompression ( )
inline

Definition at line 166 of file nexuswriter.h.

References m_compression_type.

void IXNeXusFile::enableCompression ( int  comp_level = NX_COMP_LZW)
inline
int IXNeXusFile::enableOptions ( Options  options)
inline

Definition at line 163 of file nexuswriter.h.

References m_options.

Referenced by NeXusWriter::addMissingMuonLogs(), and NeXusWriter::writeMuonFile().

NXhandle IXNeXusFile::fileid ( )
inline

Definition at line 174 of file nexuswriter.h.

References m_fileid.

Referenced by addMonitors().

int IXNeXusFile::flush ( )
inline
int IXNeXusFile::getLink ( const char *  name,
const char *  nxclass,
NXlink &  link 
)

Definition at line 518 of file nexuswriter.cpp.

References m_fileid.

Referenced by NeXusEventCallback::finish(), and NeXusWriter::writeISISNeXus().

int IXNeXusFile::getLink ( const char *  name,
NXlink &  link 
)
inline

Definition at line 89 of file nexuswriter.h.

References getLink().

Referenced by getLink().

const char * IXNeXusFile::ISOtime ( time_t  time)
int IXNeXusFile::listEntries ( std::list< std::string > &  entries,
bool  groups_only = false 
)

Definition at line 2536 of file nexuswriter.cpp.

References OK.

Referenced by ISISinstrumentControl::readRecoveryFile().

int IXNeXusFile::makeData ( const char *  data_name,
int  nxtype,
const int *  dims_array,
int  ndims 
)

Definition at line 2565 of file nexuswriter.cpp.

References MIN_COMP_LEN.

Referenced by NeXusEventCallback::openDataGroup().

int IXNeXusFile::makeDataChunked ( const char *  data_name,
int  nxtype,
const int *  dims_array,
const int *  chunk_array,
int  ndims 
)

Definition at line 2598 of file nexuswriter.cpp.

Referenced by NeXusEventCallback::openDataGroup().

int IXNeXusFile::makeDataSlab ( const char *  data_name,
const unsigned long *  value,
const int *  dims_array,
int  ndims 
)

Definition at line 669 of file nexuswriter.cpp.

References m_compression_type, m_fileid, and m_spectra_chunk.

Referenced by NeXusWriter::writeISISNeXus().

int IXNeXusFile::makeLink ( const char *  name,
const char *  nxclass,
NXlink &  link 
)

Definition at line 536 of file nexuswriter.cpp.

References m_fileid.

Referenced by addMonitors(), NeXusEventCallback::finish(), and NeXusWriter::writeISISNeXus().

int IXNeXusFile::makeLink ( const char *  name,
NXlink &  link 
)
inline

Definition at line 90 of file nexuswriter.h.

References makeLink().

Referenced by makeLink().

int IXNeXusFile::makeNewGroup ( const char *  name,
const char *  nxclass,
bool  open_group = true 
)
int IXNeXusFile::makeNewGroup ( const std::string &  name,
const std::string &  nxclass,
bool  open_group = true 
)
inline

Definition at line 158 of file nexuswriter.h.

References makeNewGroup().

Referenced by makeNewGroup().

int IXNeXusFile::open ( const char *  filename,
int  mode,
int  type = IXNeXusFile::HDF5 
)
int IXNeXusFile::openData ( const char *  name)
inline

Definition at line 86 of file nexuswriter.h.

References m_fileid.

int IXNeXusFile::openGroup ( const char *  group_name,
const char *  group_class 
)
int IXNeXusFile::readData ( const char *  data_name,
std::string &  value 
)

Definition at line 2460 of file nexuswriter.cpp.

References Error, and OK.

Referenced by NeXusWriter::addMissingMuonLogs(), and ISISinstrumentControl::readRecoveryFile().

int IXNeXusFile::readData ( const char *  data_name,
int &  value 
)

Definition at line 2488 of file nexuswriter.cpp.

References Error, and OK.

int IXNeXusFile::readData ( const char *  data_name,
float &  value 
)

Definition at line 2511 of file nexuswriter.cpp.

References Error, and OK.

void IXNeXusFile::setErrorReporter ( nx_error_t  error_func,
void *  error_arg 
)

Definition at line 448 of file nexuswriter.cpp.

References m_error_arg, and m_error_func.

Referenced by clone(), IXNeXusFile(), and NeXusWriter::writeISISNeXus().

void IXNeXusFile::setSpectraChunkSize ( int  nsp)
inline

Definition at line 164 of file nexuswriter.h.

References m_spectra_chunk.

Referenced by ICPEventWriter::start(), and NeXusWriter::writeISISNeXus().

static bool IXNeXusFile::string_len_lt ( const std::string &  s1,
const std::string &  s2 
)
inlinestatic

Definition at line 47 of file nexuswriter.h.

Referenced by writeData().

bool IXNeXusFile::testOptions ( Options  options)
inline

Definition at line 167 of file nexuswriter.h.

References m_options.

Referenced by addSlabList(), writeAttribute(), writeData(), writeSlab(), and writeSlabList().

time_t IXNeXusFile::unixTime ( const char *  isotime)

Definition at line 2304 of file nexuswriter.cpp.

Referenced by NeXusWriter::addMissingMuonLogs().

int IXNeXusFile::writeAttribute ( const std::string &  data_name,
const std::string &  attr_name,
const std::string &  value 
)
inline
int IXNeXusFile::writeAttribute ( const char *  data_name,
const char *  attr_name,
int  value 
)

Definition at line 730 of file nexuswriter.cpp.

References m_fileid, testOptions(), and WriteDummyOnNULL.

int IXNeXusFile::writeAttribute ( const char *  data_name,
const char *  attr_name,
float  value 
)

Definition at line 740 of file nexuswriter.cpp.

References m_fileid, testOptions(), and WriteDummyOnNULL.

int IXNeXusFile::writeAttribute ( const char *  data_name,
const char *  attr_name,
double  value 
)

Definition at line 750 of file nexuswriter.cpp.

References m_fileid, testOptions(), and WriteDummyOnNULL.

int IXNeXusFile::writeAttribute ( const char *  data_name,
const char *  attr_name,
const int *  value,
int  len 
)

Definition at line 735 of file nexuswriter.cpp.

References m_fileid, testOptions(), and WriteDummyOnNULL.

int IXNeXusFile::writeAttribute ( const char *  data_name,
const char *  attr_name,
const float *  value,
int  len 
)

Definition at line 745 of file nexuswriter.cpp.

References m_fileid, testOptions(), and WriteDummyOnNULL.

int IXNeXusFile::writeAttribute ( const char *  data_name,
const char *  attr_name,
const double *  value,
int  len 
)

Definition at line 755 of file nexuswriter.cpp.

References m_fileid, testOptions(), and WriteDummyOnNULL.

int IXNeXusFile::writeAttribute ( const char *  data_name,
const char *  attr_name,
const char *  value,
int  len 
)

Definition at line 760 of file nexuswriter.cpp.

References m_fileid, testOptions(), and WriteDummyOnNULL.

int IXNeXusFile::writeAttribute ( const char *  data_name,
const char *  attr_name,
const char *  value 
)

Definition at line 765 of file nexuswriter.cpp.

References writeAttribute().

template<typename T >
int IXNeXusFile::writeData ( const char *  data_name,
const std::vector< T > &  value 
)
inline
template<>
int IXNeXusFile::writeData ( const char *  data_name,
const std::vector< std::string > &  value 
)
inline

Definition at line 53 of file nexuswriter.h.

References string_len_lt(), and writeData().

int IXNeXusFile::writeData ( const char *  data_name,
int  value 
)

Definition at line 594 of file nexuswriter.cpp.

References m_compression_type, m_fileid, testOptions(), and WriteDummyOnNULL.

int IXNeXusFile::writeData ( const char *  data_name,
unsigned  value 
)
inline

Definition at line 92 of file nexuswriter.h.

References writeData().

Referenced by writeData().

int IXNeXusFile::writeData ( const char *  data_name,
long  value 
)
inline
Todo:
should not case away sign!

Definition at line 93 of file nexuswriter.h.

References writeData().

Referenced by writeData().

int IXNeXusFile::writeData ( const char *  data_name,
unsigned long  value 
)
inline

Definition at line 94 of file nexuswriter.h.

References writeData().

Referenced by writeData().

int IXNeXusFile::writeData ( const char *  data_name,
float  value 
)
Todo:
should not case away sign!

Definition at line 675 of file nexuswriter.cpp.

References m_compression_type, m_fileid, testOptions(), and WriteDummyOnNULL.

int IXNeXusFile::writeData ( const char *  data_name,
double  value 
)

Definition at line 695 of file nexuswriter.cpp.

References m_compression_type, m_fileid, testOptions(), and WriteDummyOnNULL.

int IXNeXusFile::writeData ( const char *  data_name,
int64_t  value 
)

Definition at line 604 of file nexuswriter.cpp.

References m_compression_type, m_fileid, testOptions(), and WriteDummyOnNULL.

int IXNeXusFile::writeData ( const char *  data_name,
uint64_t  value 
)

Definition at line 599 of file nexuswriter.cpp.

References m_compression_type, m_fileid, testOptions(), and WriteDummyOnNULL.

int IXNeXusFile::writeData ( const std::string &  data_name,
const std::string &  value 
)
inline

Definition at line 99 of file nexuswriter.h.

References writeData().

int IXNeXusFile::writeData ( const char *  data_name,
const int64_t *  value,
const int *  dims_array,
int  ndims 
)

Definition at line 614 of file nexuswriter.cpp.

References m_compression_type, m_fileid, testOptions(), and WriteDummyOnNULL.

int IXNeXusFile::writeData ( const char *  data_name,
const uint64_t *  value,
const int *  dims_array,
int  ndims 
)

Definition at line 609 of file nexuswriter.cpp.

References m_compression_type, m_fileid, testOptions(), and WriteDummyOnNULL.

int IXNeXusFile::writeData ( const char *  data_name,
const int *  value,
const int *  dims_array,
int  ndims 
)

Definition at line 619 of file nexuswriter.cpp.

References m_compression_type, m_fileid, testOptions(), and WriteDummyOnNULL.

int IXNeXusFile::writeData ( const char *  data_name,
const unsigned int *  value,
const int *  dims_array,
int  ndims 
)

Definition at line 624 of file nexuswriter.cpp.

References m_compression_type, m_fileid, testOptions(), and WriteDummyOnNULL.

int IXNeXusFile::writeData ( const char *  data_name,
const float *  value,
const int *  dims_array,
int  ndims 
)

Definition at line 680 of file nexuswriter.cpp.

References m_compression_type, m_fileid, testOptions(), and WriteDummyOnNULL.

int IXNeXusFile::writeData ( const char *  data_name,
const double *  value,
const int *  dims_array,
int  ndims 
)

Definition at line 700 of file nexuswriter.cpp.

References m_compression_type, m_fileid, testOptions(), and WriteDummyOnNULL.

int IXNeXusFile::writeData ( const char *  data_name,
const int64_t *  value,
int  len 
)

Definition at line 634 of file nexuswriter.cpp.

References m_compression_type, m_fileid, testOptions(), and WriteDummyOnNULL.

int IXNeXusFile::writeData ( const char *  data_name,
const uint64_t *  value,
int  len 
)

Definition at line 629 of file nexuswriter.cpp.

References m_compression_type, m_fileid, testOptions(), and WriteDummyOnNULL.

int IXNeXusFile::writeData ( const char *  data_name,
const int *  value,
int  len 
)

Definition at line 639 of file nexuswriter.cpp.

References m_compression_type, m_fileid, testOptions(), and WriteDummyOnNULL.

int IXNeXusFile::writeData ( const char *  data_name,
const unsigned int *  value,
int  len 
)

Definition at line 644 of file nexuswriter.cpp.

References m_compression_type, m_fileid, testOptions(), and WriteDummyOnNULL.

int IXNeXusFile::writeData ( const char *  data_name,
const float *  value,
int  len 
)

Definition at line 685 of file nexuswriter.cpp.

References m_compression_type, m_fileid, testOptions(), and WriteDummyOnNULL.

int IXNeXusFile::writeData ( const char *  data_name,
const double *  value,
int  len 
)

Definition at line 705 of file nexuswriter.cpp.

References m_compression_type, m_fileid, testOptions(), and WriteDummyOnNULL.

int IXNeXusFile::writeData ( const char *  data_name,
const int *  value,
int  dim1,
int  dim2 
)

Definition at line 649 of file nexuswriter.cpp.

References m_compression_type, m_fileid, testOptions(), and WriteDummyOnNULL.

int IXNeXusFile::writeData ( const char *  data_name,
const unsigned long *  value,
int  dim1,
int  dim2 
)
inline

Definition at line 124 of file nexuswriter.h.

References writeData().

Referenced by writeData().

int IXNeXusFile::writeData ( const char *  data_name,
const float *  value,
int  dim1,
int  dim2 
)

Definition at line 690 of file nexuswriter.cpp.

References m_compression_type, m_fileid, testOptions(), and WriteDummyOnNULL.

int IXNeXusFile::writeData ( const char *  data_name,
const double *  value,
int  dim1,
int  dim2 
)

Definition at line 710 of file nexuswriter.cpp.

References m_compression_type, m_fileid, testOptions(), and WriteDummyOnNULL.

int IXNeXusFile::writeData ( const char *  data_name,
const char *  value 
)

Definition at line 725 of file nexuswriter.cpp.

References writeData().

int IXNeXusFile::writeData ( const char *  data_name,
const char *  value,
int  len 
)

Definition at line 720 of file nexuswriter.cpp.

References m_compression_type, m_fileid, testOptions(), and WriteDummyOnNULL.

int IXNeXusFile::writeData ( const char *  data_name,
const char *  value,
int  dim1,
int  dim2 
)

Definition at line 715 of file nexuswriter.cpp.

References m_compression_type, m_fileid, testOptions(), and WriteDummyOnNULL.

int IXNeXusFile::writeSlab ( const char *  data_name,
const int *  value,
const int *  dims_array,
int  ndims,
const int *  slab_start,
const int *  slab_size 
)

Definition at line 654 of file nexuswriter.cpp.

References m_compression_type, m_fileid, testOptions(), and WriteDummyOnNULL.

int IXNeXusFile::writeSlab ( const char *  data_name,
const unsigned long *  value,
const int *  dims_array,
int  ndims,
const int *  slab_start,
const int *  slab_size 
)
inline

Definition at line 136 of file nexuswriter.h.

References writeSlab().

Referenced by writeSlab().

int IXNeXusFile::writeSlabList ( const char *  data_name,
const unsigned long *  value,
const int *  dims_array,
int  ndims,
const int *  slab_start,
const int *  slab_size,
const std::vector< int > &  slab_list 
)

Member Data Documentation

int IXNeXusFile::m_compression_type
private
void* IXNeXusFile::m_error_arg
private

Definition at line 22 of file nexuswriter.h.

Referenced by clone(), and setErrorReporter().

nx_error_t IXNeXusFile::m_error_func
private

Definition at line 21 of file nexuswriter.h.

Referenced by clone(), and setErrorReporter().

NXhandle IXNeXusFile::m_fileid
private
int IXNeXusFile::m_options
private

Definition at line 18 of file nexuswriter.h.

Referenced by clone(), enableOptions(), and testOptions().

int IXNeXusFile::m_spectra_chunk
private

Definition at line 20 of file nexuswriter.h.

Referenced by addSlabList(), clone(), makeDataSlab(), setSpectraChunkSize(), and writeSlabList().


The documentation for this class was generated from the following files: