00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef SINFO_UTILS_WRAPPERS_H
00021 #define SINFO_UTILS_WRAPPERS_H
00022
00023 #ifdef HAVE_CONFIG_H
00024 # include <config.h>
00025 #endif
00026
00027
00028
00029
00030 #include <cpl.h>
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040 void sinfo_free_float_array(float ***a, const int n) ;
00041
00042 cpl_table *
00043 sinfo_extract_table_rows(const cpl_table *t, const char *column,
00044 cpl_table_select_operator operator, double value);
00045 int
00046 sinfo_select_table_rows(cpl_table *t, const char *column,
00047 cpl_table_select_operator operator, double value);
00048
00049 cpl_error_code sinfo_sort_table_1(cpl_table *t, const char *column1,
00050 cpl_boolean reverse1);
00051 cpl_error_code sinfo_sort_table_2(cpl_table *t, const char *column1,
00052 const char *column2, cpl_boolean reverse1,
00053 cpl_boolean reverse2);
00054
00055 void sinfoni_free_vector(cpl_vector **v);
00056 void sinfo_free_array(cpl_array **i);
00057 void sinfo_free_apertures(cpl_apertures **a);
00058 void sinfo_free_parameter(cpl_parameter **p);
00059 void sinfo_free_image(cpl_image **i);
00060 void sinfo_free_mask(cpl_mask **m);
00061 void sinfo_free_imagelist(cpl_imagelist **i);
00062 void sinfo_free_table(cpl_table **t);
00063 void sinfo_free_propertylist(cpl_propertylist **p);
00064 void sinfo_free_polynomial(cpl_polynomial **p);
00065 void sinfo_free_stats(cpl_stats **s);
00066 void sinfo_unwrap_matrix(cpl_matrix **m);
00067 void sinfo_unwrap_vector(cpl_vector **v);
00068 void sinfo_unwrap_bivector_vectors(cpl_bivector **b);
00069 void sinfo_free_parameterlist(cpl_parameterlist **p);
00070 void sinfo_free_frameset(cpl_frameset **f);
00071 void sinfo_free_frame(cpl_frame **f);
00072 void sinfo_free_int(int **i);
00073 void sinfo_free_float(float **i);
00074 void sinfo_free_double(double **i);
00075 void sinfo_free_array_imagelist(cpl_imagelist ***a);
00076 void sinfo_free_array_image(cpl_image ***a);
00077 void sinfo_free_image_array(cpl_image ***a,const int n);
00078
00079 void sinfoni_free_matrix(cpl_matrix **m);
00080 void sinfo_free_my_vector(cpl_vector **v);
00081 void sinfo_free_bivector(cpl_bivector **bv);
00082
00083
00084 #endif