MIDI Pipeline Reference Manual  2.8.3
midiAppendPropertylist.h
1 /*
2  * This file is part of the MIDI Pipeline
3  * Copyright (C) 2002, 2003, 2004, 2005 European Southern Observatory
4  *
5  * This program is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation; either version 2 of the License, or
8  * (at your option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with this program; if not, write to the Free Software
17  * Foundation, 51 Franklin St, Fifth Floor, Boston, MA 02111-1307 USA
18  */
19 
20 #ifndef MIDI_APPEND_PROPERTYLIST_H
21 #define MIDI_APPEND_PROPERTYLIST_H
22 
23 
24 /*-----------------------------------------------------------------------------
25  Includes
26  -----------------------------------------------------------------------------*/
27 #include <cpl.h>
28 
29 
30 /*-----------------------------------------------------------------------------
31  Functions prototypes
32  -----------------------------------------------------------------------------*/
33 
34 struct plots
35 {
36  const char * filename;
37  const char * label;
38 
39 } ;
40 
41 
42 cpl_error_code appendPropertylist(const char *Produc,
43  cpl_frame_type type,
44  const char *tag,
45  cpl_frameset *frameset,
46  cpl_parameterlist *parlist);
47 
48 cpl_error_code appendPropertylist_table(const char *ProductFile,
49  cpl_frame_type type,
50  const char *tag,
51  cpl_frameset *frameset,
52  cpl_parameterlist *parlist);
53 
54 
55 cpl_error_code appendPropertylist_statistics(const char *InputFile,
56  const char *ProductFile,
57  cpl_frame_type type,
58  const char *tag,
59  cpl_frameset *frameset,
60  cpl_parameterlist *parlist,
61  struct plots *plotfiles_lambda,
62  struct plots *plotfiles_frames,
63  struct plots *plotfiles_scans,
64  int dimen_lambda,
65  int dimen_frames,
66  int dimen_scans);
67 
68 cpl_vector * vector_read(const char * filename);
69 #endif