/Users/huttone/Devel/sedflux-new/sedflux/trunk/ew/utils/eh_dlm_file.h

Go to the documentation of this file.
00001 #ifndef __EH_DLM_FILE_H__
00002 #define __EH_DLM_FILE_H__
00003 
00004 #include <glib.h>
00005 #include <utils/eh_symbol_table.h>
00006 #include <utils/eh_grid.h>
00007 
00008 double**   eh_dlm_read                   ( const gchar* file ,
00009                                            gchar* delims     ,
00010                                            gint* n_rows      ,
00011                                            gint* n_cols      ,
00012                                            GError** error );
00013 double**   eh_dlm_read_swap              ( const gchar* file ,
00014                                            gchar* delims     ,
00015                                            gint* n_rows      ,
00016                                            gint* n_cols      ,
00017                                            GError** error );
00018 double***  eh_dlm_read_full              ( const gchar* file ,
00019                                            gchar* delims     ,
00020                                            gint** n_rows     ,
00021                                            gint** n_cols     ,
00022                                            gchar*** rec_data ,
00023                                            gint max_records  ,
00024                                            GError** err );
00025 double***  eh_dlm_read_full_swap         ( const gchar* file ,
00026                                            gchar* delims     ,
00027                                            gint** n_rows     ,
00028                                            gint** n_cols     ,
00029                                            gchar*** rec_data ,
00030                                            gint max_records  ,
00031                                            GError** err );
00032 
00033 gint       eh_str_count_chr              ( gchar* str , gchar* end , gint delim );
00034 gchar*     eh_dlm_remove_empty_lines     ( gchar* content );
00035 gchar*     eh_str_remove_to_eol_comments ( gchar* content , gchar* com_start );
00036 gchar*     eh_str_remove_c_style_comments( gchar* content );
00037 gchar*     eh_str_remove_comments        ( gchar* content         ,
00038                                            const gchar* start_str ,
00039                                            const gchar* end_str   ,
00040                                            gchar*** comments );
00041 gchar**    eh_strv_append                ( gchar*** str_l ,
00042                                            gchar* new_str );
00043 Eh_symbol_table eh_str_parse_key_value   ( gchar* str ,
00044                                            gchar* delim_1 ,
00045                                            gchar* delim_2 );
00046 gchar*     eh_str_replace                ( gchar* str  ,
00047                                            gchar old_c ,
00048                                            gchar new_c );
00049 gchar*     eh_str_remove                 ( gchar* str   ,
00050                                            gchar* start ,
00051                                            gint n );
00052 gchar*     eh_str_remove_blocks          ( gchar* str   ,
00053                                            gchar** block_start ,
00054                                            gchar** block_end );
00055 
00056 gint       eh_dlm_print                  ( const gchar*   file   ,
00057                                            const gchar*   delim  ,
00058                                            const double** data   ,
00059                                            const gint     n_rows ,
00060                                            const gint     n_cols ,
00061                                            GError** error ) ;
00062 gint       eh_dlm_print_swap             ( const gchar*   file   ,
00063                                            const gchar*   delim  ,
00064                                            const double** data   ,
00065                                            const gint     n_rows ,
00066                                            const gint     n_cols ,
00067                                            GError** error ) ;
00068 gint       eh_dlm_print_full             ( const gchar*   file   ,
00069                                            const gchar*   delim  ,
00070                                            const double** data   ,
00071                                            const gint     n_rows ,
00072                                            const gint     n_cols ,
00073                                            gboolean       swap   ,
00074                                            GError** error ) ;
00075 gint       eh_dlm_print_dbl_grid         ( const gchar* file  ,
00076                                            const gchar* delim ,
00077                                            Eh_dbl_grid g      ,
00078                                            GError** error );
00079 
00080 #endif

Generated on Fri Jan 4 18:04:16 2008 for sedflux by  doxygen 1.5.2