~ubuntu-branches/ubuntu/natty/pytables/natty-updates

« back to all changes in this revision

Viewing changes to src/H5TB-opt.h

  • Committer: Bazaar Package Importer
  • Author(s): Alexandre Fayolle
  • Date: 2006-06-28 10:45:03 UTC
  • mfrom: (1.2.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 5.
  • Revision ID: james.westby@ubuntu.com-20060628104503-cc251q5o5j3e2k10
  * Fixed call to pyversions in debian/rules which failed on recent versions 
    of pyversions
  * Fixed clean rule in debian/rules which left the stamp files behind
  * Acknowledge NMU
  * Added Alexandre Fayolle to uploaders

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#ifndef _H5TBO_H
2
 
#define _H5TBO_H
3
 
#endif
4
 
 
5
 
#include "H5LT.h"
6
 
#include "H5TB.h"
7
 
 
8
 
#define HLTB_MAX_FIELD_LEN 255
 
1
#include <hdf5.h>
9
2
 
10
3
#ifdef __cplusplus
11
4
extern "C" {
12
5
#endif
13
6
 
14
 
herr_t H5TBOopen_read( hid_t *dataset_id,
15
 
                       hid_t *space_id,
16
 
                       hid_t *mem_type_id,
17
 
                       hid_t loc_id, 
18
 
                       const char *dset_name,
19
 
                       hsize_t nfields,
20
 
                       char **field_names,
21
 
                       size_t type_size,
22
 
                       size_t *field_offset );
23
 
 
24
 
herr_t H5TBOread_records( hid_t *dataset_id, hid_t *space_id,
25
 
                          hid_t *mem_type_id, hsize_t start,
26
 
                          hsize_t nrecords, void *data );
27
 
 
28
 
herr_t H5TBOread_elements( hid_t *dataset_id,
29
 
                           hid_t *space_id,
30
 
                           hid_t *mem_type_id,
 
7
herr_t H5TBOmake_table( const char *table_title,
 
8
                        hid_t loc_id,
 
9
                        const char *dset_name,
 
10
                        char *version,
 
11
                        const char *class_,
 
12
                        hid_t mem_type_id,
 
13
                        hsize_t nrecords,
 
14
                        hsize_t chunk_size,
 
15
                        int compress,
 
16
                        char *complib,
 
17
                        int shuffle,
 
18
                        int fletcher32,
 
19
                        const void *data );
 
20
 
 
21
herr_t H5TBOread_records( hid_t dataset_id,
 
22
                          hid_t mem_type_id,
 
23
                          hsize_t start,
 
24
                          hsize_t nrecords,
 
25
                          void *data );
 
26
 
 
27
herr_t H5TBOread_elements( hid_t dataset_id,
 
28
                           hid_t mem_type_id,
31
29
                           hsize_t nrecords,
32
30
                           void *coords,
33
31
                           void *data );
34
32
 
35
 
herr_t H5TBOclose_read( hid_t *dataset_id,
36
 
                        hid_t *space_id,
37
 
                        hid_t *mem_type_id );
38
 
 
39
 
 
40
 
  /* These are maintained here just in case I want to use them in the future.
41
 
     F.Alted 2003/04/20  */
42
 
 
43
 
 
44
 
herr_t H5TBOopen_append( hid_t *dataset_id,
45
 
                         hid_t *mem_type_id,
46
 
                         hid_t loc_id, 
47
 
                         const char *dset_name,
48
 
                         hsize_t nfields,
49
 
                         size_t type_size,
50
 
                         const size_t *field_offset );
51
 
 
52
 
herr_t H5TBOappend_records( hid_t *dataset_id,
53
 
                            hid_t *mem_type_id,
 
33
herr_t H5TBOappend_records( hid_t dataset_id,
 
34
                            hid_t mem_type_id,
54
35
                            hsize_t nrecords,
55
36
                            hsize_t nrecords_orig,
56
37
                            const void *data );
57
38
 
58
 
herr_t H5TBOclose_append(hid_t *dataset_id,
59
 
                         hid_t *mem_type_id,
60
 
                         hsize_t ntotal_records,
61
 
                         const char *dset_name,
62
 
                         hid_t parent_id);
63
 
 
64
 
herr_t H5TBOwrite_records( hid_t loc_id, 
65
 
                           const char *dset_name,
 
39
herr_t H5TBOwrite_records( hid_t dataset_id,
 
40
                           hid_t mem_type_id,
66
41
                           hsize_t start,
67
42
                           hsize_t nrecords,
68
43
                           hsize_t step,
69
 
                           size_t type_size,
70
 
                           const size_t *field_offset,
71
44
                           const void *data );
 
45
 
 
46
herr_t H5TBOwrite_elements( hid_t dataset_id,
 
47
                            hid_t mem_type_id,
 
48
                            hsize_t nrecords,
 
49
                            const void *coords,
 
50
                            const void *data );
 
51
 
 
52
herr_t H5TBOdelete_records( hid_t   dataset_id,
 
53
                            hid_t   mem_type_id,
 
54
                            hsize_t ntotal_records,
 
55
                            size_t  src_size,
 
56
                            hsize_t start,
 
57
                            hsize_t nrecords,
 
58
                            hsize_t maxtuples );