/* --------------- */ /* --- nrio3.h --- */ /* --------------- */ /* * Copyright (c) 2000-2014, Lionel Lacassagne, All rights reserved * Univ Paris Sud XI, CNRS */ #ifndef _NR_IO3_H_ #define _NR_IO3_H_ /* -------------------- */ /* --- display_cube --- */ /* -- write_cube -- */ /* -- fread_cube -- */ /* -- fwrite_cube -- */ /* -------------------- */ #define display_type_cube(t) \ 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); \ 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); \ 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); \ 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); display_type_cube(int8_t); display_type_cube(uint8_t); display_type_cube(int16_t); display_type_cube(uint16_t); display_type_cube(int32_t); display_type_cube(uint32_t); display_type_cube(int64_t); display_type_cube(uint64_t); display_type_cube(float); display_type_cube(double); #endif