/home/amodigli/releases/xsh/2.1.1/xsh.30433/xshp/xsh/xsh_paf_save.c File Reference

#include <cpl.h>
#include <string.h>
#include <strings.h>
#include <sys/types.h>
#include <regex.h>
#include <assert.h>
#include "xsh_data_instrument.h"
#include "xsh_qc_handling.h"
#include "xsh_msg.h"
#include "xsh_paf_save.h"
#include "xsh_error.h"

Go to the source code of this file.

Defines

#define PAF_KEY_LEN   21
#define PAF_KEY_FORMAT   "%-21s "

Functions

static FILE * irplib_paf_init (const xsh_instrument *instrument, const char *recipe, const char *filename, const cpl_propertylist *primary_header)
 Open a new PAF file, output a default header.
static cpl_error_code irplib_paf_dump (qc_description *pqc, const char *kwname, const cpl_propertylist *paflist, FILE *paf)
 Print a propertylist as PAF.
static cpl_error_code irplib_paf_dump_int (char *key, int value, const char *comment, FILE *paf)
 Print an int-property as PAF.
static cpl_error_code irplib_paf_dump_double (char *key, double value, const char *comment, FILE *paf)
 Print a double-property as PAF.
static cpl_error_code irplib_paf_dump_string (char *key, const char *value, const char *comment, FILE *paf)
 Print a string-property as PAF.
cpl_error_code xsh_paf_save (const xsh_instrument *instrument, const char *recipe, const cpl_propertylist *paflist, const char *filename, const char *pro_catg)
 Create a new PAF file.
static void no_space (char *str)

Define Documentation

#define PAF_KEY_FORMAT   "%-21s "
#define PAF_KEY_LEN   21

Generated on 13 Mar 2013 for X-shooter Pipeline Reference Manual by  doxygen 1.6.1