1 | #include "attribute_array_impl.hpp" |
---|
2 | |
---|
3 | |
---|
4 | |
---|
5 | namespace xios |
---|
6 | { |
---|
7 | template class CAttributeArray<double,1> ; |
---|
8 | template class CAttributeArray<double,2> ; |
---|
9 | template class CAttributeArray<double,3> ; |
---|
10 | template class CAttributeArray<int,1> ; |
---|
11 | template class CAttributeArray<int,2> ; |
---|
12 | template class CAttributeArray<bool,1> ; |
---|
13 | template class CAttributeArray<bool,2> ; |
---|
14 | template class CAttributeArray<bool,3> ; |
---|
15 | template class CAttributeArray<bool,4> ; |
---|
16 | template class CAttributeArray<bool,5> ; |
---|
17 | template class CAttributeArray<bool,6> ; |
---|
18 | template class CAttributeArray<bool,7> ; |
---|
19 | template class CAttributeArray<StdString,1> ; |
---|
20 | template class CAttributeArray<StdString,2> ; |
---|
21 | |
---|
22 | #define macrotyperank(_TYPE_,_RANK_) \ |
---|
23 | template<> int CAttributeArray<_TYPE_,_RANK_>::TV_ttf_display_type(const CAttributeArray<_TYPE_,_RANK_>* array ) \ |
---|
24 | {\ |
---|
25 | return CAttributeArray<_TYPE_,_RANK_>::show_TV_ttf_display_type (array) ;\ |
---|
26 | } |
---|
27 | |
---|
28 | #define macrotype(_TYPE_)\ |
---|
29 | macrotyperank(_TYPE_,1)\ |
---|
30 | macrotyperank(_TYPE_,2)\ |
---|
31 | macrotyperank(_TYPE_,3)\ |
---|
32 | macrotyperank(_TYPE_,4)\ |
---|
33 | macrotyperank(_TYPE_,5)\ |
---|
34 | macrotyperank(_TYPE_,6)\ |
---|
35 | macrotyperank(_TYPE_,7) |
---|
36 | |
---|
37 | macrotype(double) |
---|
38 | macrotype(int) |
---|
39 | macrotype(bool) |
---|
40 | macrotype(size_t) |
---|
41 | macrotype(float) |
---|
42 | macrotype(string) |
---|
43 | |
---|
44 | #undef macrotyperank |
---|
45 | #undef macrotype |
---|
46 | |
---|
47 | } |
---|