libdas2
das2 core C utilities
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
dsdf.h
Go to the documentation of this file.
1 /* Copyright (C) 2015-2017 Chris Piker <chris-piker@uiowa.edu>
2  *
3  * This file is part of libdas2, the Core Das2 C Library.
4  *
5  * Libdas2 is free software; you can redistribute it and/or modify it under
6  * the terms of the GNU Lesser General Public License version 2.1 as published
7  * by the Free Software Foundation.
8  *
9  * Libdas2 is distributed in the hope that it will be useful, but WITHOUT ANY
10  * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11  * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for
12  * more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public License
15  * version 2.1 along with libdas2; if not, see <http://www.gnu.org/licenses/>.
16  */
17 
18 
21 #ifndef _dsdf_h_
22 #define _dsdf_h_
23 
24 #include <das2/descriptor.h>
25 
26 #ifdef __cplusplus
27 extern "C" {
28 #endif
29 
46 DasDesc* dsdf_parse(const char* sFileName);
47 
48 
63 double* dsdf_valToArray(const char* sValue, size_t* pLen);
64 
65 
73 const char* dsdf_setIdlBin(const char* sIdlBin);
74 
75 
76 
100 char* dsdf_valToNormParam(
101  const char* sRawParam, char* sNormParam, size_t uNormLen
102 );
103 
106 #ifdef __cplusplus
107 }
108 #endif
109 
110 #endif /* _dsdf_h_ */
DasDesc * dsdf_parse(const char *sFileName)
Parse a DSDF file into a descriptor object.
const char * dsdf_setIdlBin(const char *sIdlBin)
Set the location of the IDL binary.
double * dsdf_valToArray(const char *sValue, size_t *pLen)
Helper function to parse a DSDF value as a double array.
Base structure for Stream Header Items.
Definition: descriptor.h:80
char * dsdf_valToNormParam(const char *sRawParam, char *sNormParam, size_t uNormLen)
Normalize a general reader command line parameter set.