ifw-odp  2.0.0-alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
clipm_testlib_parser.h
Go to the documentation of this file.
1 
2 /*********************************************************************
3  * E.S.O. - VLT project
4  *
5  * "@(#) $Id: clipm_testlib_parser.h 152735 2007-06-15 15:47:17Z hlorch $"
6  *
7  * Example functions to parse configuration files for clipm tests.
8  * These are provided for convenience only, are neither tested for stability,
9  * nor comply to any outside specification.
10  *
11  * They are intended to retrieve settings from a user-editable configuration
12  * file, and store them in a cpl_paramter_list. This way, compilation of
13  * test configuration parameters can be avoided (while also omitting command
14  * line arguments). One further idea was to automatically generate test
15  * cases with the corresponding configurations in future.
16  *
17  * who when what
18  * -------- ---------- ----------------------------------------------
19  * hlorch 2006-05-04 created
20  */
21 
22 #ifndef CLIPM_TESTLIB_PARSER_H
23 #define CLIPM_TESTLIB_PARSER_H
24 
25 /*-----------------------------------------------------------------------------
26  Includes
27  -----------------------------------------------------------------------------*/
28 
29 #include <cpl.h>
30 
31 /*-----------------------------------------------------------------------------
32  Declaration Block
33  -----------------------------------------------------------------------------*/
34 
35 #ifdef __cplusplus
36 extern "C" {
37 #endif
38 
39 /*-----------------------------------------------------------------------------
40  Prototypes
41  -----------------------------------------------------------------------------*/
42 
44  const char *filename,
45  cpl_parameterlist *append_list);
46 
47 /*----------------------------------------------------------------------------*/
48 
49 #ifdef __cplusplus
50 } /* extern "C" */
51 #endif
52 
53 #endif /* CLIPM_TESTLIB_PARSER_H */
cpl_parameterlist * clipm_testlib_parser_import_configfile(const char *filename, cpl_parameterlist *append_list)
Definition: clipm_testlib_parser.c:406