summaryrefslogtreecommitdiffstats
path: root/develop/group___h5_a.html
blob: 26a87106a800ce78a71a8b5f4fb3e0ef7f24dc56 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.10.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>HDF5: Attributes (H5A)</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="cookie.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
  $(function() { init_search(); });
/* @license-end */
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="hdf5doxy.css" rel="stylesheet" type="text/css">
<!-- <link href="hdf5doxy.css" rel="stylesheet" type="text/css"/>
 -->
<script type="text/javascript" src="hdf5_navtree_hacks.js"></script>
</head>
<body>
<div style="background:#FFDDDD;font-size:120%;text-align:center;margin:0;padding:5px">Please, help us to better serve our user community by answering the following short survey:  <a href="https://www.hdfgroup.org/website-survey/">https://www.hdfgroup.org/website-survey/</a></div>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="HDFG-logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname"><a href="https://www.hdfgroup.org">HDF5</a>
   &#160;<span id="projectnumber">1.15.0.2908dd1</span>
   </div>
   <div id="projectbrief">API Reference</div>
  </td>
   <td>        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <span id="MSearchSelect"                onmouseover="return searchBox.OnSearchSelectShow()"                onmouseout="return searchBox.OnSearchSelectHide()">&#160;</span>
          <input type="text" id="MSearchField" value="" placeholder="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.svg" alt=""/></a>
          </span>
        </div>
