1 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 2 * Copyright by The HDF Group. * 3 * Copyright by the Board of Trustees of the University of Illinois. * 4 * All rights reserved. * 5 * * 6 * This file is part of HDF5. The full HDF5 copyright notice, including * 7 * terms governing use, modification, and redistribution, is contained in * 8 * the COPYING file, which can be found at the root of the source code * 9 * distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases. * 10 * If you do not have access to either file, you may request a copy from * 11 * help@hdfgroup.org. * 12 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ 13 14 #include <jni.h> 15 /* Header for class hdf_hdf5lib_H5_H5T */ 16 17 #ifndef _Included_hdf_hdf5lib_H5_H5T 18 #define _Included_hdf_hdf5lib_H5_H5T 19 20 #ifdef __cplusplus 21 extern "C" { 22 #endif /* __cplusplus */ 23 24 /* 25 * Class: hdf_hdf5lib_H5 26 * Method: _H5Topen2 27 * Signature: (JLjava/lang/String;J)J 28 */ 29 JNIEXPORT jlong JNICALL 30 Java_hdf_hdf5lib_H5__1H5Topen2 31 (JNIEnv *, jclass, jlong, jstring, jlong); 32 33 /* 34 * Class: hdf_hdf5lib_H5 35 * Method: H5Tcommitted 36 * Signature: (J)Z 37 */ 38 JNIEXPORT jboolean JNICALL 39 Java_hdf_hdf5lib_H5_H5Tcommitted 40 (JNIEnv *, jclass, jlong); 41 42 /* 43 * Class: hdf_hdf5lib_H5 44 * Method: _H5Tcreate 45 * Signature: (IJ)J 46 */ 47 JNIEXPORT jlong JNICALL 48 Java_hdf_hdf5lib_H5__1H5Tcreate 49 (JNIEnv *, jclass, jint, jlong); 50 51 /* 52 * Class: hdf_hdf5lib_H5 53 * Method: _H5Tcopy 54 * Signature: (J)J 55 */ 56 JNIEXPORT jlong JNICALL 57 Java_hdf_hdf5lib_H5__1H5Tcopy 58 (JNIEnv *, jclass, jlong); 59 60 /* 61 * Class: hdf_hdf5lib_H5 62 * Method: H5Tequal 63 * Signature: (JJ)Z 64 */ 65 JNIEXPORT jboolean JNICALL 66 Java_hdf_hdf5lib_H5_H5Tequal 67 (JNIEnv *, jclass, jlong, jlong); 68 69 /* 70 * Class: hdf_hdf5lib_H5 71 * Method: H5Tlock 72 * Signature: (J)I 73 */ 74 JNIEXPORT jint JNICALL 75 Java_hdf_hdf5lib_H5_H5Tlock 76 (JNIEnv *, jclass, jlong); 77 78 /* 79 * Class: hdf_hdf5lib_H5 80 * Method: H5Tget_class 81 * Signature: (J)I 82 */ 83 JNIEXPORT jint JNICALL 84 Java_hdf_hdf5lib_H5_H5Tget_1class 85 (JNIEnv *, jclass, jlong); 86 87 /* 88 * Class: hdf_hdf5lib_H5 89 * Method: H5Tget_size 90 * Signature: (J)J 91 */ 92 JNIEXPORT jlong JNICALL 93 Java_hdf_hdf5lib_H5_H5Tget_1size 94 (JNIEnv *, jclass, jlong); 95 96 /* 97 * Class: hdf_hdf5lib_H5 98 * Method: H5Tset_size 99 * Signature: (JJ)I 100 */ 101 JNIEXPORT jint JNICALL 102 Java_hdf_hdf5lib_H5_H5Tset_1size 103 (JNIEnv *, jclass, jlong, jlong); 104 105 /* 106 * Class: hdf_hdf5lib_H5 107 * Method: H5Tget_order 108 * Signature: (J)I 109 */ 110 JNIEXPORT jint JNICALL 111 Java_hdf_hdf5lib_H5_H5Tget_1order 112 (JNIEnv *, jclass, jlong); 113 114 /* 115 * Class: hdf_hdf5lib_H5 116 * Method: H5Tset_order 117 * Signature: (JI)I 118 */ 119 JNIEXPORT jint JNICALL 120 Java_hdf_hdf5lib_H5_H5Tset_1order 121 (JNIEnv *, jclass, jlong, jint); 122 123 /* 124 * Class: hdf_hdf5lib_H5 125 * Method: H5Tget_precision 126 * Signature: (J)I 127 */ 128 JNIEXPORT jint JNICALL 129 Java_hdf_hdf5lib_H5_H5Tget_1precision 130 (JNIEnv *, jclass, jlong); 131 132 /* 133 * Class: hdf_hdf5lib_H5 134 * Method: H5Tget_precision_long 135 * Signature: (J)J 136 */ 137 JNIEXPORT jlong JNICALL 138 Java_hdf_hdf5lib_H5_H5Tget_1precision_1long 139 (JNIEnv *, jclass, jlong); 140 141 /* 142 * Class: hdf_hdf5lib_H5 143 * Method: H5Tset_precision 144 * Signature: (JJ)I 145 */ 146 JNIEXPORT jint JNICALL 147 Java_hdf_hdf5lib_H5_H5Tset_1precision 148 (JNIEnv *, jclass, jlong, jlong); 149 150 /* 151 * Class: hdf_hdf5lib_H5 152 * Method: H5Tget_offset 153 * Signature: (J)I 154 */ 155 JNIEXPORT jint JNICALL 156 Java_hdf_hdf5lib_H5_H5Tget_1offset 157 (JNIEnv *, jclass, jlong); 158 159 /* 160 * Class: hdf_hdf5lib_H5 161 * Method: H5Tset_offset 162 * Signature: (JJ)I 163 */ 164 JNIEXPORT jint JNICALL 165 Java_hdf_hdf5lib_H5_H5Tset_1offset 166 (JNIEnv *, jclass, jlong, jlong); 167 168 /* 169 * Class: hdf_hdf5lib_H5 170 * Method: H5Tget_pad 171 * Signature: (J[I)I 172 */ 173 JNIEXPORT jint JNICALL 174 Java_hdf_hdf5lib_H5_H5Tget_1pad 175 (JNIEnv *, jclass, jlong, jintArray); 176 177 /* 178 * Class: hdf_hdf5lib_H5 179 * Method: H5Tset_pad 180 * Signature: (JII)I 181 */ 182 JNIEXPORT jint JNICALL 183 Java_hdf_hdf5lib_H5_H5Tset_1pad 184 (JNIEnv *, jclass, jlong, jint, jint); 185 186 /* 187 * Class: hdf_hdf5lib_H5 188 * Method: H5Tget_sign 189 * Signature: (J)I 190 */ 191 JNIEXPORT jint JNICALL 192 Java_hdf_hdf5lib_H5_H5Tget_1sign 193 (JNIEnv *, jclass, jlong); 194 195 /* 196 * Class: hdf_hdf5lib_H5 197 * Method: H5Tset_sign 198 * Signature: (JI)I 199 */ 200 JNIEXPORT jint JNICALL 201 Java_hdf_hdf5lib_H5_H5Tset_1sign 202 (JNIEnv *, jclass, jlong, jint); 203 204 /* 205 * Class: hdf_hdf5lib_H5 206 * Method: H5Tget_fields_int 207 * Signature: (J[I)I 208 */ 209 JNIEXPORT jint JNICALL 210 Java_hdf_hdf5lib_H5_H5Tget_1fields_1int 211 (JNIEnv *, jclass, jlong, jintArray); 212 213 /* 214 * Class: hdf_hdf5lib_H5 215 * Method: H5Tget_fields 216 * Signature: (J[J)V 217 */ 218 JNIEXPORT void JNICALL 219 Java_hdf_hdf5lib_H5_H5Tget_1fields 220 (JNIEnv *, jclass, jlong, jlongArray); 221 222 /* 223 * Class: hdf_hdf5lib_H5 224 * Method: H5Tset_fields 225 * Signature: (JJJJJJ)V 226 */ 227 JNIEXPORT void JNICALL 228 Java_hdf_hdf5lib_H5_H5Tset_1fields 229 (JNIEnv *, jclass, jlong, jlong, jlong, jlong, jlong, jlong); 230 231 /* 232 * Class: hdf_hdf5lib_H5 233 * Method: H5Tget_ebias 234 * Signature: (J)I 235 */ 236 JNIEXPORT jint JNICALL 237 Java_hdf_hdf5lib_H5_H5Tget_1ebias 238 (JNIEnv *, jclass, jlong); 239 240 /* 241 * Class: hdf_hdf5lib_H5 242 * Method: H5Tget_ebias_long 243 * Signature: (J)J 244 */ 245 JNIEXPORT jlong JNICALL 246 Java_hdf_hdf5lib_H5_H5Tget_1ebias_1long 247 (JNIEnv *, jclass, jlong); 248 249 /* 250 * Class: hdf_hdf5lib_H5 251 * Method: H5Tset_ebias 252 * Signature: (JJ)I 253 */ 254 JNIEXPORT jint JNICALL 255 Java_hdf_hdf5lib_H5_H5Tset_1ebias 256 (JNIEnv *, jclass, jlong, jlong); 257 258 /* 259 * Class: hdf_hdf5lib_H5 260 * Method: H5Tget_norm 261 * Signature: (J)I 262 */ 263 JNIEXPORT jint JNICALL 264 Java_hdf_hdf5lib_H5_H5Tget_1norm 265 (JNIEnv *, jclass, jlong); 266 267 /* 268 * Class: hdf_hdf5lib_H5 269 * Method: H5Tset_norm 270 * Signature: (JI)I 271 */ 272 JNIEXPORT jint JNICALL 273 Java_hdf_hdf5lib_H5_H5Tset_1norm 274 (JNIEnv *, jclass, jlong, jint); 275 276 /* 277 * Class: hdf_hdf5lib_H5 278 * Method: H5Tget_inpad 279 * Signature: (J)I 280 */ 281 JNIEXPORT jint JNICALL 282 Java_hdf_hdf5lib_H5_H5Tget_1inpad 283 (JNIEnv *, jclass, jlong); 284 285 /* 286 * Class: hdf_hdf5lib_H5 287 * Method: H5Tset_inpad 288 * Signature: (JI)I 289 */ 290 JNIEXPORT jint JNICALL 291 Java_hdf_hdf5lib_H5_H5Tset_1inpad 292 (JNIEnv *, jclass, jlong, jint); 293 294 /* 295 * Class: hdf_hdf5lib_H5 296 * Method: H5Tget_cset 297 * Signature: (J)I 298 */ 299 JNIEXPORT jint JNICALL 300 Java_hdf_hdf5lib_H5_H5Tget_1cset 301 (JNIEnv *, jclass, jlong); 302 303 /* 304 * Class: hdf_hdf5lib_H5 305 * Method: H5Tset_cset 306 * Signature: (JI)I 307 */ 308 JNIEXPORT jint JNICALL 309 Java_hdf_hdf5lib_H5_H5Tset_1cset 310 (JNIEnv *, jclass, jlong, jint); 311 312 /* 313 * Class: hdf_hdf5lib_H5 314 * Method: H5Tget_strpad 315 * Signature: (J)I 316 */ 317 JNIEXPORT jint JNICALL 318 Java_hdf_hdf5lib_H5_H5Tget_1strpad 319 (JNIEnv *, jclass, jlong); 320 321 /* 322 * Class: hdf_hdf5lib_H5 323 * Method: H5Tset_strpad 324 * Signature: (JI)I 325 */ 326 JNIEXPORT jint JNICALL 327 Java_hdf_hdf5lib_H5_H5Tset_1strpad 328 (JNIEnv *, jclass, jlong, jint); 329 330 /* 331 * Class: hdf_hdf5lib_H5 332 * Method: H5Tget_nmembers 333 * Signature: (J)I 334 */ 335 JNIEXPORT jint JNICALL 336 Java_hdf_hdf5lib_H5_H5Tget_1nmembers 337 (JNIEnv *, jclass, jlong); 338 339 /* 340 * Class: hdf_hdf5lib_H5 341 * Method: H5Tget_member_name 342 * Signature: (JI)Ljava/lang/String; 343 */ 344 JNIEXPORT jstring JNICALL 345 Java_hdf_hdf5lib_H5_H5Tget_1member_1name 346 (JNIEnv *, jclass, jlong, jint); 347 348 /* 349 * Class: hdf_hdf5lib_H5 350 * Method: H5Tget_member_index 351 * Signature: (JLjava/lang/String)I 352 */ 353 JNIEXPORT jint JNICALL 354 Java_hdf_hdf5lib_H5_H5Tget_1member_1index 355 (JNIEnv *, jclass, jlong, jstring); 356 357 /* 358 * Class: hdf_hdf5lib_H5 359 * Method: H5Tget_member_type 360 * Signature: (JI)J 361 */ 362 JNIEXPORT jlong JNICALL 363 Java_hdf_hdf5lib_H5__1H5Tget_1member_1type 364 (JNIEnv *, jclass, jlong, jint); 365 366 /* 367 * Class: hdf_hdf5lib_H5 368 * Method: H5Tget_member_offset 369 * Signature: (JI)J 370 */ 371 JNIEXPORT jlong JNICALL 372 Java_hdf_hdf5lib_H5_H5Tget_1member_1offset 373 (JNIEnv *, jclass, jlong, jint); 374 375 /* 376 * Class: hdf_hdf5lib_H5 377 * Method: H5Tget_member_class 378 * Signature: (JI)I 379 */ 380 JNIEXPORT jint JNICALL 381 Java_hdf_hdf5lib_H5_H5Tget_1member_1class 382 (JNIEnv *, jclass, jlong, jint); 383 384 /* 385 * Class: hdf_hdf5lib_H5 386 * Method: H5Tinsert 387 * Signature: (JLjava/lang/String;JJ)I 388 */ 389 JNIEXPORT jint JNICALL 390 Java_hdf_hdf5lib_H5_H5Tinsert 391 (JNIEnv *, jclass, jlong, jstring, jlong, jlong); 392 393 /* 394 * Class: hdf_hdf5lib_H5 395 * Method: H5Tpack 396 * Signature: (J)I 397 */ 398 JNIEXPORT jint JNICALL 399 Java_hdf_hdf5lib_H5_H5Tpack 400 (JNIEnv *, jclass, jlong); 401 402 /* 403 * Class: hdf_hdf5lib_H5 404 * Method: _H5Tclose 405 * Signature: (J)I 406 */ 407 JNIEXPORT jint JNICALL 408 Java_hdf_hdf5lib_H5__1H5Tclose 409 (JNIEnv *, jclass, jlong); 410 411 /* 412 * Class: hdf_hdf5lib_H5 413 * Method: _H5Tvlen_create 414 * Signature: (J)J 415 */ 416 JNIEXPORT jlong JNICALL 417 Java_hdf_hdf5lib_H5__1H5Tvlen_1create 418 (JNIEnv *, jclass, jlong); 419 420 /* 421 * Class: hdf_hdf5lib_H5 422 * Method: H5Tset_tag 423 * Signature: (JLjava/lang/String;)I 424 */ 425 JNIEXPORT jint JNICALL 426 Java_hdf_hdf5lib_H5_H5Tset_1tag 427 (JNIEnv *, jclass, jlong, jstring); 428 429 /* 430 * Class: hdf_hdf5lib_H5 431 * Method: H5Tget_tag 432 * Signature: (J)Ljava/lang/String; 433 */ 434 JNIEXPORT jstring JNICALL 435 Java_hdf_hdf5lib_H5_H5Tget_1tag 436 (JNIEnv *, jclass, jlong); 437 438 /* 439 * Class: hdf_hdf5lib_H5 440 * Method: H5Tget_super 441 * Signature: (J)J 442 */ 443 JNIEXPORT jlong JNICALL 444 Java_hdf_hdf5lib_H5__1H5Tget_1super 445 (JNIEnv *, jclass, jlong); 446 447 /* 448 * Class: hdf_hdf5lib_H5 449 * Method: _H5Tenum_create 450 * Signature: (J)J 451 */ 452 JNIEXPORT jlong JNICALL 453 Java_hdf_hdf5lib_H5__1H5Tenum_1create 454 (JNIEnv *, jclass, jlong); 455 456 /* 457 * Class: hdf_hdf5lib_H5 458 * Method: H5Tenum_insert_int 459 * Signature: (JLjava/lang/String;[I)I 460 */ 461 JNIEXPORT jint JNICALL 462 Java_hdf_hdf5lib_H5_H5Tenum_1insert_1int 463 (JNIEnv *, jclass, jlong, jstring, jintArray); 464 465 /* 466 * Class: hdf_hdf5lib_H5 467 * Method: H5Tenum_insert 468 * Signature: (JLjava/lang/String;[B)V 469 */ 470 JNIEXPORT void JNICALL 471 Java_hdf_hdf5lib_H5_H5Tenum_1insert 472 (JNIEnv *, jclass, jlong, jstring, jbyteArray); 473 474 /* 475 * Class: hdf_hdf5lib_H5 476 * Method: H5Tenum_nameof_int 477 * Signature: (J[I[Ljava/lang/String;I)I 478 */ 479 JNIEXPORT jint JNICALL 480 Java_hdf_hdf5lib_H5_H5Tenum_1nameof_1int 481 (JNIEnv *, jclass, jlong, jintArray, jobjectArray, jint); 482 483 /* 484 * Class: hdf_hdf5lib_H5 485 * Method: H5Tenum_nameof 486 * Signature: (J[BJ)Ljava/lang/String; 487 */ 488 JNIEXPORT jstring JNICALL 489 Java_hdf_hdf5lib_H5_H5Tenum_1nameof 490 (JNIEnv *, jclass, jlong, jbyteArray, jlong); 491 492 /* 493 * Class: hdf_hdf5lib_H5 494 * Method: H5Tenum_valueof_int 495 * Signature: (JLjava/lang/String;[I)I 496 */ 497 JNIEXPORT jint JNICALL 498 Java_hdf_hdf5lib_H5_H5Tenum_1valueof_1int 499 (JNIEnv *, jclass, jlong, jstring, jintArray); 500 501 /* 502 * Class: hdf_hdf5lib_H5 503 * Method: H5Tenum_valueof 504 * Signature: (JLjava/lang/String;[B)V 505 */ 506 JNIEXPORT void JNICALL 507 Java_hdf_hdf5lib_H5_H5Tenum_1valueof 508 (JNIEnv *, jclass, jlong, jstring, jbyteArray); 509 510 /* 511 * Class: hdf_hdf5lib_H5 512 * Method: H5Tget_member_value_int 513 * Signature: (JI[I)I 514 */ 515 JNIEXPORT jint JNICALL 516 Java_hdf_hdf5lib_H5_H5Tget_1member_1value_1int 517 (JNIEnv *, jclass, jlong, jint, jintArray); 518 519 /* 520 * Class: hdf_hdf5lib_H5 521 * Method: H5Tget_member_value 522 * Signature: (JI[B)V 523 */ 524 JNIEXPORT void JNICALL 525 Java_hdf_hdf5lib_H5_H5Tget_1member_1value 526 (JNIEnv *, jclass, jlong, jint, jbyteArray); 527 528 /* 529 * Class: hdf_hdf5lib_H5 530 * Method: H5Tget_array_ndims 531 * Signature: (J)I 532 */ 533 JNIEXPORT jint JNICALL 534 Java_hdf_hdf5lib_H5_H5Tget_1array_1ndims 535 (JNIEnv *, jclass, jlong); 536 537 /* 538 * Class: hdf_hdf5lib_H5 539 * Method: H5Tget_array_dims 540 * Signature: (J[I[I)I 541 */ 542 JNIEXPORT jint JNICALL 543 Java_hdf_hdf5lib_H5_H5Tget_1array_1dims 544 (JNIEnv *, jclass, jlong, jintArray, jintArray); 545 546 /* 547 * Class: hdf_hdf5lib_H5 548 * Method: H5Tis_variable_str 549 * Signature: (J)Z 550 */ 551 JNIEXPORT jboolean JNICALL 552 Java_hdf_hdf5lib_H5_H5Tis_1variable_1str 553 (JNIEnv *, jclass, jlong); 554 555 /* 556 * Class: hdf_hdf5lib_H5 557 * Method: H5Tget_native_type 558 * Signature: (JI)J 559 */ 560 JNIEXPORT jlong JNICALL 561 Java_hdf_hdf5lib_H5__1H5Tget_1native_1type 562 (JNIEnv *, jclass, jlong, jint); 563 564 /* 565 * Class: hdf_hdf5lib_H5 566 * Method: H5Tdetect_class 567 * Signature: (JI)Z 568 */ 569 JNIEXPORT jboolean JNICALL 570 Java_hdf_hdf5lib_H5_H5Tdetect_1class 571 (JNIEnv *, jclass, jlong, jint); 572 573 /* 574 * Class: hdf_hdf5lib_H5 575 * Method: H5Tcommit 576 * Signature: (JLjava/lang/String;JJJJ)V 577 */ 578 JNIEXPORT void JNICALL 579 Java_hdf_hdf5lib_H5_H5Tcommit 580 (JNIEnv *, jclass, jlong, jstring, jlong, jlong, jlong, jlong); 581 582 /* 583 * Class: hdf_hdf5lib_H5 584 * Method: _H5Tarray_create2 585 * Signature: (JI[J)J 586 */ 587 JNIEXPORT jlong JNICALL 588 Java_hdf_hdf5lib_H5__1H5Tarray_1create2 589 (JNIEnv *, jclass, jlong, jint, jlongArray); 590 591 /* 592 * Class: hdf_hdf5lib_H5 593 * Method: H5Tget_array_dims2 594 * Signature: (J[J)I 595 */ 596 JNIEXPORT jint JNICALL 597 Java_hdf_hdf5lib_H5_H5Tget_1array_1dims2 598 (JNIEnv *, jclass, jlong, jlongArray); 599 600 /* 601 * Class: hdf_hdf5lib_H5 602 * Method: H5Tconvert 603 * Signature: (JJJ[B[BJ)V 604 */ 605 JNIEXPORT void JNICALL 606 Java_hdf_hdf5lib_H5_H5Tconvert 607 (JNIEnv *, jclass, jlong, jlong, jlong, jbyteArray, jbyteArray, jlong); 608 609 /* 610 * Class: hdf_hdf5lib_H5 611 * Method: H5Tflush 612 * Signature: (J)V 613 */ 614 JNIEXPORT void JNICALL 615 Java_hdf_hdf5lib_H5_H5Tflush 616 (JNIEnv*, jclass, jlong); 617 618 /* 619 * Class: hdf_hdf5lib_H5 620 * Method: H5Trefresh 621 * Signature: (J)V 622 */ 623 JNIEXPORT void JNICALL 624 Java_hdf_hdf5lib_H5_H5Trefresh 625 (JNIEnv*, jclass, jlong); 626 627 #ifdef __cplusplus 628 } /* end extern "C" */ 629 #endif /* __cplusplus */ 630 631 #endif /* _Included_hdf_hdf5lib_H5_H5T */ 632