Main Page | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

chirp_array.h

00001 #ifndef CHIRP_ARRAY_H
00002 #define CHIRP_ARRAY_H
00003 
00004 #include "chirp_types.h"
00005 
00006 /* create a new array at the given path, return zero on failure*/
00007 struct chirp_array * chirp_array_create( const char * host, const char *path, int width, int height, int element_size,time_t stoptime);
00008 
00009 /* open an existing array, return zero on failure */
00010 struct chirp_array * chirp_array_open( const char * host, const char *path,time_t stoptime);
00011 
00012 /* return the proprerties of this currently open array */
00013 int chirp_array_width( struct chirp_array *a );
00014 int chirp_array_height( struct chirp_array *a );
00015 int chirp_array_element_size( struct chirp_array *a );
00016 
00017 int  chirp_array_get_buffered( struct chirp_array *a, int i, int j, void *data,time_t stoptime);
00018 
00019 /* get the indicated element and copy it to the pointer data */
00020 int  chirp_array_get( struct chirp_array *a, int i, int j, void *data,time_t stoptime );
00021 
00022 /* set the indicated element by copying it to the pointer data */
00023 int  chirp_array_set( struct chirp_array *a, int i, int j, const void *data,time_t stoptime );
00024 
00025 /* get the indicated row and copy it to the pointer data */
00026 int chirp_array_get_row( struct chirp_array *a, int i, void *data,time_t stoptime );
00027 
00028 /* get the indicated col and copy it to the pointer data */
00029 int chirp_array_get_col( struct chirp_array *a, int i, void *data,time_t stoptime );
00030 
00031 /* set the indicated row by copying it to the pointer data */
00032 int  chirp_array_set_row( struct chirp_array *a, int i, const void *data,time_t stoptime );
00033 
00034 /* set the indicated col by copying it to the pointer data */
00035 int chirp_array_set_col( struct chirp_array *a, int i,const void *data,time_t stoptime );
00036 
00037 /*delete a chirp array*/
00038 int chirp_array_delete( struct chirp_array *a,time_t stoptime);
00039 
00040 /* close this array and free all related resources */
00041 void chirp_array_close( struct chirp_array *a,time_t stoptime );
00042 
00043 #endif

Generated on Wed Jun 11 10:05:15 2008 for cctools by  doxygen 1.3.9.1