FORS Pipeline Reference Manual  4.12.5
fors_qc.h
1 /* $Id: fors_qc.h,v 1.6 2010-09-14 07:49:30 cizzo Exp $
2  *
3  * This file is part of the FORS Library
4  * Copyright (C) 2002-2010 European Southern Observatory
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2 of the License, or
9  * (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
19  */
20 
21 /*
22  * $Author: cizzo $
23  * $Date: 2010-09-14 07:49:30 $
24  * $Revision: 1.6 $
25  * $Name: not supported by cvs2svn $
26  */
27 
28 #ifndef FORS_QC_H
29 #define FORS_QC_H
30 
31 #include <cpl.h>
32 
33 CPL_BEGIN_DECLS
34 
35 extern const char *const fors_qc_dic_version;
36 
37 cpl_error_code fors_qc_start_group(cpl_propertylist *,
38  const char *, const char *);
39 cpl_error_code fors_qc_end_group(void);
40 
41 void fors_qc_write_group_heading(const cpl_frame *raw_frame,
42  const char *pro_catg,
43  const char *instrument);
44 
45 cpl_error_code fors_qc_write_string(const char *, const char *,
46  const char *, const char *);
47 cpl_error_code fors_qc_write_string_chat(const char *, const char *,
48  const char *, const char *);
49 cpl_error_code fors_qc_write_double(const char *, double, const char *,
50  const char *, const char *);
51 cpl_error_code fors_qc_write_int(const char *, int, const char *,
52  const char *, const char *);
53 cpl_error_code fors_qc_keyword_to_paf(cpl_propertylist *, const char *,
54  const char *, const char *, const char *);
55 cpl_error_code fors_qc_write_qc_string(cpl_propertylist *,
56  const char *, const char *,
57  const char *, const char *);
58 cpl_error_code fors_qc_write_qc_int(cpl_propertylist *, int, const char *,
59  const char *, const char *, const char *);
60 cpl_error_code fors_qc_write_qc_double(cpl_propertylist *, double,
61  const char *, const char *, const char *,
62  const char *);
63 
64 CPL_END_DECLS
65 
66 #endif /* FORS_QC_H */
cpl_error_code fors_qc_write_qc_string(cpl_propertylist *, const char *, const char *, const char *, const char *)
Write a string value to the active QC1 PAF object and to a header.
Definition: fors_qc.c:535
cpl_error_code fors_qc_write_double(const char *, double, const char *, const char *, const char *)
Add double parameter to current QC1 group.
Definition: fors_qc.c:321
cpl_error_code fors_qc_write_qc_double(cpl_propertylist *, double, const char *, const char *, const char *, const char *)
Write an integer value to the active QC1 PAF object and to a header.
Definition: fors_qc.c:604
cpl_error_code fors_qc_keyword_to_paf(cpl_propertylist *, const char *, const char *, const char *, const char *)
Copy a keyword value to the currently active QC1 PAF object.
Definition: fors_qc.c:425
cpl_error_code fors_qc_start_group(cpl_propertylist *, const char *, const char *)
Initiate a new QC1 group.
Definition: fors_qc.c:77
cpl_error_code fors_qc_write_string(const char *, const char *, const char *, const char *)
Add string parameter to current QC1 group.
Definition: fors_qc.c:235
cpl_error_code fors_qc_end_group(void)
Close current QC1 PAF file.
Definition: fors_qc.c:200
void fors_qc_write_group_heading(const cpl_frame *raw_frame, const char *pro_catg, const char *instrument)
Initiate a new QC1 group and log basic QC.
Definition: fors_qc.c:115