1 | /* --------------- */ |
---|
2 | /* --- nrio3.h --- */ |
---|
3 | /* --------------- */ |
---|
4 | |
---|
5 | /* |
---|
6 | * Copyright (c) 2000-2014, Lionel Lacassagne, All rights reserved |
---|
7 | * Univ Paris Sud XI, CNRS |
---|
8 | */ |
---|
9 | |
---|
10 | #ifndef _NR_IO3_H_ |
---|
11 | #define _NR_IO3_H_ |
---|
12 | |
---|
13 | /* -------------------- */ |
---|
14 | /* --- display_cube --- */ |
---|
15 | /* -- write_cube -- */ |
---|
16 | /* -- fread_cube -- */ |
---|
17 | /* -- fwrite_cube -- */ |
---|
18 | /* -------------------- */ |
---|
19 | |
---|
20 | #define display_type_cube(t) \ |
---|
21 | void short_name(t,display_,cube)(t *** c, int32_t ndl, int32_t ndh, int32_t nrl, int32_t nrh, int32_t ncl, int32_t nch, char * format, char * name); \ |
---|
22 | void short_name(t,write_,cube)(t *** c, int32_t ndl, int32_t ndh, int32_t nrl, int32_t nrh, int32_t ncl, int32_t nch, char * format, char * filename); \ |
---|
23 | void short_name(t,fread_,cube)(t *** c, int32_t ndl, int32_t ndh, int32_t nrl, int32_t nrh, int32_t ncl, int32_t nch, char * format, char * filename); \ |
---|
24 | void short_name(t,fwrite_,cube)(t *** c, int32_t ndl, int32_t ndh, int32_t nrl, int32_t nrh, int32_t ncl, int32_t nch, char * format, char * filename); |
---|
25 | |
---|
26 | display_type_cube(int8_t); |
---|
27 | display_type_cube(uint8_t); |
---|
28 | display_type_cube(int16_t); |
---|
29 | display_type_cube(uint16_t); |
---|
30 | display_type_cube(int32_t); |
---|
31 | display_type_cube(uint32_t); |
---|
32 | display_type_cube(int64_t); |
---|
33 | display_type_cube(uint64_t); |
---|
34 | display_type_cube(float); |
---|
35 | display_type_cube(double); |
---|
36 | |
---|
37 | #endif |
---|
38 | |
---|