source: XIOS/dev/dev_ym/XIOS_COUPLING/src/array_new.cpp @ 2118

Last change on this file since 2118 was 2118, checked in by jderouillat, 3 years ago

Enable GNU compilation

  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 586 bytes
Line 
1#include "array_new.hpp"
2
3namespace xios
4{
5
6#define macrotyperank(_TYPE_,_RANK_)\
7  template<> int CArray<_TYPE_,_RANK_>::TV_ttf_display_type( const CArray<_TYPE_,_RANK_>* array ) \
8  {\
9    return show_TV_ttf_display_type (array) ;\
10  }
11
12#define macrotype(_TYPE_)\
13macrotyperank(_TYPE_,1)\
14macrotyperank(_TYPE_,2)\
15macrotyperank(_TYPE_,3)\
16macrotyperank(_TYPE_,4)\
17macrotyperank(_TYPE_,5)\
18macrotyperank(_TYPE_,6)\
19macrotyperank(_TYPE_,7)
20
21macrotype(double)
22macrotype(int)
23macrotype(bool)
24macrotype(size_t)
25macrotype(float)
26macrotype(string)
27
28#undef macrotyperank
29#undef macrotype
30
31}
32
Note: See TracBrowser for help on using the repository browser.