</td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.10.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){initNavTree('group___h5_a.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div class="header">
  <div class="summary">
<a href="#define-members">Macros</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle"><div class="title">Attributes (H5A)</div></div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<p>An HDF5 attribute is a small metadata object describing the nature and/or intended usage of a primary data object. A primary data object may be a dataset, group, or committed datatype.</p>
<dl class="section see"><dt>See also</dt><dd>sec_attribute </dd></dl>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="define-members" name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:ga4a76e4e5ab6eb0fd2aa7990d38d55f24" id="r_ga4a76e4e5ab6eb0fd2aa7990d38d55f24"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ga4a76e4e5ab6eb0fd2aa7990d38d55f24">H5Acreate</a>&#160;&#160;&#160;<a class="el" href="#ga4f4e5248c09f689633079ed8afc0b308">H5Acreate2</a></td></tr>
<tr class="separator:ga4a76e4e5ab6eb0fd2aa7990d38d55f24"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab9dcfc543cd4282f32b8ea19e08ffa6c" id="r_gab9dcfc543cd4282f32b8ea19e08ffa6c"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#gab9dcfc543cd4282f32b8ea19e08ffa6c">H5Aiterate</a>&#160;&#160;&#160;<a class="el" href="#ga9315a22b60468b6e996559b1b8a77251">H5Aiterate2</a></td></tr>
<tr class="separator:gab9dcfc543cd4282f32b8ea19e08ffa6c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:gaef4394b661e2c930879e9868e122bdda" id="r_gaef4394b661e2c930879e9868e122bdda"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_h5public_8h.html#a3b079ecf932a5c599499cf7e298af160">herr_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#gaef4394b661e2c930879e9868e122bdda">H5Aclose</a> (<a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a> attr_id)</td></tr>
<tr class="memdesc:gaef4394b661e2c930879e9868e122bdda"><td class="mdescLeft">&#160;</td><td class="mdescRight">Closes the specified attribute.  <br /></td></tr>
<tr class="separator:gaef4394b661e2c930879e9868e122bdda"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4f4e5248c09f689633079ed8afc0b308" id="r_ga4f4e5248c09f689633079ed8afc0b308"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ga4f4e5248c09f689633079ed8afc0b308">H5Acreate2</a> (<a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a> loc_id, const char *attr_name, <a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a> type_id, <a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a> space_id, <a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a> acpl_id, <a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a> aapl_id)</td></tr>
<tr class="memdesc:ga4f4e5248c09f689633079ed8afc0b308"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates an attribute attached to a specified object.  <br /></td></tr>
<tr class="separator:ga4f4e5248c09f689633079ed8afc0b308"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga004160c28e281455ec48aa7fe557ef8a" id="r_ga004160c28e281455ec48aa7fe557ef8a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ga004160c28e281455ec48aa7fe557ef8a">H5Acreate_by_name</a> (<a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a> loc_id, const char *obj_name, const char *attr_name, <a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a> type_id, <a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a> space_id, <a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a> acpl_id, <a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a> aapl_id, <a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a> lapl_id)</td></tr>
<tr class="memdesc:ga004160c28e281455ec48aa7fe557ef8a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates an attribute attached to a specified object.  <br /></td></tr>
<tr class="separator:ga004160c28e281455ec48aa7fe557ef8a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gada9fa3d6db52329f1fd55662de6ff6ba" id="r_gada9fa3d6db52329f1fd55662de6ff6ba"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_h5public_8h.html#a3b079ecf932a5c599499cf7e298af160">herr_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#gada9fa3d6db52329f1fd55662de6ff6ba">H5Adelete</a> (<a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a> loc_id, const char *attr_name)</td></tr>
<tr class="memdesc:gada9fa3d6db52329f1fd55662de6ff6ba"><td class="mdescLeft">&#160;</td><td class="mdescRight">Deletes an attribute from a specified location.  <br /></td></tr>
<tr class="separator:gada9fa3d6db52329f1fd55662de6ff6ba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga06711a4e77ff8ab49e427010fd38ac9e" id="r_ga06711a4e77ff8ab49e427010fd38ac9e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_h5public_8h.html#a3b079ecf932a5c599499cf7e298af160">herr_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ga06711a4e77ff8ab49e427010fd38ac9e">H5Adelete_by_idx</a> (<a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a> loc_id, const char *obj_name, <a class="el" href="_h5public_8h.html#a8203c78e10ab2d89d8bce688a31afad3">H5_index_t</a> idx_type, <a class="el" href="_h5public_8h.html#a6a6ddd1504d1ed61939d46d91d9441b9">H5_iter_order_t</a> order, <a class="el" href="_h5public_8h.html#a7f81cce70fb546af88da24d9285d3c1c">hsize_t</a> n, <a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a> lapl_id)</td></tr>
<tr class="memdesc:ga06711a4e77ff8ab49e427010fd38ac9e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Deletes an attribute from an object according to index order.  <br /></td></tr>
<tr class="separator:ga06711a4e77ff8ab49e427010fd38ac9e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gacbf689308f851428dd641b64f5f94feb" id="r_gacbf689308f851428dd641b64f5f94feb"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_h5public_8h.html#a3b079ecf932a5c599499cf7e298af160">herr_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#gacbf689308f851428dd641b64f5f94feb">H5Adelete_by_name</a> (<a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a> loc_id, const char *obj_name, const char *attr_name, <a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a> lapl_id)</td></tr>
<tr class="memdesc:gacbf689308f851428dd641b64f5f94feb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Removes an attribute from a specified location.  <br /></td></tr>
<tr class="separator:gacbf689308f851428dd641b64f5f94feb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga293b5be270d90cd5e47f782ca9aec80b" id="r_ga293b5be270d90cd5e47f782ca9aec80b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_h5public_8h.html#aa8f6c28736dbd0f18388c67911d38aca">htri_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ga293b5be270d90cd5e47f782ca9aec80b">H5Aexists</a> (<a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a> obj_id, const char *attr_name)</td></tr>
<tr class="memdesc:ga293b5be270d90cd5e47f782ca9aec80b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Determines whether an attribute with a given name exists on an object.  <br /></td></tr>
<tr class="separator:ga293b5be270d90cd5e47f782ca9aec80b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa1d2305651a4524f6aa0f8b56eec1a37" id="r_gaa1d2305651a4524f6aa0f8b56eec1a37"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_h5public_8h.html#aa8f6c28736dbd0f18388c67911d38aca">htri_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#gaa1d2305651a4524f6aa0f8b56eec1a37">H5Aexists_by_name</a> (<a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a> obj_id, const char *obj_name, const char *attr_name, <a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a> lapl_id)</td></tr>
<tr class="memdesc:gaa1d2305651a4524f6aa0f8b56eec1a37"><td class="mdescLeft">&#160;</td><td class="mdescRight">Determines whether an attribute with a given name exists on an object.  <br /></td></tr>
<tr class="separator:gaa1d2305651a4524f6aa0f8b56eec1a37"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0f6b545850bd21f128904eff51df226d" id="r_ga0f6b545850bd21f128904eff51df226d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ga0f6b545850bd21f128904eff51df226d">H5Aget_create_plist</a> (<a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a> attr_id)</td></tr>
<tr class="memdesc:ga0f6b545850bd21f128904eff51df226d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets an attribute creation property list identifier.  <br /></td></tr>
<tr class="separator:ga0f6b545850bd21f128904eff51df226d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae3f1b7b87240b461f7827a8783acc08a" id="r_gae3f1b7b87240b461f7827a8783acc08a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_h5public_8h.html#a3b079ecf932a5c599499cf7e298af160">herr_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#gae3f1b7b87240b461f7827a8783acc08a">H5Aget_info</a> (<a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a> attr_id, <a class="el" href="struct_h5_a__info__t.html">H5A_info_t</a> *ainfo)</td></tr>
<tr class="memdesc:gae3f1b7b87240b461f7827a8783acc08a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieves attribute information by attribute identifier.  <br /></td></tr>
<tr class="separator:gae3f1b7b87240b461f7827a8783acc08a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad110910cb227c15fdca938a642714fe9" id="r_gad110910cb227c15fdca938a642714fe9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_h5public_8h.html#a3b079ecf932a5c599499cf7e298af160">herr_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#gad110910cb227c15fdca938a642714fe9">H5Aget_info_by_idx</a> (<a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a> loc_id, const char *obj_name, <a class="el" href="_h5public_8h.html#a8203c78e10ab2d89d8bce688a31afad3">H5_index_t</a> idx_type, <a class="el" href="_h5public_8h.html#a6a6ddd1504d1ed61939d46d91d9441b9">H5_iter_order_t</a> order, <a class="el" href="_h5public_8h.html#a7f81cce70fb546af88da24d9285d3c1c">hsize_t</a> n, <a class="el" href="struct_h5_a__info__t.html">H5A_info_t</a> *ainfo, <a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a> lapl_id)</td></tr>
<tr class="memdesc:gad110910cb227c15fdca938a642714fe9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieves attribute information by attribute index position.  <br /></td></tr>
<tr class="separator:gad110910cb227c15fdca938a642714fe9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga258f03e12b4f49ad33ba72d17a9e2faf" id="r_ga258f03e12b4f49ad33ba72d17a9e2faf"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_h5public_8h.html#a3b079ecf932a5c599499cf7e298af160">herr_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ga258f03e12b4f49ad33ba72d17a9e2faf">H5Aget_info_by_name</a> (<a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a> loc_id, const char *obj_name, const char *attr_name, <a class="el" href="struct_h5_a__info__t.html">H5A_info_t</a> *ainfo, <a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a> lapl_id)</td></tr>
<tr class="memdesc:ga258f03e12b4f49ad33ba72d17a9e2faf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieves attribute information by attribute name.  <br /></td></tr>
<tr class="separator:ga258f03e12b4f49ad33ba72d17a9e2faf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga05e195aabab8c623b1c52009aeb99674" id="r_ga05e195aabab8c623b1c52009aeb99674"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_h5public_8h.html#af629ed855824cf5955b54529adf78ad6">ssize_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ga05e195aabab8c623b1c52009aeb99674">H5Aget_name</a> (<a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a> attr_id, size_t buf_size, char *buf)</td></tr>
<tr class="memdesc:ga05e195aabab8c623b1c52009aeb99674"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets an attribute name.  <br /></td></tr>
<tr class="separator:ga05e195aabab8c623b1c52009aeb99674"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4c552b2db32371f8ea20d87475313fb6" id="r_ga4c552b2db32371f8ea20d87475313fb6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_h5public_8h.html#af629ed855824cf5955b54529adf78ad6">ssize_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ga4c552b2db32371f8ea20d87475313fb6">H5Aget_name_by_idx</a> (<a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a> loc_id, const char *obj_name, <a class="el" href="_h5public_8h.html#a8203c78e10ab2d89d8bce688a31afad3">H5_index_t</a> idx_type, <a class="el" href="_h5public_8h.html#a6a6ddd1504d1ed61939d46d91d9441b9">H5_iter_order_t</a> order, <a class="el" href="_h5public_8h.html#a7f81cce70fb546af88da24d9285d3c1c">hsize_t</a> n, char *name, size_t size, <a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a> lapl_id)</td></tr>
<tr class="memdesc:ga4c552b2db32371f8ea20d87475313fb6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets an attribute name by attribute index position.  <br /></td></tr>
<tr class="separator:ga4c552b2db32371f8ea20d87475313fb6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9e21e544119d03f9342530b45a71d74d" id="r_ga9e21e544119d03f9342530b45a71d74d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ga9e21e544119d03f9342530b45a71d74d">H5Aget_space</a> (<a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a> attr_id)</td></tr>
<tr class="memdesc:ga9e21e544119d03f9342530b45a71d74d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets a copy of the dataspace for an attribute.  <br /></td></tr>
<tr class="separator:ga9e21e544119d03f9342530b45a71d74d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabd11c8e11db0adde706e41a24a832f06" id="r_gabd11c8e11db0adde706e41a24a832f06"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_h5public_8h.html#a7f81cce70fb546af88da24d9285d3c1c">hsize_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#gabd11c8e11db0adde706e41a24a832f06">H5Aget_storage_size</a> (<a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a> attr_id)</td></tr>
<tr class="memdesc:gabd11c8e11db0adde706e41a24a832f06"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the amount of storage used to store an attribute.  <br /></td></tr>
<tr class="separator:gabd11c8e11db0adde706e41a24a832f06"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0b070b714b2e535df2e1cb3005026a44" id="r_ga0b070b714b2e535df2e1cb3005026a44"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ga0b070b714b2e535df2e1cb3005026a44">H5Aget_type</a> (<a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a> attr_id)</td></tr>
<tr class="memdesc:ga0b070b714b2e535df2e1cb3005026a44"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets an attribute's datatype.  <br /></td></tr>
<tr class="separator:ga0b070b714b2e535df2e1cb3005026a44"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9315a22b60468b6e996559b1b8a77251" id="r_ga9315a22b60468b6e996559b1b8a77251"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_h5public_8h.html#a3b079ecf932a5c599499cf7e298af160">herr_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ga9315a22b60468b6e996559b1b8a77251">H5Aiterate2</a> (<a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a> loc_id, <a class="el" href="_h5public_8h.html#a8203c78e10ab2d89d8bce688a31afad3">H5_index_t</a> idx_type, <a class="el" href="_h5public_8h.html#a6a6ddd1504d1ed61939d46d91d9441b9">H5_iter_order_t</a> order, <a class="el" href="_h5public_8h.html#a7f81cce70fb546af88da24d9285d3c1c">hsize_t</a> *idx, <a class="el" href="_h5_apublic_8h.html#a28fef0ded9a6c0eb12334c0d15dc3e74">H5A_operator2_t</a> op, void *op_data)</td></tr>
<tr class="memdesc:ga9315a22b60468b6e996559b1b8a77251"><td class="mdescLeft">&#160;</td><td class="mdescRight">Calls a user-defined function for each attribute on an object.  <br /></td></tr>
<tr class="separator:ga9315a22b60468b6e996559b1b8a77251"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga75db973d69b61f673f5cdf21ac624cef" id="r_ga75db973d69b61f673f5cdf21ac624cef"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_h5public_8h.html#a3b079ecf932a5c599499cf7e298af160">herr_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ga75db973d69b61f673f5cdf21ac624cef">H5Aiterate_by_name</a> (<a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a> loc_id, const char *obj_name, <a class="el" href="_h5public_8h.html#a8203c78e10ab2d89d8bce688a31afad3">H5_index_t</a> idx_type, <a class="el" href="_h5public_8h.html#a6a6ddd1504d1ed61939d46d91d9441b9">H5_iter_order_t</a> order, <a class="el" href="_h5public_8h.html#a7f81cce70fb546af88da24d9285d3c1c">hsize_t</a> *idx, <a class="el" href="_h5_apublic_8h.html#a28fef0ded9a6c0eb12334c0d15dc3e74">H5A_operator2_t</a> op, void *op_data, <a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a> lapl_id)</td></tr>
<tr class="memdesc:ga75db973d69b61f673f5cdf21ac624cef"><td class="mdescLeft">&#160;</td><td class="mdescRight">Calls user-defined function for each attribute on an object.  <br /></td></tr>
<tr class="separator:ga75db973d69b61f673f5cdf21ac624cef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga59863b205b6d93b2145f0fbca49656f7" id="r_ga59863b205b6d93b2145f0fbca49656f7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ga59863b205b6d93b2145f0fbca49656f7">H5Aopen</a> (<a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a> obj_id, const char *attr_name, <a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a> aapl_id)</td></tr>
<tr class="memdesc:ga59863b205b6d93b2145f0fbca49656f7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Opens an attribute for an object specified by object identifier and attribute name.  <br /></td></tr>
<tr class="separator:ga59863b205b6d93b2145f0fbca49656f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab1451cdff4f77dcf9feaee83c8179b2d" id="r_gab1451cdff4f77dcf9feaee83c8179b2d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#gab1451cdff4f77dcf9feaee83c8179b2d">H5Aopen_by_idx</a> (<a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a> loc_id, const char *obj_name, <a class="el" href="_h5public_8h.html#a8203c78e10ab2d89d8bce688a31afad3">H5_index_t</a> idx_type, <a class="el" href="_h5public_8h.html#a6a6ddd1504d1ed61939d46d91d9441b9">H5_iter_order_t</a> order, <a class="el" href="_h5public_8h.html#a7f81cce70fb546af88da24d9285d3c1c">hsize_t</a> n, <a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a> aapl_id, <a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a> lapl_id)</td></tr>
<tr class="memdesc:gab1451cdff4f77dcf9feaee83c8179b2d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Opens the nth attribute attached to an object.  <br /></td></tr>
<tr class="separator:gab1451cdff4f77dcf9feaee83c8179b2d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gadb49a0b5b9798d2e944d877adba8ae10" id="r_gadb49a0b5b9798d2e944d877adba8ae10"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#gadb49a0b5b9798d2e944d877adba8ae10">H5Aopen_by_name</a> (<a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a> loc_id, const char *obj_name, const char *attr_name, <a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a> aapl_id, <a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a> lapl_id)</td></tr>
<tr class="memdesc:gadb49a0b5b9798d2e944d877adba8ae10"><td class="mdescLeft">&#160;</td><td class="mdescRight">Opens an attribute for an object by object name and attribute name.  <br /></td></tr>
<tr class="separator:gadb49a0b5b9798d2e944d877adba8ae10"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaacb27a997f7c98e8a833d0fd63b58f1c" id="r_gaacb27a997f7c98e8a833d0fd63b58f1c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_h5public_8h.html#a3b079ecf932a5c599499cf7e298af160">herr_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#gaacb27a997f7c98e8a833d0fd63b58f1c">H5Aread</a> (<a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a> attr_id, <a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a> type_id, void *buf)</td></tr>
<tr class="memdesc:gaacb27a997f7c98e8a833d0fd63b58f1c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reads the value of an attribute.  <br /></td></tr>
<tr class="separator:gaacb27a997f7c98e8a833d0fd63b58f1c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga490dcd6db246c1fda7295badfce28203" id="r_ga490dcd6db246c1fda7295badfce28203"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_h5public_8h.html#a3b079ecf932a5c599499cf7e298af160">herr_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ga490dcd6db246c1fda7295badfce28203">H5Arename</a> (<a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a> loc_id, const char *old_name, const char *new_name)</td></tr>
<tr class="memdesc:ga490dcd6db246c1fda7295badfce28203"><td class="mdescLeft">&#160;</td><td class="mdescRight">Renames an attribute.  <br /></td></tr>
<tr class="separator:ga490dcd6db246c1fda7295badfce28203"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab70871e205d57450c83efd9912be2b5c" id="r_gab70871e205d57450c83efd9912be2b5c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_h5public_8h.html#a3b079ecf932a5c599499cf7e298af160">herr_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#gab70871e205d57450c83efd9912be2b5c">H5Awrite</a> (<a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a> attr_id, <a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a> type_id, const void *buf)</td></tr>
<tr class="memdesc:gab70871e205d57450c83efd9912be2b5c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Writes data to an attribute.  <br /></td></tr>
<tr class="separator:gab70871e205d57450c83efd9912be2b5c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga21f8483c935d72187b98f5e7c2056140" id="r_ga21f8483c935d72187b98f5e7c2056140"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_h5public_8h.html#a3b079ecf932a5c599499cf7e298af160">herr_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ga21f8483c935d72187b98f5e7c2056140">H5Arename_by_name</a> (<a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a> loc_id, const char *obj_name, const char *old_attr_name, const char *new_attr_name, <a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a> lapl_id)</td></tr>
<tr class="separator:ga21f8483c935d72187b98f5e7c2056140"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa30f5f6c277d6c46f8aa31e89cdba085" id="r_gaa30f5f6c277d6c46f8aa31e89cdba085"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#gaa30f5f6c277d6c46f8aa31e89cdba085">H5Acreate1</a> (<a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a> loc_id, const char *name, <a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a> type_id, <a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a> space_id, <a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a> acpl_id)</td></tr>
<tr class="memdesc:gaa30f5f6c277d6c46f8aa31e89cdba085"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates an attribute attached to a specified object.  <br /></td></tr>
<tr class="separator:gaa30f5f6c277d6c46f8aa31e89cdba085"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaadd809fc16238754105bbddd20bcdde1" id="r_gaadd809fc16238754105bbddd20bcdde1"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#gaadd809fc16238754105bbddd20bcdde1">H5Aget_num_attrs</a> (<a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a> loc_id)</td></tr>
<tr class="memdesc:gaadd809fc16238754105bbddd20bcdde1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Determines the number of attributes attached to an object.  <br /></td></tr>
<tr class="separator:gaadd809fc16238754105bbddd20bcdde1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabdb2cf7368eec0ad998cbe6a3f61aa41" id="r_gabdb2cf7368eec0ad998cbe6a3f61aa41"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_h5public_8h.html#a3b079ecf932a5c599499cf7e298af160">herr_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#gabdb2cf7368eec0ad998cbe6a3f61aa41">H5Aiterate1</a> (<a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a> loc_id, unsigned *idx, <a class="el" href="_h5_apublic_8h.html#ae42c937252ed79a1ad4672f04adba750">H5A_operator1_t</a> op, void *op_data)</td></tr>
<tr class="memdesc:gabdb2cf7368eec0ad998cbe6a3f61aa41"><td class="mdescLeft">&#160;</td><td class="mdescRight">Calls a user's function for each attribute on an object.  <br /></td></tr>
<tr class="separator:gabdb2cf7368eec0ad998cbe6a3f61aa41"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gadaa85276f2731ad78462a6fd27118470" id="r_gadaa85276f2731ad78462a6fd27118470"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#gadaa85276f2731ad78462a6fd27118470">H5Aopen_idx</a> (<a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a> loc_id, unsigned idx)</td></tr>
<tr class="memdesc:gadaa85276f2731ad78462a6fd27118470"><td class="mdescLeft">&#160;</td><td class="mdescRight">Opens the attribute specified by its index.  <br /></td></tr>
<tr class="separator:gadaa85276f2731ad78462a6fd27118470"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5c05fade96b6b7e2299f56a5b1edb1c1" id="r_ga5c05fade96b6b7e2299f56a5b1edb1c1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ga5c05fade96b6b7e2299f56a5b1edb1c1">H5Aopen_name</a> (<a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a> loc_id, const char *name)</td></tr>
<tr class="memdesc:ga5c05fade96b6b7e2299f56a5b1edb1c1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Opens an attribute specified by name.  <br /></td></tr>
<tr class="separator:ga5c05fade96b6b7e2299f56a5b1edb1c1"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a id="ga4a76e4e5ab6eb0fd2aa7990d38d55f24" name="ga4a76e4e5ab6eb0fd2aa7990d38d55f24"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga4a76e4e5ab6eb0fd2aa7990d38d55f24">&#9670;&#160;</a></span>H5Acreate</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define H5Acreate&#160;&#160;&#160;<a class="el" href="#ga4f4e5248c09f689633079ed8afc0b308">H5Acreate2</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p><a class="el" href="#ga4a76e4e5ab6eb0fd2aa7990d38d55f24">H5Acreate()</a> is a macro that is mapped to either <a class="el" href="#gaa30f5f6c277d6c46f8aa31e89cdba085" title="Creates an attribute attached to a specified object.">H5Acreate1()</a> or <a class="el" href="#ga4f4e5248c09f689633079ed8afc0b308" title="Creates an attribute attached to a specified object.">H5Acreate2()</a>.<br  />
</p><dl class="section see"><dt>See also</dt><dd><a class="el" href="api-compat-macros.html">API Compatibility Macros</a> </dd></dl>

</div>
</div>
<a id="gab9dcfc543cd4282f32b8ea19e08ffa6c" name="gab9dcfc543cd4282f32b8ea19e08ffa6c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gab9dcfc543cd4282f32b8ea19e08ffa6c">&#9670;&#160;</a></span>H5Aiterate</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define H5Aiterate&#160;&#160;&#160;<a class="el" href="#ga9315a22b60468b6e996559b1b8a77251">H5Aiterate2</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p><a class="el" href="#gab9dcfc543cd4282f32b8ea19e08ffa6c">H5Aiterate()</a> is a macro that is mapped to either <a class="el" href="#gabdb2cf7368eec0ad998cbe6a3f61aa41" title="Calls a user&#39;s function for each attribute on an object.">H5Aiterate1()</a> or <a class="el" href="#ga9315a22b60468b6e996559b1b8a77251" title="Calls a user-defined function for each attribute on an object.">H5Aiterate2()</a>.<br  />
</p><dl class="section see"><dt>See also</dt><dd><a class="el" href="api-compat-macros.html">API Compatibility Macros</a> </dd></dl>

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a id="gaef4394b661e2c930879e9868e122bdda" name="gaef4394b661e2c930879e9868e122bdda"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaef4394b661e2c930879e9868e122bdda">&#9670;&#160;</a></span>H5Aclose()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_h5public_8h.html#a3b079ecf932a5c599499cf7e298af160">herr_t</a> H5Aclose </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a></td>          <td class="paramname"><span class="paramname"><em>attr_id</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Closes the specified attribute. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">attr_id</td><td>Attribute identifier</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Returns a non-negative value if successful; otherwise, returns a negative value.</dd></dl>
<p><a class="el" href="#gaef4394b661e2c930879e9868e122bdda" title="Closes the specified attribute.">H5Aclose()</a> terminates access to the attribute through <code>attr_id</code> and releases the identifier.</p>
<dl class="section user"><dt>Example</dt><dd><div class="fragment"><div class="line">    {</div>
<div class="line">        __label__ fail_acpl, fail_attr, fail_file;</div>
<div class="line">        <a class="code hl_typedef" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a> file, acpl, fspace, attr;</div>
<div class="line"> </div>
<div class="line">        <span class="keywordtype">unsigned</span> mode        = <a class="code hl_define" href="_h5_fpublic_8h.html#a5a2d6726f9ad8d2bca8df2b817e5ad6a">H5F_ACC_TRUNC</a>;</div>
<div class="line">        <span class="keywordtype">char</span>     file_name[] = <span class="stringliteral">&quot;f1.h5&quot;</span>;</div>
<div class="line">        <span class="comment">// attribute names can be arbitrary Unicode strings</span></div>
<div class="line">        <span class="keywordtype">char</span> attr_name[] = <span class="stringliteral">&quot;Χαρακτηριστικό&quot;</span>;</div>
<div class="line"> </div>
<div class="line">        <span class="keywordflow">if</span> ((file = <a class="code hl_function" href="group___h5_f.html#gae64b51ee9ac0781bc4ccc599d98387f4">H5Fcreate</a>(file_name, mode, <a class="code hl_define" href="_h5_ppublic_8h.html#afa85e97bfbf9bf1c58e39263846c568f">H5P_DEFAULT</a>, <a class="code hl_define" href="_h5_ppublic_8h.html#afa85e97bfbf9bf1c58e39263846c568f">H5P_DEFAULT</a>)) == <a class="code hl_define" href="_h5_ipublic_8h.html#a01eab13dccc91afd6909d74dccb780ba">H5I_INVALID_HID</a>) {</div>
<div class="line">            ret_val = EXIT_FAILURE;</div>
<div class="line">            <span class="keywordflow">goto</span> fail_file;</div>
<div class="line">        }</div>
<div class="line">        <span class="keywordflow">if</span> ((acpl = <a class="code hl_function" href="group___p_l_c_r.html#gaf1b11da01d4d45d788c45f8bc5f0cbfa">H5Pcreate</a>(<a class="code hl_define" href="_h5_ppublic_8h.html#aa0102211c679e031e2e9831b66c48a12">H5P_ATTRIBUTE_CREATE</a>)) == <a class="code hl_define" href="_h5_ipublic_8h.html#a01eab13dccc91afd6909d74dccb780ba">H5I_INVALID_HID</a>) {</div>
<div class="line">            ret_val = EXIT_FAILURE;</div>
<div class="line">            <span class="keywordflow">goto</span> fail_acpl;</div>
<div class="line">        }</div>
<div class="line">        <span class="comment">// use UTF-8 encoding for the attribute name</span></div>
<div class="line">        <span class="keywordflow">if</span> (<a class="code hl_function" href="group___a_c_p_l.html#gad4fa8e2d17236786f770cf17eef908cc">H5Pset_char_encoding</a>(acpl, <a class="code hl_enumvalue" href="_h5_tpublic_8h.html#a03755b8370672668ddc7063add28e71aa41685667f69bf81eb7de5dd5f452e658">H5T_CSET_UTF8</a>) &lt; 0) {</div>
<div class="line">            ret_val = EXIT_FAILURE;</div>
<div class="line">            <span class="keywordflow">goto</span> fail_fspace;</div>
<div class="line">        }</div>
<div class="line">        <span class="comment">// create a scalar (singleton) attribute</span></div>
<div class="line">        <span class="keywordflow">if</span> ((fspace = <a class="code hl_function" href="group___h5_s.html#gabee514327cba34ca9951b24fa14fb083">H5Screate</a>(<a class="code hl_enumvalue" href="_h5_spublic_8h.html#ae53f3c6a52563646fbac9ead8ecdbf0aaf6a34a2439db8aa7bb63ed0c4aaa5eb8">H5S_SCALAR</a>)) == <a class="code hl_define" href="_h5_ipublic_8h.html#a01eab13dccc91afd6909d74dccb780ba">H5I_INVALID_HID</a>) {</div>
<div class="line">            ret_val = EXIT_FAILURE;</div>
<div class="line">            <span class="keywordflow">goto</span> fail_fspace;</div>
<div class="line">        }</div>
<div class="line">        <span class="comment">// create an attribute on the root group</span></div>
<div class="line">        <span class="keywordflow">if</span> ((attr = <a class="code hl_function" href="#ga4f4e5248c09f689633079ed8afc0b308">H5Acreate2</a>(file, attr_name, <a class="code hl_define" href="group___p_d_t_s_t_d.html#ga8db8c9c2bcc457f9f8526c8fcb81218b">H5T_STD_I32LE</a>, fspace, acpl, <a class="code hl_define" href="_h5_ppublic_8h.html#afa85e97bfbf9bf1c58e39263846c568f">H5P_DEFAULT</a>)) ==</div>
<div class="line">            <a class="code hl_define" href="_h5_ipublic_8h.html#a01eab13dccc91afd6909d74dccb780ba">H5I_INVALID_HID</a>) {</div>
<div class="line">            ret_val = EXIT_FAILURE;</div>
<div class="line">            <span class="keywordflow">goto</span> fail_attr;</div>
<div class="line">        }</div>
<div class="line"> </div>
<div class="line">        <a class="code hl_function" href="#gaef4394b661e2c930879e9868e122bdda">H5Aclose</a>(attr);</div>
<div class="line">fail_attr:</div>
<div class="line">        <a class="code hl_function" href="group___h5_s.html#ga2b53128a39c8f104c1c9c2a91590fcc1">H5Sclose</a>(fspace);</div>
<div class="line">fail_fspace:</div>
<div class="line">        <a class="code hl_function" href="group___p_l_c_r.html#ga5dce61149211d3ef319452aa598887fb">H5Pclose</a>(acpl);</div>
<div class="line">fail_acpl:</div>
<div class="line">        <a class="code hl_function" href="group___h5_f.html#gac55cd91d80822e4f8c2a7f04ea71b124">H5Fclose</a>(file);</div>
<div class="line">fail_file:;</div>
<div class="line">    }</div>
</div><!-- fragment --></dd></dl>
<dl class="section since"><dt>Since</dt><dd>1.0.0</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="#ga4a76e4e5ab6eb0fd2aa7990d38d55f24">H5Acreate()</a>, <a class="el" href="#ga59863b205b6d93b2145f0fbca49656f7" title="Opens an attribute for an object specified by object identifier and attribute name.">H5Aopen()</a> </dd></dl>

</div>
</div>
<a id="gaa30f5f6c277d6c46f8aa31e89cdba085" name="gaa30f5f6c277d6c46f8aa31e89cdba085"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaa30f5f6c277d6c46f8aa31e89cdba085">&#9670;&#160;</a></span>H5Acreate1()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a> H5Acreate1 </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a></td>          <td class="paramname"><span class="paramname"><em>loc_id</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *</td>          <td class="paramname"><span class="paramname"><em>name</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a></td>          <td class="paramname"><span class="paramname"><em>type_id</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a></td>          <td class="paramname"><span class="paramname"><em>space_id</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a></td>          <td class="paramname"><span class="paramname"><em>acpl_id</em></span>&#160;)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Creates an attribute attached to a specified object. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">loc_id</td><td>Location identifier. The identifier may be that of a file, group, dataset, or named datatype. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">name</td><td>Name of attribute to locate and open </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">type_id</td><td>Identifier of attribute datatype </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">space_id</td><td>Dataspace identifier </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">acpl_id</td><td>Attribute creation property list identifier</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Returns an attribute identifier if successful; otherwise returns a negative value.</dd></dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000010">Deprecated</a></b></dt><dd>Superseded by <a class="el" href="#ga4f4e5248c09f689633079ed8afc0b308" title="Creates an attribute attached to a specified object.">H5Acreate2()</a>.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>The <code>acpl</code> parameter is currently not used; specify <a class="el" href="_h5_ppublic_8h.html#afa85e97bfbf9bf1c58e39263846c568f">H5P_DEFAULT</a>.</dd></dl>
<p><a class="el" href="#gaa30f5f6c277d6c46f8aa31e89cdba085" title="Creates an attribute attached to a specified object.">H5Acreate1()</a> creates an attribute, <code>name</code>, which is attached to the object specified by the identifier <code>loc_id</code>.</p>
<p>The attribute name, <code>name</code>, must be unique for the object.</p>
<p>The attribute is created with the specified datatype and dataspace, <code>type_id</code> and <code>space_id</code>.</p>
<dl class="section since"><dt>Since</dt><dd>1.8.0</dd></dl>
<dl class="section version"><dt>Version</dt><dd>1.8.0 The function <a class="el" href="#ga4a76e4e5ab6eb0fd2aa7990d38d55f24">H5Acreate()</a> was renamed to <a class="el" href="#gaa30f5f6c277d6c46f8aa31e89cdba085" title="Creates an attribute attached to a specified object.">H5Acreate1()</a> and deprecated in this release.</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="#gaef4394b661e2c930879e9868e122bdda" title="Closes the specified attribute.">H5Aclose()</a> </dd></dl>

</div>
</div>
<a id="ga4f4e5248c09f689633079ed8afc0b308" name="ga4f4e5248c09f689633079ed8afc0b308"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga4f4e5248c09f689633079ed8afc0b308">&#9670;&#160;</a></span>H5Acreate2()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a> H5Acreate2 </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a></td>          <td class="paramname"><span class="paramname"><em>loc_id</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *</td>          <td class="paramname"><span class="paramname"><em>attr_name</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a></td>          <td class="paramname"><span class="paramname"><em>type_id</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a></td>          <td class="paramname"><span class="paramname"><em>space_id</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a></td>          <td class="paramname"><span class="paramname"><em>acpl_id</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a></td>          <td class="paramname"><span class="paramname"><em>aapl_id</em></span>&#160;)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Creates an attribute attached to a specified object. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">loc_id</td><td>Location identifier. The identifier may be that of a file, group, dataset, or named datatype. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">attr_name</td><td>Name of attribute </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">type_id</td><td>Attribute datatype identifier </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">space_id</td><td>Dataspace identifier </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">acpl_id</td><td>Attribute creation property list identifier </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">aapl_id</td><td>Attribute access property list identifier</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Returns an attribute identifier if successful; otherwise returns a negative value.</dd></dl>
<p><a class="el" href="#ga4f4e5248c09f689633079ed8afc0b308" title="Creates an attribute attached to a specified object.">H5Acreate2()</a> creates an attribute, <code>attr_name</code>, which is attached to the object specified by the identifier <code>loc_id</code>.</p>
<p>The attribute name, <code>attr_name</code>, must be unique for the object.</p>
<p>The attribute is created with the specified datatype and dataspace, <code>type_id</code> and <code>space_id</code>.</p>
<dl class="section note"><dt>Note</dt><dd>The <code>aapl_id</code> parameter is currently not used; specify <a class="el" href="_h5_ppublic_8h.html#afa85e97bfbf9bf1c58e39263846c568f">H5P_DEFAULT</a>.</dd></dl>
<p>The attribute identifier returned by this function must be released with <a class="el" href="#gaef4394b661e2c930879e9868e122bdda" title="Closes the specified attribute.">H5Aclose()</a> or resource leaks will develop.</p>
<dl class="section note"><dt>Note</dt><dd>If <code>loc_id</code> is a file identifier, the attribute will be attached to that file's root group.</dd></dl>
<dl class="section user"><dt>Example</dt><dd><div class="fragment"><div class="line">    {</div>
<div class="line">        __label__ fail_acpl, fail_attr, fail_file;</div>
<div class="line">        <a class="code hl_typedef" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a> file, acpl, fspace, attr;</div>
<div class="line"> </div>
<div class="line">        <span class="keywordtype">unsigned</span> mode        = <a class="code hl_define" href="_h5_fpublic_8h.html#a5a2d6726f9ad8d2bca8df2b817e5ad6a">H5F_ACC_TRUNC</a>;</div>
<div class="line">        <span class="keywordtype">char</span>     file_name[] = <span class="stringliteral">&quot;f1.h5&quot;</span>;</div>
<div class="line">        <span class="comment">// attribute names can be arbitrary Unicode strings</span></div>
<div class="line">        <span class="keywordtype">char</span> attr_name[] = <span class="stringliteral">&quot;Χαρακτηριστικό&quot;</span>;</div>
<div class="line"> </div>
<div class="line">        <span class="keywordflow">if</span> ((file = <a class="code hl_function" href="group___h5_f.html#gae64b51ee9ac0781bc4ccc599d98387f4">H5Fcreate</a>(file_name, mode, <a class="code hl_define" href="_h5_ppublic_8h.html#afa85e97bfbf9bf1c58e39263846c568f">H5P_DEFAULT</a>, <a class="code hl_define" href="_h5_ppublic_8h.html#afa85e97bfbf9bf1c58e39263846c568f">H5P_DEFAULT</a>)) == <a class="code hl_define" href="_h5_ipublic_8h.html#a01eab13dccc91afd6909d74dccb780ba">H5I_INVALID_HID</a>) {</div>
<div class="line">            ret_val = EXIT_FAILURE;</div>
<div class="line">            <span class="keywordflow">goto</span> fail_file;</div>
<div class="line">        }</div>
<div class="line">        <span class="keywordflow">if</span> ((acpl = <a class="code hl_function" href="group___p_l_c_r.html#gaf1b11da01d4d45d788c45f8bc5f0cbfa">H5Pcreate</a>(<a class="code hl_define" href="_h5_ppublic_8h.html#aa0102211c679e031e2e9831b66c48a12">H5P_ATTRIBUTE_CREATE</a>)) == <a class="code hl_define" href="_h5_ipublic_8h.html#a01eab13dccc91afd6909d74dccb780ba">H5I_INVALID_HID</a>) {</div>
<div class="line">            ret_val = EXIT_FAILURE;</div>
<div class="line">            <span class="keywordflow">goto</span> fail_acpl;</div>
<div class="line">        }</div>
<div class="line">        <span class="comment">// use UTF-8 encoding for the attribute name</span></div>
<div class="line">        <span class="keywordflow">if</span> (<a class="code hl_function" href="group___a_c_p_l.html#gad4fa8e2d17236786f770cf17eef908cc">H5Pset_char_encoding</a>(acpl, <a class="code hl_enumvalue" href="_h5_tpublic_8h.html#a03755b8370672668ddc7063add28e71aa41685667f69bf81eb7de5dd5f452e658">H5T_CSET_UTF8</a>) &lt; 0) {</div>
<div class="line">            ret_val = EXIT_FAILURE;</div>
<div class="line">            <span class="keywordflow">goto</span> fail_fspace;</div>
<div class="line">        }</div>
<div class="line">        <span class="comment">// create a scalar (singleton) attribute</span></div>
<div class="line">        <span class="keywordflow">if</span> ((fspace = <a class="code hl_function" href="group___h5_s.html#gabee514327cba34ca9951b24fa14fb083">H5Screate</a>(<a class="code hl_enumvalue" href="_h5_spublic_8h.html#ae53f3c6a52563646fbac9ead8ecdbf0aaf6a34a2439db8aa7bb63ed0c4aaa5eb8">H5S_SCALAR</a>)) == <a class="code hl_define" href="_h5_ipublic_8h.html#a01eab13dccc91afd6909d74dccb780ba">H5I_INVALID_HID</a>) {</div>
<div class="line">            ret_val = EXIT_FAILURE;</div>
<div class="line">            <span class="keywordflow">goto</span> fail_fspace;</div>
<div class="line">        }</div>
<div class="line">        <span class="comment">// create an attribute on the root group</span></div>
<div class="line">        <span class="keywordflow">if</span> ((attr = <a class="code hl_function" href="#ga4f4e5248c09f689633079ed8afc0b308">H5Acreate2</a>(file, attr_name, <a class="code hl_define" href="group___p_d_t_s_t_d.html#ga8db8c9c2bcc457f9f8526c8fcb81218b">H5T_STD_I32LE</a>, fspace, acpl, <a class="code hl_define" href="_h5_ppublic_8h.html#afa85e97bfbf9bf1c58e39263846c568f">H5P_DEFAULT</a>)) ==</div>
<div class="line">            <a class="code hl_define" href="_h5_ipublic_8h.html#a01eab13dccc91afd6909d74dccb780ba">H5I_INVALID_HID</a>) {</div>
<div class="line">            ret_val = EXIT_FAILURE;</div>
<div class="line">            <span class="keywordflow">goto</span> fail_attr;</div>
<div class="line">        }</div>
<div class="line"> </div>
<div class="line">        <a class="code hl_function" href="#gaef4394b661e2c930879e9868e122bdda">H5Aclose</a>(attr);</div>
<div class="line">fail_attr:</div>
<div class="line">        <a class="code hl_function" href="group___h5_s.html#ga2b53128a39c8f104c1c9c2a91590fcc1">H5Sclose</a>(fspace);</div>
<div class="line">fail_fspace:</div>
<div class="line">        <a class="code hl_function" href="group___p_l_c_r.html#ga5dce61149211d3ef319452aa598887fb">H5Pclose</a>(acpl);</div>
<div class="line">fail_acpl:</div>
<div class="line">        <a class="code hl_function" href="group___h5_f.html#gac55cd91d80822e4f8c2a7f04ea71b124">H5Fclose</a>(file);</div>
<div class="line">fail_file:;</div>
<div class="line">    }</div>
</div><!-- fragment --></dd></dl>
<dl class="section since"><dt>Since</dt><dd>1.8.0</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="#gaef4394b661e2c930879e9868e122bdda" title="Closes the specified attribute.">H5Aclose()</a> </dd></dl>

</div>
</div>
<a id="ga004160c28e281455ec48aa7fe557ef8a" name="ga004160c28e281455ec48aa7fe557ef8a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga004160c28e281455ec48aa7fe557ef8a">&#9670;&#160;</a></span>H5Acreate_by_name()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a> H5Acreate_by_name </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a></td>          <td class="paramname"><span class="paramname"><em>loc_id</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *</td>          <td class="paramname"><span class="paramname"><em>obj_name</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *</td>          <td class="paramname"><span class="paramname"><em>attr_name</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a></td>          <td class="paramname"><span class="paramname"><em>type_id</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a></td>          <td class="paramname"><span class="paramname"><em>space_id</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a></td>          <td class="paramname"><span class="paramname"><em>acpl_id</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a></td>          <td class="paramname"><span class="paramname"><em>aapl_id</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a></td>          <td class="paramname"><span class="paramname"><em>lapl_id</em></span>&#160;)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Creates an attribute attached to a specified object. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">loc_id</td><td>Location identifier. The identifier may be that of a file, group, dataset, or named datatype. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">obj_name</td><td>Name, relative to <code>loc_id</code>, of object that attribute is to be attached to </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">attr_name</td><td>Attribute name </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">type_id</td><td>Attribute datatype identifier </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">space_id</td><td>Dataspace identifier </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">acpl_id</td><td>Attribute creation property list identifier </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">aapl_id</td><td>Attribute access property list identifier </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">lapl_id</td><td>Link access property list identifier</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Returns an attribute identifier if successful; otherwise returns a negative value.</dd></dl>
<p><a class="el" href="#ga004160c28e281455ec48aa7fe557ef8a" title="Creates an attribute attached to a specified object.">H5Acreate_by_name()</a> creates an attribute, <code>attr_name</code>, which is attached to the object specified by <code>loc_id</code> and <code>obj_name</code>.</p>
<p><code>loc_id</code> is a location identifier; <code>obj_name</code> is the object name relative to <code>loc_id</code>.</p>
<p>The attribute name, <code>attr_name</code>, must be unique for the object.</p>
<p>The attribute is created with the specified datatype and dataspace, <code>type_id</code> and <code>space_id</code>.</p>
<dl class="section note"><dt>Note</dt><dd>The <code>aapl_id</code> parameter is currently not used; specify <a class="el" href="_h5_ppublic_8h.html#afa85e97bfbf9bf1c58e39263846c568f">H5P_DEFAULT</a>.</dd></dl>
<p>The link access property list, <code>lapl_id</code>, may provide information regarding the properties of links required to access the object, <code>obj_name</code>.</p>
<dl class="section since"><dt>Since</dt><dd>1.8.0 </dd></dl>

</div>
</div>
<a id="gada9fa3d6db52329f1fd55662de6ff6ba" name="gada9fa3d6db52329f1fd55662de6ff6ba"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gada9fa3d6db52329f1fd55662de6ff6ba">&#9670;&#160;</a></span>H5Adelete()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_h5public_8h.html#a3b079ecf932a5c599499cf7e298af160">herr_t</a> H5Adelete </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a></td>          <td class="paramname"><span class="paramname"><em>loc_id</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *</td>          <td class="paramname"><span class="paramname"><em>attr_name</em></span>&#160;)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Deletes an attribute from a specified location. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">loc_id</td><td>Location identifier. The identifier may be that of a file, group, dataset, or named datatype. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">attr_name</td><td>Name of the attribute to delete</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Returns a non-negative value if successful; otherwise, returns a negative value.</dd></dl>
<p><a class="el" href="#gada9fa3d6db52329f1fd55662de6ff6ba" title="Deletes an attribute from a specified location.">H5Adelete()</a> removes the attribute specified by its name, <code>attr_name</code>, from a file, dataset, group, or named datatype.</p>
<dl class="section attention"><dt>Attention</dt><dd>This function should not be used when other attribute identifiers are open on <code>loc_id</code>. This may cause the internal indexes of the attributes to change and future writes to the open attributes to produce incorrect results.</dd></dl>
<dl class="section user"><dt>Example</dt><dd><div class="fragment"><div class="line">    {</div>
<div class="line">        __label__ fail_attr, fail_file;</div>
<div class="line">        <a class="code hl_typedef" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a> file;</div>
<div class="line"> </div>
<div class="line">        <span class="keywordtype">unsigned</span> mode        = <a class="code hl_define" href="_h5_fpublic_8h.html#a402673dec5c537b27a49a9a8bd6140b4">H5F_ACC_RDWR</a>;</div>
<div class="line">        <span class="keywordtype">char</span>     file_name[] = <span class="stringliteral">&quot;f1.h5&quot;</span>;</div>
<div class="line">        <span class="keywordtype">char</span>     attr_name[] = <span class="stringliteral">&quot;Χαρακτηριστικό&quot;</span>;</div>
<div class="line"> </div>
<div class="line">        <span class="keywordflow">if</span> ((file = <a class="code hl_function" href="group___h5_f.html#gaa3f4f877b9bb591f3880423ed2bf44bc">H5Fopen</a>(file_name, mode, <a class="code hl_define" href="_h5_ppublic_8h.html#afa85e97bfbf9bf1c58e39263846c568f">H5P_DEFAULT</a>)) == <a class="code hl_define" href="_h5_ipublic_8h.html#a01eab13dccc91afd6909d74dccb780ba">H5I_INVALID_HID</a>) {</div>
<div class="line">            ret_val = EXIT_FAILURE;</div>
<div class="line">            <span class="keywordflow">goto</span> fail_file;</div>
<div class="line">        }</div>
<div class="line">        <span class="comment">// delete the attribute</span></div>
<div class="line">        <span class="keywordflow">if</span> (<a class="code hl_function" href="#gada9fa3d6db52329f1fd55662de6ff6ba">H5Adelete</a>(file, attr_name) &lt; 0) {</div>
<div class="line">            ret_val = EXIT_FAILURE;</div>
<div class="line">            <span class="keywordflow">goto</span> fail_attr;</div>
<div class="line">        }</div>
<div class="line"> </div>
<div class="line">fail_attr:</div>
<div class="line">        <a class="code hl_function" href="group___h5_f.html#gac55cd91d80822e4f8c2a7f04ea71b124">H5Fclose</a>(file);</div>
<div class="line">fail_file:;</div>
<div class="line">    }</div>
</div><!-- fragment --></dd></dl>
<dl class="section since"><dt>Since</dt><dd>1.0.0 </dd></dl>

</div>
</div>
<a id="ga06711a4e77ff8ab49e427010fd38ac9e" name="ga06711a4e77ff8ab49e427010fd38ac9e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga06711a4e77ff8ab49e427010fd38ac9e">&#9670;&#160;</a></span>H5Adelete_by_idx()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_h5public_8h.html#a3b079ecf932a5c599499cf7e298af160">herr_t</a> H5Adelete_by_idx </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a></td>          <td class="paramname"><span class="paramname"><em>loc_id</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *</td>          <td class="paramname"><span class="paramname"><em>obj_name</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="_h5public_8h.html#a8203c78e10ab2d89d8bce688a31afad3">H5_index_t</a></td>          <td class="paramname"><span class="paramname"><em>idx_type</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="_h5public_8h.html#a6a6ddd1504d1ed61939d46d91d9441b9">H5_iter_order_t</a></td>          <td class="paramname"><span class="paramname"><em>order</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="_h5public_8h.html#a7f81cce70fb546af88da24d9285d3c1c">hsize_t</a></td>          <td class="paramname"><span class="paramname"><em>n</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a></td>          <td class="paramname"><span class="paramname"><em>lapl_id</em></span>&#160;)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Deletes an attribute from an object according to index order. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">loc_id</td><td>Location identifier. The identifier may be that of a file, group, dataset, or named datatype. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">obj_name</td><td>Name of object, relative to location, from which attribute is to be removed </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">idx_type</td><td>Type of index </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">order</td><td>Order in which to iterate over the index </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">n</td><td>Offset within the index </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">lapl_id</td><td>Link access property list identifier</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Returns a non-negative value if successful; otherwise, returns a negative value.</dd></dl>
<p><a class="el" href="#ga06711a4e77ff8ab49e427010fd38ac9e" title="Deletes an attribute from an object according to index order.">H5Adelete_by_idx()</a> removes an attribute specified by its location in an index, from an object.</p>
<p>The object from which the attribute is to be removed is specified by a location identifier and name, <code>loc_id</code> and <code>obj_name</code>, respectively.</p>
<p>The attribute to be removed is specified by a position in an index, <code>n</code>. The type of index is specified by <code>idx_type</code>. The order in which the index is to be traversed is specified by <code>order</code>. For example, if <code>idx_type</code>, <code>order</code>, and <code>n</code> are set to <a class="el" href="_h5public_8h.html#a8203c78e10ab2d89d8bce688a31afad3a644e6701706be4d37660864336c7bd3e">H5_INDEX_NAME</a>, <a class="el" href="_h5public_8h.html#a6a6ddd1504d1ed61939d46d91d9441b9a80c3e083c0a77063b1a66553decfcb08">H5_ITER_INC</a>, and 5, respectively, the fifth attribute in the lexicographic order of attribute names will be removed.</p>
<p>The link access property list, <code>lapl_id</code>, may provide information regarding the properties of links required to access the object, <code>obj_name</code>.</p>
<dl class="section since"><dt>Since</dt><dd>1.8.0 </dd></dl>

</div>
</div>
<a id="gacbf689308f851428dd641b64f5f94feb" name="gacbf689308f851428dd641b64f5f94feb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gacbf689308f851428dd641b64f5f94feb">&#9670;&#160;</a></span>H5Adelete_by_name()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_h5public_8h.html#a3b079ecf932a5c599499cf7e298af160">herr_t</a> H5Adelete_by_name </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a></td>          <td class="paramname"><span class="paramname"><em>loc_id</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *</td>          <td class="paramname"><span class="paramname"><em>obj_name</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *</td>          <td class="paramname"><span class="paramname"><em>attr_name</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a></td>          <td class="paramname"><span class="paramname"><em>lapl_id</em></span>&#160;)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Removes an attribute from a specified location. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">loc_id</td><td>Location identifier. The identifier may be that of a file, group, dataset, or named datatype. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">obj_name</td><td>Name of object, relative to location, from which attribute is to be removed </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">attr_name</td><td>Name of attribute to delete </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">lapl_id</td><td>Link access property list identifier</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Returns a non-negative value if successful; otherwise, returns a negative value.</dd></dl>
<p><a class="el" href="#gacbf689308f851428dd641b64f5f94feb" title="Removes an attribute from a specified location.">H5Adelete_by_name()</a> removes the attribute <code>attr_name</code> from an object specified by location and name, <code>loc_id</code> and <code>obj_name</code>, respectively.</p>
<p>The link access property list, <code>lapl_id</code>, may provide information regarding the properties of links required to access the object, <code>obj_name</code>.</p>
<dl class="section since"><dt>Since</dt><dd>1.8.0 </dd></dl>

</div>
</div>
<a id="ga293b5be270d90cd5e47f782ca9aec80b" name="ga293b5be270d90cd5e47f782ca9aec80b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga293b5be270d90cd5e47f782ca9aec80b">&#9670;&#160;</a></span>H5Aexists()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_h5public_8h.html#aa8f6c28736dbd0f18388c67911d38aca">htri_t</a> H5Aexists </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a></td>          <td class="paramname"><span class="paramname"><em>obj_id</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *</td>          <td class="paramname"><span class="paramname"><em>attr_name</em></span>&#160;)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Determines whether an attribute with a given name exists on an object. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">obj_id</td><td>Location identifier. The identifier may be that of a file, group, dataset, or named datatype. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">attr_name</td><td>Attribute name</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Returns zero (false), a positive (true) or a negative (failure) value.</dd></dl>
<p><a class="el" href="#ga293b5be270d90cd5e47f782ca9aec80b" title="Determines whether an attribute with a given name exists on an object.">H5Aexists()</a> determines whether the attribute <code>attr_name</code> exists on the object specified by <code>obj_id</code>.</p>
<dl class="section since"><dt>Since</dt><dd>1.8.0 </dd></dl>

</div>
</div>
<a id="gaa1d2305651a4524f6aa0f8b56eec1a37" name="gaa1d2305651a4524f6aa0f8b56eec1a37"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaa1d2305651a4524f6aa0f8b56eec1a37">&#9670;&#160;</a></span>H5Aexists_by_name()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_h5public_8h.html#aa8f6c28736dbd0f18388c67911d38aca">htri_t</a> H5Aexists_by_name </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a></td>          <td class="paramname"><span class="paramname"><em>obj_id</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *</td>          <td class="paramname"><span class="paramname"><em>obj_name</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *</td>          <td class="paramname"><span class="paramname"><em>attr_name</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a></td>          <td class="paramname"><span class="paramname"><em>lapl_id</em></span>&#160;)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Determines whether an attribute with a given name exists on an object. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">obj_id</td><td>Location identifier. The identifier may be that of a file, group, dataset, or named datatype. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">obj_name</td><td>Object name </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">attr_name</td><td>Attribute name </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">lapl_id</td><td>Link access property list identifier</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Returns zero (false), a positive (true) or a negative (failure) value.</dd></dl>
<p><a class="el" href="#gaa1d2305651a4524f6aa0f8b56eec1a37" title="Determines whether an attribute with a given name exists on an object.">H5Aexists_by_name()</a> determines whether the attribute <code>attr_name</code> exists on an object. That object is specified by its location and name, <code>loc_id</code> and <code>obj_name</code>, respectively.</p>
<p><code>loc_id</code> specifies a location in the file containing the object. <code>obj_name</code> is the name of the object to which the attribute is attached and can be a relative name, relative to <code>loc_id</code>, or an absolute name, based on the root group of the file.</p>
<p>The link access property list, <code>lapl_id</code>, may provide information regarding the properties of links required to access <code>obj_name</code>.</p>
<dl class="section since"><dt>Since</dt><dd>1.8.0 </dd></dl>

</div>
</div>
<a id="ga0f6b545850bd21f128904eff51df226d" name="ga0f6b545850bd21f128904eff51df226d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga0f6b545850bd21f128904eff51df226d">&#9670;&#160;</a></span>H5Aget_create_plist()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a> H5Aget_create_plist </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a></td>          <td class="paramname"><span class="paramname"><em>attr_id</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets an attribute creation property list identifier. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">attr_id</td><td>Attribute identifier</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Returns an attribute's creation property list identifier if successful; otherwise returns a negative value.</dd></dl>
<p><a class="el" href="#ga0f6b545850bd21f128904eff51df226d" title="Gets an attribute creation property list identifier.">H5Aget_create_plist()</a> returns an identifier for the attribute creation property list associated with the attribute specified by <code>attr_id</code>.</p>
<p>The creation property list identifier should be released with <a class="el" href="group___p_l_c_r.html#ga5dce61149211d3ef319452aa598887fb" title="Terminates access to a property list.">H5Pclose()</a> to prevent resource leaks.</p>
<dl class="section since"><dt>Since</dt><dd>1.8.0 </dd></dl>

</div>
</div>
<a id="gae3f1b7b87240b461f7827a8783acc08a" name="gae3f1b7b87240b461f7827a8783acc08a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae3f1b7b87240b461f7827a8783acc08a">&#9670;&#160;</a></span>H5Aget_info()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_h5public_8h.html#a3b079ecf932a5c599499cf7e298af160">herr_t</a> H5Aget_info </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a></td>          <td class="paramname"><span class="paramname"><em>attr_id</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="struct_h5_a__info__t.html">H5A_info_t</a> *</td>          <td class="paramname"><span class="paramname"><em>ainfo</em></span>&#160;)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Retrieves attribute information by attribute identifier. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">attr_id</td><td>Attribute identifier </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">ainfo</td><td>Attribute information struct</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Returns a non-negative value if successful; otherwise, returns a negative value.</dd></dl>
<p><a class="el" href="#gae3f1b7b87240b461f7827a8783acc08a" title="Retrieves attribute information by attribute identifier.">H5Aget_info()</a> retrieves attribute information, locating the attribute with an attribute identifier, <code>attr_id</code>. The attribute information is returned in the <code>ainfo</code> struct.</p>
<dl class="section since"><dt>Since</dt><dd>1.8.0 </dd></dl>

</div>
</div>
<a id="gad110910cb227c15fdca938a642714fe9" name="gad110910cb227c15fdca938a642714fe9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gad110910cb227c15fdca938a642714fe9">&#9670;&#160;</a></span>H5Aget_info_by_idx()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_h5public_8h.html#a3b079ecf932a5c599499cf7e298af160">herr_t</a> H5Aget_info_by_idx </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a></td>          <td class="paramname"><span class="paramname"><em>loc_id</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *</td>          <td class="paramname"><span class="paramname"><em>obj_name</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="_h5public_8h.html#a8203c78e10ab2d89d8bce688a31afad3">H5_index_t</a></td>          <td class="paramname"><span class="paramname"><em>idx_type</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="_h5public_8h.html#a6a6ddd1504d1ed61939d46d91d9441b9">H5_iter_order_t</a></td>          <td class="paramname"><span class="paramname"><em>order</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="_h5public_8h.html#a7f81cce70fb546af88da24d9285d3c1c">hsize_t</a></td>          <td class="paramname"><span class="paramname"><em>n</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="struct_h5_a__info__t.html">H5A_info_t</a> *</td>          <td class="paramname"><span class="paramname"><em>ainfo</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a></td>          <td class="paramname"><span class="paramname"><em>lapl_id</em></span>&#160;)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Retrieves attribute information by attribute index position. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">loc_id</td><td>Location identifier. The identifier may be that of a file, group, dataset, or named datatype. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">obj_name</td><td>Name of object to which attribute is attached, relative to location </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">idx_type</td><td>Type of index </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">order</td><td>Index traversal order </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">n</td><td>Attribute's position in index </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">ainfo</td><td>Struct containing returned attribute information </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">lapl_id</td><td>Link access property list identifier</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Returns a non-negative value if successful; otherwise, returns a negative value.</dd></dl>
<p><a class="el" href="#gad110910cb227c15fdca938a642714fe9" title="Retrieves attribute information by attribute index position.">H5Aget_info_by_idx()</a> retrieves information for an attribute that is attached to an object, which is specified by its location and name, <code>loc_id</code> and <code>obj_name</code>, respectively. The attribute is located by its index position, and the attribute information is returned in the <code>ainfo</code> struct.</p>
<p>The attribute is located by means of an index type, an index traversal order, and a position in the index, <code>idx_type</code>, <code>order</code> and <code>n</code>, respectively.</p>
<p>The link access property list, <code>lapl_id</code>, may provide information regarding the properties of links required to access the object, <code>obj_name</code>.</p>
<dl class="section since"><dt>Since</dt><dd>1.8.0 </dd></dl>

</div>
</div>
<a id="ga258f03e12b4f49ad33ba72d17a9e2faf" name="ga258f03e12b4f49ad33ba72d17a9e2faf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga258f03e12b4f49ad33ba72d17a9e2faf">&#9670;&#160;</a></span>H5Aget_info_by_name()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_h5public_8h.html#a3b079ecf932a5c599499cf7e298af160">herr_t</a> H5Aget_info_by_name </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a></td>          <td class="paramname"><span class="paramname"><em>loc_id</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *</td>          <td class="paramname"><span class="paramname"><em>obj_name</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *</td>          <td class="paramname"><span class="paramname"><em>attr_name</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="struct_h5_a__info__t.html">H5A_info_t</a> *</td>          <td class="paramname"><span class="paramname"><em>ainfo</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a></td>          <td class="paramname"><span class="paramname"><em>lapl_id</em></span>&#160;)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Retrieves attribute information by attribute name. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">loc_id</td><td>Location identifier. The identifier may be that of a file, group, dataset, or named datatype. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">obj_name</td><td>Name of the object to which an attribute is attached, relative to location </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">attr_name</td><td>Attribute name </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">ainfo</td><td>Struct containing returned attribute information </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">lapl_id</td><td>Link access property list identifier</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Returns a non-negative value if successful; otherwise, returns a negative value.</dd></dl>
<p><a class="el" href="#ga258f03e12b4f49ad33ba72d17a9e2faf" title="Retrieves attribute information by attribute name.">H5Aget_info_by_name()</a> retrieves information for an attribute, <code>attr_name</code>, that is attached to an object specified by its location and name, <code>loc_id</code> and <code>obj_name</code>, respectively. The attribute information is returned in the <code>ainfo</code> struct.</p>
<p>The link access property list, <code>lapl_id</code>, may provide information regarding the properties of links required to access the object, <code>obj_name</code>.</p>
<dl class="section since"><dt>Since</dt><dd>1.8.0 </dd></dl>

</div>
</div>
<a id="ga05e195aabab8c623b1c52009aeb99674" name="ga05e195aabab8c623b1c52009aeb99674"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga05e195aabab8c623b1c52009aeb99674">&#9670;&#160;</a></span>H5Aget_name()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_h5public_8h.html#af629ed855824cf5955b54529adf78ad6">ssize_t</a> H5Aget_name </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a></td>          <td class="paramname"><span class="paramname"><em>attr_id</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t</td>          <td class="paramname"><span class="paramname"><em>buf_size</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char *</td>          <td class="paramname"><span class="paramname"><em>buf</em></span>&#160;)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets an attribute name. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">attr_id</td><td>Attribute identifier </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">buf_size</td><td>The size of the buffer to store the name in </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">buf</td><td>Buffer to store name in</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Returns the length of the attribute's name, which may be longer than <code>buf_size</code>, if successful. Otherwise, returns a negative value.</dd></dl>
<p><a class="el" href="#ga05e195aabab8c623b1c52009aeb99674" title="Gets an attribute name.">H5Aget_name()</a> retrieves the name of an attribute specified by the identifier, <code>attr_id</code>. Up to <code>buf_size</code> characters are stored in <code>buf</code> followed by a \0 string terminator. If the name of the attribute is longer than (<code>buf_size</code> -1), the string terminator is stored in the last position of the buffer to properly terminate the string.</p>
<p>If the user only wants to retrieve the name length, the values 0 and NULL should be passed for the parameters <code>bufsize</code> and <code>buf</code>.</p>
<dl class="section since"><dt>Since</dt><dd>1.0.0 </dd></dl>

</div>
</div>
<a id="ga4c552b2db32371f8ea20d87475313fb6" name="ga4c552b2db32371f8ea20d87475313fb6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga4c552b2db32371f8ea20d87475313fb6">&#9670;&#160;</a></span>H5Aget_name_by_idx()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_h5public_8h.html#af629ed855824cf5955b54529adf78ad6">ssize_t</a> H5Aget_name_by_idx </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a></td>          <td class="paramname"><span class="paramname"><em>loc_id</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *</td>          <td class="paramname"><span class="paramname"><em>obj_name</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="_h5public_8h.html#a8203c78e10ab2d89d8bce688a31afad3">H5_index_t</a></td>          <td class="paramname"><span class="paramname"><em>idx_type</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="_h5public_8h.html#a6a6ddd1504d1ed61939d46d91d9441b9">H5_iter_order_t</a></td>          <td class="paramname"><span class="paramname"><em>order</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="_h5public_8h.html#a7f81cce70fb546af88da24d9285d3c1c">hsize_t</a></td>          <td class="paramname"><span class="paramname"><em>n</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char *</td>          <td class="paramname"><span class="paramname"><em>name</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t</td>          <td class="paramname"><span class="paramname"><em>size</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a></td>          <td class="paramname"><span class="paramname"><em>lapl_id</em></span>&#160;)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets an attribute name by attribute index position. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">loc_id</td><td>Location identifier. The identifier may be that of a file, group, dataset, or named datatype. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">obj_name</td><td>Name of object to which attribute is attached, relative to location </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">idx_type</td><td>Type of index </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">order</td><td>Index traversal order </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">n</td><td>Attribute's position in index </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">name</td><td>Attribute name </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">size</td><td>Size, in bytes, of attribute name </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">lapl_id</td><td>Link access property list identifier</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Returns attribute name size, in bytes, if successful; otherwise, returns a negative value.</dd></dl>
<p><a class="el" href="#ga4c552b2db32371f8ea20d87475313fb6" title="Gets an attribute name by attribute index position.">H5Aget_name_by_idx()</a> retrieves the name of an attribute that is attached to an object, which is specified by its location and name, <code>loc_id</code> and <code>obj_name</code>, respectively. The attribute is located by its index position, the size of the name is specified in <code>size</code>, and the attribute name is returned in <code>name</code>.</p>
<p>The attribute is located by means of an index type, an index traversal order, and a position in the index, <code>idx_type</code>, <code>order</code> and <code>n</code>, respectively.</p>
<p>If the attribute name's size is unknown, the values 0 and NULL can be passed in for the parameters <code>size</code> and <code>name</code>. The function's return value will provide the correct value for <code>size</code>.</p>
<p>The link access property list, <code>lapl_id</code>, may provide information regarding the properties of links required to access the object, <code>obj_name</code>.</p>
<dl class="section since"><dt>Since</dt><dd>1.8.0 </dd></dl>

</div>
</div>
<a id="gaadd809fc16238754105bbddd20bcdde1" name="gaadd809fc16238754105bbddd20bcdde1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaadd809fc16238754105bbddd20bcdde1">&#9670;&#160;</a></span>H5Aget_num_attrs()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int H5Aget_num_attrs </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a></td>          <td class="paramname"><span class="paramname"><em>loc_id</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Determines the number of attributes attached to an object. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">loc_id</td><td>Location identifier. The identifier may be that of a file, group, dataset, or named datatype.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Returns the number of attributes if successful; otherwise, returns a negative value.</dd></dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000011">Deprecated</a></b></dt><dd>Superseded by <a class="el" href="group___h5_o.html#gaf4f302a33faba9e1c2b5f64c62ca4ed5">H5Oget_info()</a>, <a class="el" href="group___h5_o.html#ga16d8ac07f9244cfccb42b5f309ca6b3c">H5Oget_info_by_name()</a>, and <a class="el" href="group___h5_o.html#gafe764884e1530f86079288dd5895a7bd">H5Oget_info_by_idx()</a>.</dd></dl>
<p><a class="el" href="#gaadd809fc16238754105bbddd20bcdde1" title="Determines the number of attributes attached to an object.">H5Aget_num_attrs()</a> returns the number of attributes attached to the object specified by its identifier, <code>loc_id</code>.</p>
<dl class="section since"><dt>Since</dt><dd>1.0.0 </dd></dl>

</div>
</div>
<a id="ga9e21e544119d03f9342530b45a71d74d" name="ga9e21e544119d03f9342530b45a71d74d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga9e21e544119d03f9342530b45a71d74d">&#9670;&#160;</a></span>H5Aget_space()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a> H5Aget_space </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a></td>          <td class="paramname"><span class="paramname"><em>attr_id</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets a copy of the dataspace for an attribute. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">attr_id</td><td>Attribute identifier</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Returns an attribute dataspace identifier if successful; otherwise returns a negative value.</dd></dl>
<p><a class="el" href="#ga9e21e544119d03f9342530b45a71d74d" title="Gets a copy of the dataspace for an attribute.">H5Aget_space()</a> retrieves a copy of the dataspace for an attribute. The dataspace identifier returned from this function must be released with <a class="el" href="group___h5_s.html#ga2b53128a39c8f104c1c9c2a91590fcc1" title="Releases and terminates access to a dataspace.">H5Sclose()</a> or resource leaks will develop.</p>
<dl class="section since"><dt>Since</dt><dd>1.0.0 </dd></dl>

</div>
</div>
<a id="gabd11c8e11db0adde706e41a24a832f06" name="gabd11c8e11db0adde706e41a24a832f06"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gabd11c8e11db0adde706e41a24a832f06">&#9670;&#160;</a></span>H5Aget_storage_size()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_h5public_8h.html#a7f81cce70fb546af88da24d9285d3c1c">hsize_t</a> H5Aget_storage_size </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a></td>          <td class="paramname"><span class="paramname"><em>attr_id</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the amount of storage used to store an attribute. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">attr_id</td><td>Attribute identifier</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Returns the amount of storage size allocated for the attribute; otherwise, returns 0 (zero).</dd></dl>
<p><a class="el" href="#gabd11c8e11db0adde706e41a24a832f06" title="Returns the amount of storage used to store an attribute.">H5Aget_storage_size()</a> returns the amount of storage that is required for the specified attribute, <code>attr_id</code>.</p>
<dl class="section since"><dt>Since</dt><dd>1.6.0 </dd></dl>

</div>
</div>
<a id="ga0b070b714b2e535df2e1cb3005026a44" name="ga0b070b714b2e535df2e1cb3005026a44"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga0b070b714b2e535df2e1cb3005026a44">&#9670;&#160;</a></span>H5Aget_type()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a> H5Aget_type </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a></td>          <td class="paramname"><span class="paramname"><em>attr_id</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets an attribute's datatype. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">attr_id</td><td>Attribute identifier</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Returns a datatype identifier if successful; otherwise returns <a class="el" href="_h5_ipublic_8h.html#a01eab13dccc91afd6909d74dccb780ba">H5I_INVALID_HID</a>.</dd></dl>
<p><a class="el" href="#ga0b070b714b2e535df2e1cb3005026a44" title="Gets an attribute&#39;s datatype.">H5Aget_type()</a> retrieves a copy of the attribute's datatype. The datatype is reopened if it is a named type before returning it to the application. The datatypes returned by this function are always read-only.</p>
<p>The datatype identifier returned from this function must be released with <a class="el" href="group___h5_t.html#gafcba4db244f6a4d71e99c6e72b8678f0" title="Releases a datatype.">H5Tclose()</a> or resource leaks will develop.</p>
<dl class="section since"><dt>Since</dt><dd>1.0.0 </dd></dl>

</div>
</div>
<a id="gabdb2cf7368eec0ad998cbe6a3f61aa41" name="gabdb2cf7368eec0ad998cbe6a3f61aa41"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gabdb2cf7368eec0ad998cbe6a3f61aa41">&#9670;&#160;</a></span>H5Aiterate1()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_h5public_8h.html#a3b079ecf932a5c599499cf7e298af160">herr_t</a> H5Aiterate1 </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a></td>          <td class="paramname"><span class="paramname"><em>loc_id</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned *</td>          <td class="paramname"><span class="paramname"><em>idx</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="_h5_apublic_8h.html#ae42c937252ed79a1ad4672f04adba750">H5A_operator1_t</a></td>          <td class="paramname"><span class="paramname"><em>op</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *</td>          <td class="paramname"><span class="paramname"><em>op_data</em></span>&#160;)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Calls a user's function for each attribute on an object. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">loc_id</td><td>Location identifier </td></tr>
    <tr><td class="paramdir">[in,out]</td><td class="paramname">idx</td><td>Starting (in) and ending (out) attribute index </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">op</td><td>User's function to pass each attribute to </td></tr>
    <tr><td class="paramdir">[in,out]</td><td class="paramname">op_data</td><td>User's data to pass through to the iterator operator function</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Returns a non-negative value if successful; otherwise, returns a negative value.</dd></dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000012">Deprecated</a></b></dt><dd>Superseded by <a class="el" href="#ga9315a22b60468b6e996559b1b8a77251" title="Calls a user-defined function for each attribute on an object.">H5Aiterate2()</a>.</dd></dl>
<p><a class="el" href="#gabdb2cf7368eec0ad998cbe6a3f61aa41" title="Calls a user&#39;s function for each attribute on an object.">H5Aiterate1()</a> iterates over the attributes of the object specified by its identifier, <code>loc_id</code>. The object can be a group, dataset, or named datatype. For each attribute of the object, the <code>op_data</code> and some additional information specified below are passed to the operator function <code>op</code>. The iteration begins with the attribute specified by its index, <code>idx</code>; the index for the next attribute to be processed by the operator, <code>op</code>, is returned in <code>idx</code>. If <code>idx</code> is the null pointer, then all attributes are processed.</p>
<dl class="section warning"><dt>Warning</dt><dd>Adding or removing attributes to the object during iteration will lead to undefined behavior.</dd></dl>
<dl class="section version"><dt>Version</dt><dd>1.8.0 The function <code>H5Aiterate</code> was renamed to <a class="el" href="#gabdb2cf7368eec0ad998cbe6a3f61aa41" title="Calls a user&#39;s function for each attribute on an object.">H5Aiterate1()</a> and deprecated in this release. </dd></dl>
<dl class="section since"><dt>Since</dt><dd>1.0.0 </dd></dl>

</div>
</div>
<a id="ga9315a22b60468b6e996559b1b8a77251" name="ga9315a22b60468b6e996559b1b8a77251"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga9315a22b60468b6e996559b1b8a77251">&#9670;&#160;</a></span>H5Aiterate2()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_h5public_8h.html#a3b079ecf932a5c599499cf7e298af160">herr_t</a> H5Aiterate2 </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a></td>          <td class="paramname"><span class="paramname"><em>loc_id</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="_h5public_8h.html#a8203c78e10ab2d89d8bce688a31afad3">H5_index_t</a></td>          <td class="paramname"><span class="paramname"><em>idx_type</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="_h5public_8h.html#a6a6ddd1504d1ed61939d46d91d9441b9">H5_iter_order_t</a></td>          <td class="paramname"><span class="paramname"><em>order</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="_h5public_8h.html#a7f81cce70fb546af88da24d9285d3c1c">hsize_t</a> *</td>          <td class="paramname"><span class="paramname"><em>idx</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="_h5_apublic_8h.html#a28fef0ded9a6c0eb12334c0d15dc3e74">H5A_operator2_t</a></td>          <td class="paramname"><span class="paramname"><em>op</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *</td>          <td class="paramname"><span class="paramname"><em>op_data</em></span>&#160;)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Calls a user-defined function for each attribute on an object. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">loc_id</td><td>Location identifier. The identifier may be that of a file, group, dataset, or named datatype. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">idx_type</td><td>Type of index </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">order</td><td>Order in which to iterate over index </td></tr>
    <tr><td class="paramdir">[in,out]</td><td class="paramname">idx</td><td>Initial and returned offset within index </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">op</td><td>User-defined function to pass each attribute to </td></tr>
    <tr><td class="paramdir">[in,out]</td><td class="paramname">op_data</td><td>User data to pass through to and to be returned by iterator operator function</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Returns a non-negative value if successful; otherwise, returns a negative value. Further note that this function returns the return value of the last operator if it was non-zero, which can be a negative value, zero if all attributes were processed, or a positive value indicating short-circuit success.</dd></dl>
<p><a class="el" href="#ga9315a22b60468b6e996559b1b8a77251" title="Calls a user-defined function for each attribute on an object.">H5Aiterate2()</a> iterates over the attributes attached to a dataset, named datatype, or group, as specified by <code>loc_id</code>. For each attribute, user-provided data, <code>op_data</code>, with additional information, as defined below, is passed to a user-defined function, <code>op</code>, which operates on that attribute.</p>
<p>The order of the iteration and the attributes iterated over are specified by three parameters: the index type, <code>idx_type</code>; the order in which the index is to be traversed, <code>order</code>; and the attribute's position in the index, <code>idx</code>. The next attribute to be operated on is specified by <code>idx</code>, a position in the index.</p>
<p>For example, if <code>idx_type</code>, <code>order</code>, and <code>idx</code> are set to <a class="el" href="_h5public_8h.html#a8203c78e10ab2d89d8bce688a31afad3a644e6701706be4d37660864336c7bd3e">H5_INDEX_NAME</a>, <a class="el" href="_h5public_8h.html#a6a6ddd1504d1ed61939d46d91d9441b9a80c3e083c0a77063b1a66553decfcb08">H5_ITER_INC</a>, and 5, respectively, the attribute in question is the fifth attribute from the beginning of the alphanumeric index of attribute names. If <code>order</code> were set to <a class="el" href="_h5public_8h.html#a6a6ddd1504d1ed61939d46d91d9441b9a2f123d7a4d68054e8aa2d0f1d0a3fcd2">H5_ITER_DEC</a>, it would be the fifth attribute from the end of the index.</p>
<p>The parameter <code>idx</code> is passed in on an <a class="el" href="#ga9315a22b60468b6e996559b1b8a77251" title="Calls a user-defined function for each attribute on an object.">H5Aiterate2()</a> call with one value and may be returned with another value. The value passed in identifies the parameter to be operated on first; the value returned identifies the parameter to be operated on in the next step of the iteration.</p>
<dl class="section note"><dt>Note</dt><dd>This function is also available through the <a class="el" href="#gab9dcfc543cd4282f32b8ea19e08ffa6c">H5Aiterate()</a> macro.</dd></dl>
<dl class="section warning"><dt>Warning</dt><dd>Adding or removing attributes to the object during iteration will lead to undefined behavior.</dd></dl>
<dl class="section since"><dt>Since</dt><dd>1.8.0 </dd></dl>

</div>
</div>
<a id="ga75db973d69b61f673f5cdf21ac624cef" name="ga75db973d69b61f673f5cdf21ac624cef"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga75db973d69b61f673f5cdf21ac624cef">&#9670;&#160;</a></span>H5Aiterate_by_name()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_h5public_8h.html#a3b079ecf932a5c599499cf7e298af160">herr_t</a> H5Aiterate_by_name </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a></td>          <td class="paramname"><span class="paramname"><em>loc_id</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *</td>          <td class="paramname"><span class="paramname"><em>obj_name</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="_h5public_8h.html#a8203c78e10ab2d89d8bce688a31afad3">H5_index_t</a></td>          <td class="paramname"><span class="paramname"><em>idx_type</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="_h5public_8h.html#a6a6ddd1504d1ed61939d46d91d9441b9">H5_iter_order_t</a></td>          <td class="paramname"><span class="paramname"><em>order</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="_h5public_8h.html#a7f81cce70fb546af88da24d9285d3c1c">hsize_t</a> *</td>          <td class="paramname"><span class="paramname"><em>idx</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="_h5_apublic_8h.html#a28fef0ded9a6c0eb12334c0d15dc3e74">H5A_operator2_t</a></td>          <td class="paramname"><span class="paramname"><em>op</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *</td>          <td class="paramname"><span class="paramname"><em>op_data</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a></td>          <td class="paramname"><span class="paramname"><em>lapl_id</em></span>&#160;)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Calls user-defined function for each attribute on an object. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">loc_id</td><td>Location identifier. The identifier may be that of a file, group, dataset, or named datatype. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">obj_name</td><td>Name of object, relative to location </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">idx_type</td><td>Type of index </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">order</td><td>Order in which to iterate over index </td></tr>
    <tr><td class="paramdir">[in,out]</td><td class="paramname">idx</td><td>Initial and returned offset within index </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">op</td><td>User-defined function to pass each attribute to </td></tr>
    <tr><td class="paramdir">[in,out]</td><td class="paramname">op_data</td><td>User data to pass through to and to be returned by iterator operator function </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">lapl_id</td><td>Link access property list identifier</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Returns a non-negative value if successful; otherwise, returns a negative value. Further note that this function returns the return value of the last operator if it is non-zero, which can be a negative value, zero if all attributes were processed, or a positive value indicating short-circuit success.</dd></dl>
<p><a class="el" href="#ga75db973d69b61f673f5cdf21ac624cef" title="Calls user-defined function for each attribute on an object.">H5Aiterate_by_name()</a> iterates over the attributes attached to the dataset or group specified with <code>loc_id</code> and <code>obj_name</code>. For each attribute, user-provided data, <code>op_data</code>, with additional information, as defined below, is passed to a user-defined function, <code>op</code>, which operates on that attribute.</p>
<p>The order of the iteration and the attributes iterated over are specified by three parameters: the index type, <code>idx_type</code>; the order in which the index is to be traversed, <code>order</code>; and the attribute's position in the index, <code>idx</code>. The next attribute to be operated on is specified by <code>idx</code>, a position in the index.</p>
<p>For example, if <code>idx_type</code>, <code>order</code>, and <code>idx</code> are set to <a class="el" href="_h5public_8h.html#a8203c78e10ab2d89d8bce688a31afad3a644e6701706be4d37660864336c7bd3e">H5_INDEX_NAME</a>, <a class="el" href="_h5public_8h.html#a6a6ddd1504d1ed61939d46d91d9441b9a80c3e083c0a77063b1a66553decfcb08">H5_ITER_INC</a>, and 5, respectively, the attribute in question is the fifth attribute from the beginning of the alphanumeric index of attribute names. If <code>order</code> were set to <a class="el" href="_h5public_8h.html#a6a6ddd1504d1ed61939d46d91d9441b9a2f123d7a4d68054e8aa2d0f1d0a3fcd2">H5_ITER_DEC</a>, it would be the fifth attribute from the end of the index.</p>
<p>The parameter <code>idx</code> is passed in on an <a class="el" href="#ga75db973d69b61f673f5cdf21ac624cef" title="Calls user-defined function for each attribute on an object.">H5Aiterate_by_name()</a> call with one value and may be returned with another value. The value passed in identifies the parameter to be operated on first; the value returned identifies the parameter to be operated on in the next step of the iteration.</p>
<p>The link access property list, <code>lapl_id</code>, may provide information regarding the properties of links required to access the object, <code>obj_name</code>.</p>
<dl class="section warning"><dt>Warning</dt><dd>Adding or removing attributes to the object during iteration will lead to undefined behavior.</dd></dl>
<dl class="section since"><dt>Since</dt><dd>1.8.0 </dd></dl>

</div>
</div>
<a id="ga59863b205b6d93b2145f0fbca49656f7" name="ga59863b205b6d93b2145f0fbca49656f7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga59863b205b6d93b2145f0fbca49656f7">&#9670;&#160;</a></span>H5Aopen()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a> H5Aopen </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a></td>          <td class="paramname"><span class="paramname"><em>obj_id</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *</td>          <td class="paramname"><span class="paramname"><em>attr_name</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a></td>          <td class="paramname"><span class="paramname"><em>aapl_id</em></span>&#160;)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Opens an attribute for an object specified by object identifier and attribute name. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">obj_id</td><td>Location identifier. The identifier may be that of a file, group, dataset, or named datatype. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">attr_name</td><td>Name of attribute to open </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">aapl_id</td><td>Attribute access property list identifier</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Returns an attribute identifier if successful; otherwise returns a negative value.</dd></dl>
<p><a class="el" href="#ga59863b205b6d93b2145f0fbca49656f7" title="Opens an attribute for an object specified by object identifier and attribute name.">H5Aopen()</a> opens an existing attribute, <code>attr_name</code>, that is attached to the object specified by an object identifier, <code>obj_id</code>.</p>
<dl class="section note"><dt>Note</dt><dd>The <code>aapl_id</code> parameter is currently not used; specify <a class="el" href="_h5_ppublic_8h.html#afa85e97bfbf9bf1c58e39263846c568f">H5P_DEFAULT</a>.</dd></dl>
<p>This function, <a class="el" href="#gab1451cdff4f77dcf9feaee83c8179b2d" title="Opens the nth attribute attached to an object.">H5Aopen_by_idx()</a> or <a class="el" href="#gadb49a0b5b9798d2e944d877adba8ae10" title="Opens an attribute for an object by object name and attribute name.">H5Aopen_by_name()</a> must be called before the attribute can be accessed for any further purpose, including reading, writing, or any modification.</p>
<p>The attribute identifier returned by this function must be released with <a class="el" href="#gaef4394b661e2c930879e9868e122bdda" title="Closes the specified attribute.">H5Aclose()</a> or resource leaks will develop.</p>
<dl class="section user"><dt>Example</dt><dd><div class="fragment"><div class="line">    {</div>
<div class="line">        __label__ fail_attr, fail_file;</div>
<div class="line">        <a class="code hl_typedef" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a> file, attr;</div>
<div class="line"> </div>
<div class="line">        <span class="keywordtype">unsigned</span> mode        = <a class="code hl_define" href="_h5_fpublic_8h.html#a1c406ffa89f4acf5a332144a2683d394">H5F_ACC_RDONLY</a>;</div>
<div class="line">        <span class="keywordtype">char</span>     file_name[] = <span class="stringliteral">&quot;f1.h5&quot;</span>;</div>
<div class="line">        <span class="keywordtype">char</span>     attr_name[] = <span class="stringliteral">&quot;Χαρακτηριστικό&quot;</span>;</div>
<div class="line">        <span class="keywordtype">int</span>      value;</div>
<div class="line"> </div>
<div class="line">        <span class="keywordflow">if</span> ((file = <a class="code hl_function" href="group___h5_f.html#gaa3f4f877b9bb591f3880423ed2bf44bc">H5Fopen</a>(file_name, mode, <a class="code hl_define" href="_h5_ppublic_8h.html#afa85e97bfbf9bf1c58e39263846c568f">H5P_DEFAULT</a>)) == <a class="code hl_define" href="_h5_ipublic_8h.html#a01eab13dccc91afd6909d74dccb780ba">H5I_INVALID_HID</a>) {</div>
<div class="line">            ret_val = EXIT_FAILURE;</div>
<div class="line">            <span class="keywordflow">goto</span> fail_file;</div>
<div class="line">        }</div>
<div class="line">        <span class="keywordflow">if</span> ((attr = <a class="code hl_function" href="#ga59863b205b6d93b2145f0fbca49656f7">H5Aopen</a>(file, attr_name, <a class="code hl_define" href="_h5_ppublic_8h.html#afa85e97bfbf9bf1c58e39263846c568f">H5P_DEFAULT</a>)) == <a class="code hl_define" href="_h5_ipublic_8h.html#a01eab13dccc91afd6909d74dccb780ba">H5I_INVALID_HID</a>) {</div>
<div class="line">            ret_val = EXIT_FAILURE;</div>
<div class="line">            <span class="keywordflow">goto</span> fail_attr;</div>
<div class="line">        }</div>
<div class="line">        <span class="comment">// read the attribute value</span></div>
<div class="line">        <span class="keywordflow">if</span> (<a class="code hl_function" href="#gaacb27a997f7c98e8a833d0fd63b58f1c">H5Aread</a>(attr, <a class="code hl_define" href="group___p_d_t_n_a_t.html#ga3cf93ffc6782be68070ef8e00f219ec2">H5T_NATIVE_INT</a>, &amp;value) &lt; 0)</div>
<div class="line">            ret_val = EXIT_FAILURE;</div>
<div class="line"> </div>
<div class="line">        <span class="comment">// do something w/ the attribute value</span></div>
<div class="line"> </div>
<div class="line">        <a class="code hl_function" href="#gaef4394b661e2c930879e9868e122bdda">H5Aclose</a>(attr);</div>
<div class="line">fail_attr:</div>
<div class="line">        <a class="code hl_function" href="group___h5_f.html#gac55cd91d80822e4f8c2a7f04ea71b124">H5Fclose</a>(file);</div>
<div class="line">fail_file:;</div>
<div class="line">    }</div>
</div><!-- fragment --></dd></dl>
<dl class="section since"><dt>Since</dt><dd>1.8.0</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="#gaef4394b661e2c930879e9868e122bdda" title="Closes the specified attribute.">H5Aclose()</a>, <a class="el" href="#ga4a76e4e5ab6eb0fd2aa7990d38d55f24">H5Acreate()</a> </dd></dl>

</div>
</div>
<a id="gab1451cdff4f77dcf9feaee83c8179b2d" name="gab1451cdff4f77dcf9feaee83c8179b2d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gab1451cdff4f77dcf9feaee83c8179b2d">&#9670;&#160;</a></span>H5Aopen_by_idx()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a> H5Aopen_by_idx </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a></td>          <td class="paramname"><span class="paramname"><em>loc_id</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *</td>          <td class="paramname"><span class="paramname"><em>obj_name</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="_h5public_8h.html#a8203c78e10ab2d89d8bce688a31afad3">H5_index_t</a></td>          <td class="paramname"><span class="paramname"><em>idx_type</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="_h5public_8h.html#a6a6ddd1504d1ed61939d46d91d9441b9">H5_iter_order_t</a></td>          <td class="paramname"><span class="paramname"><em>order</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="_h5public_8h.html#a7f81cce70fb546af88da24d9285d3c1c">hsize_t</a></td>          <td class="paramname"><span class="paramname"><em>n</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a></td>          <td class="paramname"><span class="paramname"><em>aapl_id</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a></td>          <td class="paramname"><span class="paramname"><em>lapl_id</em></span>&#160;)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Opens the nth attribute attached to an object. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">loc_id</td><td>Location identifier </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">obj_name</td><td>Name of object to which attribute is attached, relative to location </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">idx_type</td><td>Type of index </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">order</td><td>Index traversal order </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">n</td><td>Attribute's position in index </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">aapl_id</td><td>Attribute access property list identifier </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">lapl_id</td><td>Link access property list identifier</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Returns an attribute identifier if successful; otherwise returns a negative value.</dd></dl>
<p><a class="el" href="#gab1451cdff4f77dcf9feaee83c8179b2d" title="Opens the nth attribute attached to an object.">H5Aopen_by_idx()</a> opens an existing attribute that is attached to an object specified by location and name, <code>loc_id</code> and <code>obj_name</code>, respectively.</p>
<p>The attribute is identified by an index type, an index traversal order, and a position in the index, <code>idx_type</code>, <code>order</code> and <code>n</code>, respectively.</p>
<dl class="section note"><dt>Note</dt><dd>The <code>aapl_id</code> parameter is currently not used; specify <a class="el" href="_h5_ppublic_8h.html#afa85e97bfbf9bf1c58e39263846c568f">H5P_DEFAULT</a>.</dd></dl>
<p>The link access property list, <code>lapl_id</code>, may provide information regarding the properties of links required to access the object, <code>obj_name</code>.</p>
<p>This function, <a class="el" href="#ga59863b205b6d93b2145f0fbca49656f7" title="Opens an attribute for an object specified by object identifier and attribute name.">H5Aopen()</a>, or <a class="el" href="#gadb49a0b5b9798d2e944d877adba8ae10" title="Opens an attribute for an object by object name and attribute name.">H5Aopen_by_name()</a> must be called before an attribute can be accessed for any further purpose, including reading, writing, or any modification.</p>
<p>The attribute identifier returned by this function must be released with <a class="el" href="#gaef4394b661e2c930879e9868e122bdda" title="Closes the specified attribute.">H5Aclose()</a> or resource leaks will develop.</p>
<dl class="section since"><dt>Since</dt><dd>1.8.0 </dd></dl>

</div>
</div>
<a id="gadb49a0b5b9798d2e944d877adba8ae10" name="gadb49a0b5b9798d2e944d877adba8ae10"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gadb49a0b5b9798d2e944d877adba8ae10">&#9670;&#160;</a></span>H5Aopen_by_name()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a> H5Aopen_by_name </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a></td>          <td class="paramname"><span class="paramname"><em>loc_id</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *</td>          <td class="paramname"><span class="paramname"><em>obj_name</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *</td>          <td class="paramname"><span class="paramname"><em>attr_name</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a></td>          <td class="paramname"><span class="paramname"><em>aapl_id</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a></td>          <td class="paramname"><span class="paramname"><em>lapl_id</em></span>&#160;)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Opens an attribute for an object by object name and attribute name. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">loc_id</td><td>Location identifier. The identifier may be that of a file, group, dataset, or named datatype. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">obj_name</td><td>Name of object to which attribute is attached, relative to <code>loc_id</code> </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">attr_name</td><td>Name of attribute to open </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">aapl_id</td><td>Attribute access property list identifier </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">lapl_id</td><td>Link access property list identifier</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Returns an attribute identifier if successful; otherwise returns a negative value.</dd></dl>
<p><a class="el" href="#gadb49a0b5b9798d2e944d877adba8ae10" title="Opens an attribute for an object by object name and attribute name.">H5Aopen_by_name()</a> opens an existing attribute, <code>attr_name</code>, that is attached to an object specified by location and name, <code>loc_id</code> and <code>obj_name</code>, respectively.</p>
<p><code>loc_id</code> specifies a location from which the target object can be located and <code>obj_name</code> is an object name relative to <code>loc_id</code>.</p>
<dl class="section note"><dt>Note</dt><dd>The <code>aapl_id</code> parameter is currently not used; specify <a class="el" href="_h5_ppublic_8h.html#afa85e97bfbf9bf1c58e39263846c568f">H5P_DEFAULT</a>.</dd></dl>
<p>The link access property list, <code>lapl_id</code>, may provide information regarding the properties of links required to access the object, <code>obj_name</code>.</p>
<p>This function, <a class="el" href="#ga59863b205b6d93b2145f0fbca49656f7" title="Opens an attribute for an object specified by object identifier and attribute name.">H5Aopen()</a>, or <a class="el" href="#gab1451cdff4f77dcf9feaee83c8179b2d" title="Opens the nth attribute attached to an object.">H5Aopen_by_idx()</a> must be called before an attribute can be accessed for any further purpose, including reading, writing, or any modification.</p>
<p>The attribute identifier returned by this function must be released with <a class="el" href="#gaef4394b661e2c930879e9868e122bdda" title="Closes the specified attribute.">H5Aclose()</a> or resource leaks will develop.</p>
<dl class="section since"><dt>Since</dt><dd>1.8.0 </dd></dl>

</div>
</div>
<a id="gadaa85276f2731ad78462a6fd27118470" name="gadaa85276f2731ad78462a6fd27118470"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gadaa85276f2731ad78462a6fd27118470">&#9670;&#160;</a></span>H5Aopen_idx()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a> H5Aopen_idx </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a></td>          <td class="paramname"><span class="paramname"><em>loc_id</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned</td>          <td class="paramname"><span class="paramname"><em>idx</em></span>&#160;)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Opens the attribute specified by its index. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">loc_id</td><td>Location identifier </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">idx</td><td>Index of the attribute to open</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Returns an attribute identifier if successful; otherwise returns a negative value.</dd></dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000013">Deprecated</a></b></dt><dd>Superseded by <a class="el" href="#gab1451cdff4f77dcf9feaee83c8179b2d" title="Opens the nth attribute attached to an object.">H5Aopen_by_idx()</a>.</dd></dl>
<p><a class="el" href="#gadaa85276f2731ad78462a6fd27118470" title="Opens the attribute specified by its index.">H5Aopen_idx()</a> opens an attribute that is attached to the object specified with <code>loc_id</code>. The location object may be either a group, dataset, or named datatype, all of which may have any sort of attribute. The attribute specified by the index, <code>idx</code>, indicates the attribute to access. The value of <code>idx</code> is a 0-based, non-negative integer. The attribute identifier returned from this function must be released with <a class="el" href="#gaef4394b661e2c930879e9868e122bdda" title="Closes the specified attribute.">H5Aclose()</a> or resource leaks will develop.</p>
<dl class="section since"><dt>Since</dt><dd>1.0.0 </dd></dl>

</div>
</div>
<a id="ga5c05fade96b6b7e2299f56a5b1edb1c1" name="ga5c05fade96b6b7e2299f56a5b1edb1c1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga5c05fade96b6b7e2299f56a5b1edb1c1">&#9670;&#160;</a></span>H5Aopen_name()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a> H5Aopen_name </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a></td>          <td class="paramname"><span class="paramname"><em>loc_id</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *</td>          <td class="paramname"><span class="paramname"><em>name</em></span>&#160;)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Opens an attribute specified by name. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">loc_id</td><td>Location identifier </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">name</td><td>Attribute name</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Returns an attribute identifier if successful; otherwise returns a negative value.</dd></dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000014">Deprecated</a></b></dt><dd>Superseded by <a class="el" href="#gadb49a0b5b9798d2e944d877adba8ae10" title="Opens an attribute for an object by object name and attribute name.">H5Aopen_by_name()</a>.</dd></dl>
<p><a class="el" href="#ga5c05fade96b6b7e2299f56a5b1edb1c1" title="Opens an attribute specified by name.">H5Aopen_name()</a> opens an attribute specified by its name, <code>name</code>, which is attached to the object specified with <code>loc_id</code>. The location object may be either a group, dataset, or named datatype, which may have any sort of attribute. The attribute identifier returned from this function must be released with <a class="el" href="#gaef4394b661e2c930879e9868e122bdda" title="Closes the specified attribute.">H5Aclose()</a> or resource leaks will develop.</p>
<dl class="section since"><dt>Since</dt><dd>1.0.0 </dd></dl>

</div>
</div>
<a id="gaacb27a997f7c98e8a833d0fd63b58f1c" name="gaacb27a997f7c98e8a833d0fd63b58f1c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaacb27a997f7c98e8a833d0fd63b58f1c">&#9670;&#160;</a></span>H5Aread()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_h5public_8h.html#a3b079ecf932a5c599499cf7e298af160">herr_t</a> H5Aread </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a></td>          <td class="paramname"><span class="paramname"><em>attr_id</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a></td>          <td class="paramname"><span class="paramname"><em>type_id</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *</td>          <td class="paramname"><span class="paramname"><em>buf</em></span>&#160;)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Reads the value of an attribute. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">attr_id</td><td>Attribute identifier </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">type_id</td><td>Datatype (in-memory) identifier </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">buf</td><td>Buffer for data to be read</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Returns a non-negative value if successful; otherwise, returns a negative value.</dd></dl>
<p><a class="el" href="#gaacb27a997f7c98e8a833d0fd63b58f1c" title="Reads the value of an attribute.">H5Aread()</a> reads an attribute, specified with <code>attr_id</code>. The attribute's in-memory datatype is specified with <code>type_id</code>. The entire attribute is read into <code>buf</code> from the file.</p>
<p>Datatype conversion takes place at the time of a read or write and is automatic.</p>
<dl class="section user"><dt>Example</dt><dd><div class="fragment"><div class="line">    {</div>
<div class="line">        __label__ fail_attr, fail_file;</div>
<div class="line">        <a class="code hl_typedef" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a> file, attr;</div>
<div class="line"> </div>
<div class="line">        <span class="keywordtype">unsigned</span> mode        = <a class="code hl_define" href="_h5_fpublic_8h.html#a1c406ffa89f4acf5a332144a2683d394">H5F_ACC_RDONLY</a>;</div>
<div class="line">        <span class="keywordtype">char</span>     file_name[] = <span class="stringliteral">&quot;f1.h5&quot;</span>;</div>
<div class="line">        <span class="keywordtype">char</span>     attr_name[] = <span class="stringliteral">&quot;Χαρακτηριστικό&quot;</span>;</div>
<div class="line">        <span class="keywordtype">int</span>      value;</div>
<div class="line"> </div>
<div class="line">        <span class="keywordflow">if</span> ((file = <a class="code hl_function" href="group___h5_f.html#gaa3f4f877b9bb591f3880423ed2bf44bc">H5Fopen</a>(file_name, mode, <a class="code hl_define" href="_h5_ppublic_8h.html#afa85e97bfbf9bf1c58e39263846c568f">H5P_DEFAULT</a>)) == <a class="code hl_define" href="_h5_ipublic_8h.html#a01eab13dccc91afd6909d74dccb780ba">H5I_INVALID_HID</a>) {</div>
<div class="line">            ret_val = EXIT_FAILURE;</div>
<div class="line">            <span class="keywordflow">goto</span> fail_file;</div>
<div class="line">        }</div>
<div class="line">        <span class="keywordflow">if</span> ((attr = <a class="code hl_function" href="#ga59863b205b6d93b2145f0fbca49656f7">H5Aopen</a>(file, attr_name, <a class="code hl_define" href="_h5_ppublic_8h.html#afa85e97bfbf9bf1c58e39263846c568f">H5P_DEFAULT</a>)) == <a class="code hl_define" href="_h5_ipublic_8h.html#a01eab13dccc91afd6909d74dccb780ba">H5I_INVALID_HID</a>) {</div>
<div class="line">            ret_val = EXIT_FAILURE;</div>
<div class="line">            <span class="keywordflow">goto</span> fail_attr;</div>
<div class="line">        }</div>
<div class="line">        <span class="comment">// read the attribute value</span></div>
<div class="line">        <span class="keywordflow">if</span> (<a class="code hl_function" href="#gaacb27a997f7c98e8a833d0fd63b58f1c">H5Aread</a>(attr, <a class="code hl_define" href="group___p_d_t_n_a_t.html#ga3cf93ffc6782be68070ef8e00f219ec2">H5T_NATIVE_INT</a>, &amp;value) &lt; 0)</div>
<div class="line">            ret_val = EXIT_FAILURE;</div>
<div class="line"> </div>
<div class="line">        <span class="comment">// do something w/ the attribute value</span></div>
<div class="line"> </div>
<div class="line">        <a class="code hl_function" href="#gaef4394b661e2c930879e9868e122bdda">H5Aclose</a>(attr);</div>
<div class="line">fail_attr:</div>
<div class="line">        <a class="code hl_function" href="group___h5_f.html#gac55cd91d80822e4f8c2a7f04ea71b124">H5Fclose</a>(file);</div>
<div class="line">fail_file:;</div>
<div class="line">    }</div>
</div><!-- fragment --></dd></dl>
<dl class="section version"><dt>Version</dt><dd>1.8.8 Fortran updated to Fortran2003. </dd>
<dd>
1.4.2 The <code>dims</code> parameter was added to the Fortran API in this release. </dd></dl>
<dl class="section since"><dt>Since</dt><dd>1.0.0</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="#gab70871e205d57450c83efd9912be2b5c" title="Writes data to an attribute.">H5Awrite()</a> </dd></dl>

</div>
</div>
<a id="ga490dcd6db246c1fda7295badfce28203" name="ga490dcd6db246c1fda7295badfce28203"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga490dcd6db246c1fda7295badfce28203">&#9670;&#160;</a></span>H5Arename()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_h5public_8h.html#a3b079ecf932a5c599499cf7e298af160">herr_t</a> H5Arename </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a></td>          <td class="paramname"><span class="paramname"><em>loc_id</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *</td>          <td class="paramname"><span class="paramname"><em>old_name</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *</td>          <td class="paramname"><span class="paramname"><em>new_name</em></span>&#160;)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Renames an attribute. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">loc_id</td><td>Location identifier. The identifier may be that of a file, group, dataset, or named datatype. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">old_name</td><td>Name of the attribute to be changed </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">new_name</td><td>New name for the attribute</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Returns a non-negative value if successful; otherwise, returns a negative value.</dd></dl>
<p><a class="el" href="#ga490dcd6db246c1fda7295badfce28203" title="Renames an attribute.">H5Arename()</a> changes the name of the attribute located at <code>loc_id</code>.</p>
<p>The old name, <code>old_name</code>, is changed to the new name, <code>new_name</code>.</p>
<dl class="section since"><dt>Since</dt><dd>1.6.0 </dd></dl>

</div>
</div>
<a id="ga21f8483c935d72187b98f5e7c2056140" name="ga21f8483c935d72187b98f5e7c2056140"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga21f8483c935d72187b98f5e7c2056140">&#9670;&#160;</a></span>H5Arename_by_name()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_h5public_8h.html#a3b079ecf932a5c599499cf7e298af160">herr_t</a> H5Arename_by_name </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a></td>          <td class="paramname"><span class="paramname"><em>loc_id</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *</td>          <td class="paramname"><span class="paramname"><em>obj_name</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *</td>          <td class="paramname"><span class="paramname"><em>old_attr_name</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *</td>          <td class="paramname"><span class="paramname"><em>new_attr_name</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a></td>          <td class="paramname"><span class="paramname"><em>lapl_id</em></span>&#160;)</td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">loc_id</td><td>Location identifier. The identifier may be that of a file, group, dataset, or named datatype. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">obj_name</td><td>Name of object, relative to location, whose attribute is to be renamed </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">old_attr_name</td><td>Prior attribute name </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">new_attr_name</td><td>New attribute name </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">lapl_id</td><td>Link access property list identifier</td></tr>
  </table>
  </dd>
</dl>
<p><a class="el" href="#ga21f8483c935d72187b98f5e7c2056140">H5Arename_by_name()</a> changes the name of attribute that is attached to the object specified by <code>loc_id</code> and <code>obj_name</code>. The attribute named <code>old_attr_name</code> is renamed <code>new_attr_name</code>.</p>
<p>The link access property list, <code>lapl_id</code>, may provide information regarding the properties of links required to access the object, <code>obj_name</code>.</p>
<dl class="section since"><dt>Since</dt><dd>1.8.0 </dd></dl>

</div>
</div>
<a id="gab70871e205d57450c83efd9912be2b5c" name="gab70871e205d57450c83efd9912be2b5c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gab70871e205d57450c83efd9912be2b5c">&#9670;&#160;</a></span>H5Awrite()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_h5public_8h.html#a3b079ecf932a5c599499cf7e298af160">herr_t</a> H5Awrite </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a></td>          <td class="paramname"><span class="paramname"><em>attr_id</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a></td>          <td class="paramname"><span class="paramname"><em>type_id</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const void *</td>          <td class="paramname"><span class="paramname"><em>buf</em></span>&#160;)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Writes data to an attribute. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">attr_id</td><td>Attribute identifier </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">type_id</td><td>Datatype (in-memory) identifier </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">buf</td><td>Data to be written</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Returns a non-negative value if successful; otherwise, returns a negative value.</dd></dl>
<p><a class="el" href="#gab70871e205d57450c83efd9912be2b5c" title="Writes data to an attribute.">H5Awrite()</a> writes an attribute, specified with <code>attr_id</code>. The attribute's in-memory datatype is specified with <code>type_id</code>. The entire attribute is written from <code>buf</code> to the file.</p>
<p>Datatype conversion takes place at the time of a read or write and is automatic.</p>
<dl class="section user"><dt>Example</dt><dd><div class="fragment"><div class="line">    {</div>
<div class="line">        __label__ fail_attr, fail_file;</div>
<div class="line">        <a class="code hl_typedef" href="_h5_ipublic_8h.html#a0045db7ff9c22ad35db6ae91662e1943">hid_t</a> file, attr;</div>
<div class="line"> </div>
<div class="line">        <span class="keywordtype">unsigned</span> mode        = <a class="code hl_define" href="_h5_fpublic_8h.html#a402673dec5c537b27a49a9a8bd6140b4">H5F_ACC_RDWR</a>;</div>
<div class="line">        <span class="keywordtype">char</span>     file_name[] = <span class="stringliteral">&quot;f1.h5&quot;</span>;</div>
<div class="line">        <span class="keywordtype">char</span>     attr_name[] = <span class="stringliteral">&quot;Χαρακτηριστικό&quot;</span>;</div>
<div class="line">        <span class="keywordtype">int</span>      value       = 1234;</div>
<div class="line"> </div>
<div class="line">        <span class="keywordflow">if</span> ((file = <a class="code hl_function" href="group___h5_f.html#gaa3f4f877b9bb591f3880423ed2bf44bc">H5Fopen</a>(file_name, mode, <a class="code hl_define" href="_h5_ppublic_8h.html#afa85e97bfbf9bf1c58e39263846c568f">H5P_DEFAULT</a>)) == <a class="code hl_define" href="_h5_ipublic_8h.html#a01eab13dccc91afd6909d74dccb780ba">H5I_INVALID_HID</a>) {</div>
<div class="line">            ret_val = EXIT_FAILURE;</div>
<div class="line">            <span class="keywordflow">goto</span> fail_file;</div>
<div class="line">        }</div>
<div class="line">        <span class="keywordflow">if</span> ((attr = <a class="code hl_function" href="#ga59863b205b6d93b2145f0fbca49656f7">H5Aopen</a>(file, attr_name, <a class="code hl_define" href="_h5_ppublic_8h.html#afa85e97bfbf9bf1c58e39263846c568f">H5P_DEFAULT</a>)) == <a class="code hl_define" href="_h5_ipublic_8h.html#a01eab13dccc91afd6909d74dccb780ba">H5I_INVALID_HID</a>) {</div>
<div class="line">            ret_val = EXIT_FAILURE;</div>
<div class="line">            <span class="keywordflow">goto</span> fail_attr;</div>
<div class="line">        }</div>
<div class="line">        <span class="comment">// update the attribute value</span></div>
<div class="line">        <span class="keywordflow">if</span> (<a class="code hl_function" href="#gab70871e205d57450c83efd9912be2b5c">H5Awrite</a>(attr, <a class="code hl_define" href="group___p_d_t_n_a_t.html#ga3cf93ffc6782be68070ef8e00f219ec2">H5T_NATIVE_INT</a>, &amp;value) &lt; 0)</div>
<div class="line">            ret_val = EXIT_FAILURE;</div>
<div class="line"> </div>
<div class="line">        <a class="code hl_function" href="#gaef4394b661e2c930879e9868e122bdda">H5Aclose</a>(attr);</div>
<div class="line">fail_attr:</div>
<div class="line">        <a class="code hl_function" href="group___h5_f.html#gac55cd91d80822e4f8c2a7f04ea71b124">H5Fclose</a>(file);</div>
<div class="line">fail_file:;</div>
<div class="line">    }</div>
</div><!-- fragment --></dd></dl>
<dl class="section version"><dt>Version</dt><dd>1.8.8 Fortran updated to Fortran2003. </dd>
<dd>
1.4.2 Fortran <code>dims</code> parameter added in this release </dd></dl>
<dl class="section since"><dt>Since</dt><dd>1.0.0 </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="#gaacb27a997f7c98e8a833d0fd63b58f1c" title="Reads the value of an attribute.">H5Aread()</a> </dd></dl>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.10.0 </li>
  </ul>
</div>
</body>
</html>