ICP
1
|
#include <nexuswriter.h>
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) |
IXNeXusFile * | clone () |
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 |
Definition at line 15 of file nexuswriter.h.
Enumerator | |
---|---|
OK | |
Error |
Definition at line 80 of file nexuswriter.h.
enum IXNeXusFile::Options |
Enumerator | |
---|---|
None | |
WriteDummyOnNULL | |
Read | |
Write | |
HDF4 | |
HDF5 | |
Update |
Definition at line 79 of file nexuswriter.h.
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().
int IXNeXusFile::addLog | ( | const char * | nxname, |
const char * | filename, | ||
const char * | log_name, | ||
const char * | log_units, | ||
time_t | ref_time | ||
) |
Definition at line 2334 of file nexuswriter.cpp.
References defaultNoInheritHandles(), unixTime(), writeAttribute(), and writeData().
Referenced by NeXusWriter::addMissingMuonLogs(), NeXusEventCallback::finish(), NXlogWriter< int >::write(), NeXusWriter::writeISISNeXus(), and NeXusWriter::writeMuonFile().
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 | ||
) |
Definition at line 664 of file nexuswriter.cpp.
References m_compression_type, m_fileid, m_spectra_chunk, testOptions(), and WriteDummyOnNULL.
Referenced by NeXusWriter::writeISISNeXus().
int IXNeXusFile::clone | ( | const IXNeXusFile & | orig | ) |
Definition at line 465 of file nexuswriter.cpp.
References m_compression_type, m_error_arg, m_error_func, m_fileid, m_options, m_spectra_chunk, and setErrorReporter().
Referenced by clone(), and NeXusEventCallback::writeEventsImpl().
IXNeXusFile * IXNeXusFile::clone | ( | ) |
Definition at line 479 of file nexuswriter.cpp.
References clone(), and IXNeXusFile().
int IXNeXusFile::close | ( | ) |
Definition at line 548 of file nexuswriter.cpp.
References m_fileid.
Referenced by NeXusWriter::addMissingMuonLogs(), NeXusEventCallback::close(), ISISinstrumentControl::readRecoveryFile(), NeXusEventWriter::stop(), ICPEventWriter::stop(), NeXusWriter::writeISISNeXus(), NeXusWriter::writeMuonFile(), and ISISinstrumentControl::writeRecoveryFile().
|
inline |
Definition at line 85 of file nexuswriter.h.
References m_fileid.
Referenced by NeXusEventCallback::close().
int IXNeXusFile::closeGroup | ( | ) |
Definition at line 781 of file nexuswriter.cpp.
References m_fileid.
Referenced by NeXusWriter::addMissingMuonLogs(), NeXusEventCallback::closeDataGroup(), NeXusEventCallback::createEmptyFileStructure(), NeXusEventCallback::finish(), ISISinstrumentControl::readRecoveryFile(), NeXusWriter::writeISISNeXus(), NeXusWriter::writeMuonFile(), and ISISinstrumentControl::writeRecoveryFile().
|
inline |
Definition at line 166 of file nexuswriter.h.
References m_compression_type.
|
inline |
Definition at line 165 of file nexuswriter.h.
References m_compression_type.
Referenced by NeXusWriter::addMissingMuonLogs(), ICPEventWriter::start(), NeXusWriter::writeISISNeXus(), and NeXusWriter::writeMuonFile().
|
inline |
Definition at line 163 of file nexuswriter.h.
References m_options.
Referenced by NeXusWriter::addMissingMuonLogs(), and NeXusWriter::writeMuonFile().
|
inline |
|
inline |
Definition at line 29 of file nexuswriter.h.
References m_fileid.
Referenced by NeXusEventCallback::flush(), NeXusEventCallback::openDataGroup(), ICPEventWriter::snapshot(), and ICPEventWriter::snapshotOld().
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().
|
inline |
const char * IXNeXusFile::ISOtime | ( | time_t | time | ) |
Definition at line 787 of file nexuswriter.cpp.
Referenced by NeXusEventCallback::finish(), NeXusWriter::writeISISNeXus(), and NeXusWriter::writeMuonFile().
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().
|
inline |
int IXNeXusFile::makeNewGroup | ( | const char * | name, |
const char * | nxclass, | ||
bool | open_group = true |
||
) |
Definition at line 771 of file nexuswriter.cpp.
References m_fileid.
Referenced by NeXusEventCallback::createEmptyFileStructure(), NeXusEventCallback::finish(), NeXusEventWriter::start(), ICPEventWriter::start(), NeXusWriter::writeISISNeXus(), NeXusWriter::writeMuonFile(), and ISISinstrumentControl::writeRecoveryFile().
|
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 |
||
) |
Definition at line 487 of file nexuswriter.cpp.
References Error, HDF5, m_fileid, Read, Update, and Write.
Referenced by NeXusWriter::addMissingMuonLogs(), ISISinstrumentControl::readRecoveryFile(), ICPEventWriter::start(), NeXusWriter::writeISISNeXus(), NeXusWriter::writeMuonFile(), and ISISinstrumentControl::writeRecoveryFile().
|
inline |
Definition at line 86 of file nexuswriter.h.
References m_fileid.
int IXNeXusFile::openGroup | ( | const char * | group_name, |
const char * | group_class | ||
) |
Definition at line 2556 of file nexuswriter.cpp.
Referenced by NeXusWriter::addMissingMuonLogs(), NeXusEventCallback::createEmptyFileStructure(), NeXusEventCallback::finish(), NeXusEventCallback::openDataGroup(), ISISinstrumentControl::readRecoveryFile(), NeXusEventCallback::writeEventsImpl(), and NeXusWriter::writeISISNeXus().
int IXNeXusFile::readData | ( | const char * | data_name, |
std::string & | value | ||
) |
Definition at line 2460 of file nexuswriter.cpp.
Referenced by NeXusWriter::addMissingMuonLogs(), and ISISinstrumentControl::readRecoveryFile().
int IXNeXusFile::readData | ( | const char * | data_name, |
int & | value | ||
) |
Definition at line 2488 of file nexuswriter.cpp.
int IXNeXusFile::readData | ( | const char * | data_name, |
float & | value | ||
) |
Definition at line 2511 of file nexuswriter.cpp.
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().
|
inline |
Definition at line 164 of file nexuswriter.h.
References m_spectra_chunk.
Referenced by ICPEventWriter::start(), and NeXusWriter::writeISISNeXus().
|
inlinestatic |
Definition at line 47 of file nexuswriter.h.
Referenced by writeData().
|
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().
|
inline |
Definition at line 103 of file nexuswriter.h.
Referenced by addMonitors(), NeXusEventCallback::createEmptyFileStructure(), NeXusEventCallback::finish(), NeXusEventCallback::openDataGroup(), writeAttribute(), NeXusWriter::writeISISNeXus(), and NeXusWriter::writeMuonFile().
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().
|
inline |
Definition at line 35 of file nexuswriter.h.
Referenced by NeXusWriter::addMissingMuonLogs(), addMonitors(), NeXusEventCallback::createEmptyFileStructure(), NeXusEventCallback::finish(), writeData(), NeXusWriter::writeISISNeXus(), NeXusWriter::writeMuonFile(), and ISISinstrumentControl::writeRecoveryFile().
|
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.
|
inline |
|
inline |
Definition at line 93 of file nexuswriter.h.
References writeData().
Referenced by writeData().
|
inline |
int IXNeXusFile::writeData | ( | const char * | data_name, |
float | value | ||
) |
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.
|
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.
|
inline |
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.
|
inline |
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 | ||
) |
Definition at line 659 of file nexuswriter.cpp.
References m_compression_type, m_fileid, m_spectra_chunk, testOptions(), and WriteDummyOnNULL.
|
private |
Definition at line 19 of file nexuswriter.h.
Referenced by addSlab(), addSlabList(), clone(), disableCompression(), enableCompression(), makeDataSlab(), writeData(), writeSlab(), and writeSlabList().
|
private |
Definition at line 22 of file nexuswriter.h.
Referenced by clone(), and setErrorReporter().
|
private |
Definition at line 21 of file nexuswriter.h.
Referenced by clone(), and setErrorReporter().
|
private |
Definition at line 17 of file nexuswriter.h.
Referenced by addSlab(), addSlabList(), clone(), close(), closeData(), closeGroup(), fileid(), flush(), getLink(), makeDataSlab(), makeLink(), makeNewGroup(), open(), openData(), writeAttribute(), writeData(), writeSlab(), and writeSlabList().
|
private |
Definition at line 18 of file nexuswriter.h.
Referenced by clone(), enableOptions(), and testOptions().
|
private |
Definition at line 20 of file nexuswriter.h.
Referenced by addSlabList(), clone(), makeDataSlab(), setSpectraChunkSize(), and writeSlabList().