irplib_plugin.h

00001 /* $Id: irplib_plugin.h,v 1.23 2012/01/11 08:03:37 llundin Exp $
00002  *
00003  * This file is part of the irplib package 
00004  * Copyright (C) 2002,2003 European Southern Observatory
00005  *
00006  * This program is free software; you can redistribute it and/or modify
00007  * it under the terms of the GNU General Public License as published by
00008  * the Free Software Foundation; either version 2 of the License, or
00009  * (at your option) any later version.
00010  *
00011  * This program is distributed in the hope that it will be useful,
00012  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014  * GNU General Public License for more details.
00015  *
00016  * You should have received a copy of the GNU General Public License
00017  * along with this program; if not, write to the Free Software
00018  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02111-1307  USA
00019  */
00020 
00021 /*
00022  * $Author: llundin $
00023  * $Date: 2012/01/11 08:03:37 $
00024  * $Revision: 1.23 $
00025  * $Name: HEAD $
00026  */
00027 
00028 #ifndef IRPLIB_PLUGIN_H
00029 #define IRPLIB_PLUGIN_H
00030 
00031 /*-----------------------------------------------------------------------------
00032                                    Includes
00033  -----------------------------------------------------------------------------*/
00034 
00035 #include <irplib_utils.h>  /* irplib_reset() */
00036 
00037 #include <cpl.h>
00038 
00039 /*-----------------------------------------------------------------------------
00040                                    Define
00041  -----------------------------------------------------------------------------*/
00042 
00043 /* Needed (by uves) to concatenate two macro arguments */
00044 #define IRPLIB_CONCAT(a,b) a ## _ ## b
00045 #define IRPLIB_CONCAT2X(a,b) IRPLIB_CONCAT(a,b)
00046 
00047 /*-----------------------------------------------------------------------------
00048                                    Function prototypes
00049  -----------------------------------------------------------------------------*/
00050 
00051 int irplib_plugin_test(cpl_pluginlist *, size_t, const char *[]);
00052 
00053 cpl_error_code irplib_parameterlist_set_string(cpl_parameterlist *,
00054                                                const char *, const char *,
00055                                                const char *, const char *, 
00056                                                const char *, const char *,
00057                                                const char *);
00058 
00059 cpl_error_code irplib_parameterlist_set_bool(cpl_parameterlist *,
00060                                              const char *, const char *,
00061                                              const char *, cpl_boolean,
00062                                              const char *, const char *,
00063                                              const char *);
00064 
00065 cpl_error_code irplib_parameterlist_set_int(cpl_parameterlist *,
00066                                             const char *, const char *,
00067                                             const char *, int,
00068                                             const char *, const char *,
00069                                             const char *);
00070 
00071 cpl_error_code irplib_parameterlist_set_double(cpl_parameterlist *,
00072                                                const char *, const char *,
00073                                                const char *, double, 
00074                                                const char *, const char *,
00075                                                const char *);
00076 
00077 const char * irplib_parameterlist_get_string(const cpl_parameterlist *,
00078                                              const char *, const char *,
00079                                              const char *);
00080 
00081 cpl_boolean irplib_parameterlist_get_bool(const cpl_parameterlist *,
00082                                           const char *, const char *,
00083                                           const char *);
00084 
00085 int irplib_parameterlist_get_int(const cpl_parameterlist *,
00086                                  const char *, const char *,
00087                                  const char *);
00088 
00089 double irplib_parameterlist_get_double(const cpl_parameterlist *,
00090                                        const char *, const char *,
00091                                        const char *);
00092 
00093 #endif

Generated on 3 Mar 2013 for DETMON Pipeline Reference Manual by  doxygen 1.6.1