1#include <lal/LALStdlib.h>
2#include <lal/AVFactories.h>
3#include <lal/SeqFactories.h>
4#include <lal/StringVector.h>
5#include <lal/H5FileIO.h>
7#define FAILVAL XLAL_FAILURE
72#define FAILVAL XLAL_REAL4_FAIL_NAN
84#define FAILVAL XLAL_REAL4_FAIL_NAN
96#define FAILVAL XLAL_REAL4_FAIL_NAN
108#define FAILVAL XLAL_REAL8_FAIL_NAN
111#define TYPE COMPLEX16
535 size = nbytes / npoints;
577 for (
size_t j = 0; j < sequence->
length; ++j) {
595 if (npoints == (
size_t)(-1))
int XLALH5DatasetCheckStringData(LALH5Dataset *dset)
int XLALH5DatasetQueryNDim(LALH5Dataset *dset)
int XLALH5DatasetCheckFixedLengthStringData(LALH5Dataset *dset)
struct tagLALH5File LALH5File
Incomplete type for a HDF5 file.
LALH5Dataset * XLALH5DatasetAllocStringData(LALH5File *file, const char *name, size_t length)
struct tagLALH5Dataset LALH5Dataset
Incomplete type for a HDF5 dataset.
int XLALH5DatasetWrite(LALH5Dataset *dset, void *data)
void XLALH5DatasetFree(LALH5Dataset *dset)
size_t XLALH5DatasetQueryNBytes(LALH5Dataset *dset)
size_t XLALH5DatasetQueryNPoints(LALH5Dataset *dset)
int XLALH5DatasetQueryData(void *data, LALH5Dataset *dset)
static CHARVectorSequence * XLALH5DatasetReadCHARVectorSequence(LALH5Dataset *dset)
LALStringVector * XLALH5DatasetReadStringVector(LALH5Dataset *dset)
LALH5Dataset * XLALH5DatasetAllocStringVector(LALH5File *file, const char *name, LALStringVector *vector)
char CHAR
One-byte signed integer, see Headers LAL(Atomic)Datatypes.h for more details.
uint32_t UINT4
Four-byte unsigned integer.
void XLALDestroyStringVector(LALStringVector *vect)
XLAL-interface: Free a string-vector ;)
LALStringVector * XLALAppendString2Vector(LALStringVector *vect, const CHAR *string)
Append the given string to the string-vector (XLAL interface), return pointer to the resulting string...
LALStringVector * XLALCreateEmptyStringVector(UINT4 length)
Create an empty string vector of the given length.
void XLALDestroyCHARVectorSequence(CHARVectorSequence *vecseq)
CHARVectorSequence * XLALCreateCHARVectorSequence(UINT4 length, UINT4 veclen)
#define XLAL_ERROR_NULL(...)
Macro to invoke a failure from a XLAL routine returning a pointer.
#define XLAL_CHECK_NULL(assertion,...)
Macro to test an assertion and invoke a failure if it is not true in a function that returns a pointe...
@ XLAL_EBADLEN
Inconsistent or invalid length.
@ XLAL_EFAULT
Invalid pointer.
@ XLAL_EFUNC
Internal function call failed bit: "or" this with existing error number.
@ XLAL_ETYPE
Wrong or unknown type.
@ XLAL_EDIMS
Wrong dimensions.
@ XLAL_EINVAL
Invalid argument.
Sequence of CHAR Vectors, see DATATYPE-VectorSequence types for more details.
CHAR * data
Pointer to the data array.
UINT4 length
The number l of vectors.
UINT4 vectorLength
The length n of each vector.
Vector of type CHAR*, ie 'strings', see DATATYPE-Vector types for more details.
UINT4 length
Number of elements in array.
CHAR ** data
Pointer to the data array.