HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
H5DSpublic.h
Go to the documentation of this file.
1 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
2  * Copyright by The HDF Group. *
3  * Copyright by the Board of Trustees of the University of Illinois. *
4  * All rights reserved. *
5  * *
6  * This file is part of HDF5. The full HDF5 copyright notice, including *
7  * terms governing use, modification, and redistribution, is contained in *
8  * the files COPYING and Copyright.html. COPYING can be found at the root *
9  * of the source code distribution tree; Copyright.html can be found at the *
10  * root level of an installed copy of the electronic HDF5 document set and *
11  * is linked from the top-level documents page. It can also be found at *
12  * http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have *
13  * access to either file, you may request a copy from help@hdfgroup.org. *
14  * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
15 
16 #ifndef _H5DSpublic_H
17 #define _H5DSpublic_H
18 
19 
20 
21 #define DIMENSION_SCALE_CLASS "DIMENSION_SCALE"
22 #define DIMENSION_LIST "DIMENSION_LIST"
23 #define REFERENCE_LIST "REFERENCE_LIST"
24 #define DIMENSION_LABELS "DIMENSION_LABELS"
25 
26 
27 typedef herr_t (*H5DS_iterate_t)(hid_t dset, unsigned dim, hid_t scale, void *visitor_data);
28 
29 
30 #ifdef __cplusplus
31 extern "C" {
32 #endif
33 
35  hid_t dsid,
36  unsigned int idx);
37 
39  hid_t dsid,
40  unsigned int idx);
41 
43  const char *dimname);
44 
46  unsigned int dim);
47 
49  unsigned int idx,
50  const char *label);
51 
52 H5_HLDLL ssize_t H5DSget_label( hid_t did,
53  unsigned int idx,
54  char *label,
55  size_t size);
56 
57 H5_HLDLL ssize_t H5DSget_scale_name( hid_t did,
58  char *name,
59  size_t size);
60 
62 
64  unsigned int dim,
65  int *idx,
66  H5DS_iterate_t visitor,
67  void *visitor_data);
68 
70  hid_t dsid,
71  unsigned int idx);
72 
73 
74 
75 #ifdef __cplusplus
76 }
77 #endif
78 
79 #endif
H5_HLDLL herr_t H5DSattach_scale(hid_t did, hid_t dsid, unsigned int idx)
GLuint GLsizei const GLchar * label
Definition: glcorearb.h:2544
H5_HLDLL ssize_t H5DSget_scale_name(hid_t did, char *name, size_t size)
H5_HLDLL htri_t H5DSis_attached(hid_t did, hid_t dsid, unsigned int idx)
H5_HLDLL herr_t H5DSset_label(hid_t did, unsigned int idx, const char *label)
int herr_t
Definition: H5public.h:107
GLsizeiptr size
Definition: glcorearb.h:663
H5_HLDLL herr_t H5DSdetach_scale(hid_t did, hid_t dsid, unsigned int idx)
herr_t(* H5DS_iterate_t)(hid_t dset, unsigned dim, hid_t scale, void *visitor_data)
Definition: H5DSpublic.h:27
GA_API const UT_StringHolder scale
H5_HLDLL htri_t H5DSis_scale(hid_t did)
int hid_t
Definition: H5Ipublic.h:56
GLuint const GLchar * name
Definition: glcorearb.h:785
H5_HLDLL ssize_t H5DSget_label(hid_t did, unsigned int idx, char *label, size_t size)
#define H5_HLDLL
Definition: H5api_adpt.h:407
H5_HLDLL int H5DSget_num_scales(hid_t did, unsigned int dim)
H5_HLDLL herr_t H5DSiterate_scales(hid_t did, unsigned int dim, int *idx, H5DS_iterate_t visitor, void *visitor_data)
H5_HLDLL herr_t H5DSset_scale(hid_t dsid, const char *dimname)
int htri_t
Definition: H5public.h:126