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 | |
---|
3 | namespace 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_)\ |
---|
13 | macrotyperank(_TYPE_,1)\ |
---|
14 | macrotyperank(_TYPE_,2)\ |
---|
15 | macrotyperank(_TYPE_,3)\ |
---|
16 | macrotyperank(_TYPE_,4)\ |
---|
17 | macrotyperank(_TYPE_,5)\ |
---|
18 | macrotyperank(_TYPE_,6)\ |
---|
19 | macrotyperank(_TYPE_,7) |
---|
20 | |
---|
21 | macrotype(double) |
---|
22 | macrotype(int) |
---|
23 | macrotype(bool) |
---|
24 | macrotype(size_t) |
---|
25 | macrotype(float) |
---|
26 | macrotype(string) |
---|
27 | |
---|
28 | #undef macrotyperank |
---|
29 | #undef macrotype |
---|
30 | |
---|
31 | } |
---|
32 | |
---|
Note: See
TracBrowser
for help on using the repository browser.