base/drms/libs/api/drms_array.h File Reference

Functions to access DRMS array data structures. More...

#include "drms_statuscodes.h"
#include "drms_priv.h"

Include dependency graph for drms_array.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define DRMS_ARRAY2STRING_LEN
#define DRMS_ARRAY_GETVAL(VAL, X, Y)
#define DRMS_ARRAY_SETVAL(VAL, X, Y)
#define INLINE

Typedefs

typedef long long arraylen_t
typedef int axislen_t

FunctionsTitleTestFour

INLINE void drms_array_setv (DRMS_Array_t *arr,...)
Scaling and Type Conversion
int drms_array2char (arraylen_t n, DRMS_Type_t src_type, double bzero, double bscale, void *src, char *dst)
int drms_array2double (arraylen_t n, DRMS_Type_t src_type, double bzero, double bscale, void *src, double *dst)
int drms_array2float (arraylen_t n, DRMS_Type_t src_type, double bzero, double bscale, void *src, float *dst)
int drms_array2int (arraylen_t n, DRMS_Type_t src_type, double bzero, double bscale, void *src, int *dst)
int drms_array2longlong (arraylen_t n, DRMS_Type_t src_type, double bzero, double bscale, void *src, long long *dst)
int drms_array2short (arraylen_t n, DRMS_Type_t src_type, double bzero, double bscale, void *src, short *dst)
int drms_array2string (arraylen_t n, DRMS_Type_t src_type, double bzero, double bscale, void *src, char **dst)
int drms_array2time (arraylen_t n, DRMS_Type_t src_type, double bzero, double bscale, void *src, double *dst)
DRMS_Array_tdrms_array_convert (DRMS_Type_t dsttype, double bzero, double bscale, DRMS_Array_t *src)
void drms_array_convert_inplace (DRMS_Type_t newtype, double bzero, double bscale, DRMS_Array_t *src)
int drms_array_rawconvert (arraylen_t n, DRMS_Type_t dsttype, double bzero, double bscale, void *dst, DRMS_Type_t srctype, void *src)
Filling
void drms_array2missing (DRMS_Array_t *arr)
INLINE int drms_array_set (DRMS_Array_t *arr, axislen_t *indexarr, DRMS_Value_t *src)
INLINE int drms_array_setchar (DRMS_Array_t *arr, axislen_t *indexarr, char value)
INLINE int drms_array_setchar_ext (DRMS_Array_t *arr, long long index, char value)
INLINE int drms_array_setdouble (DRMS_Array_t *arr, axislen_t *indexarr, double value)
INLINE int drms_array_setdouble_ext (DRMS_Array_t *arr, arraylen_t index, double value)
INLINE int drms_array_setext (DRMS_Array_t *arr, arraylen_t index, DRMS_Value_t *src)
INLINE int drms_array_setfloat (DRMS_Array_t *arr, axislen_t *indexarr, float value)
INLINE int drms_array_setfloat_ext (DRMS_Array_t *arr, arraylen_t index, float value)
INLINE int drms_array_setint (DRMS_Array_t *arr, axislen_t *indexarr, int value)
INLINE int drms_array_setint_ext (DRMS_Array_t *arr, arraylen_t index, int value)
INLINE int drms_array_setlonglong (DRMS_Array_t *arr, axislen_t *indexarr, long long value)
INLINE int drms_array_setlonglong_ext (DRMS_Array_t *arr, arraylen_t index, long long value)
INLINE int drms_array_setshort (DRMS_Array_t *arr, axislen_t *indexarr, short value)
INLINE int drms_array_setshort_ext (DRMS_Array_t *arr, arraylen_t index, short value)
INLINE int drms_array_setstring (DRMS_Array_t *arr, axislen_t *indexarr, char *value)
INLINE int drms_array_setstring_ext (DRMS_Array_t *arr, arraylen_t index, char *value)
INLINE int drms_array_settime (DRMS_Array_t *arr, axislen_t *indexarr, double value)
INLINE int drms_array_settime_ext (DRMS_Array_t *arr, arraylen_t index, double value)
Information and Diagnostics
INLINE arraylen_t drms_array_count (DRMS_Array_t *arr)
void drms_array_fprint (FILE *arrfile, DRMS_Array_t *arr, const char *colsep, const char *rowsep)
INLINE int drms_array_naxis (DRMS_Array_t *arr)
INLINE int drms_array_nth_axis (DRMS_Array_t *arr, int n)
INLINE arraylen_t drms_array_offset (DRMS_Array_t *arr, axislen_t *indexarr)
void drms_array_print (DRMS_Array_t *arr, const char *colsep, const char *rowsep)
INLINE long long drms_array_size (DRMS_Array_t *arr)
Creation and Destruction
DRMS_Array_tdrms_array_create (DRMS_Type_t type, int naxis, axislen_t *axis, void *data, int *status)
void drms_free_array (DRMS_Array_t *src)
Slicing and Permutation
DRMS_Array_tdrms_array_permute (DRMS_Array_t *src, int *perm, int *status)
DRMS_Array_tdrms_array_slice (axislen_t *start, axislen_t *end, DRMS_Array_t *src)


Detailed Description

Functions to access DRMS array data structures.

See also:
drms_record.h drms_keyword.h drms_link.h drms_segment.h drms_types.h

Definition in file drms_array.h.


Generated on Mon Mar 26 07:00:49 2018 for JSOC_Documentation by  doxygen 1.5.7.1