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

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

Enable GNU compilation

  • Property copyright set to
    Software name : XIOS (Xml I/O Server)
    http://forge.ipsl.jussieu.fr/ioserver
    Creation date : January 2009
    Licence : CeCCIL version2
    see license file in root directory : Licence_CeCILL_V2-en.txt
    or http://www.cecill.info/licences/Licence_CeCILL_V2-en.html
    Holder : CEA/LSCE (Laboratoire des Sciences du CLimat et de l'Environnement)
    CNRS/IPSL (Institut Pierre Simon Laplace)
    Project Manager : Yann Meurdesoif
    yann.meurdesoif@cea.fr
  • Property svn:eol-style set to native
File size: 1.2 KB
Line 
1#include "attribute_array_impl.hpp"
2
3
4
5namespace 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_)\
29macrotyperank(_TYPE_,1)\
30macrotyperank(_TYPE_,2)\
31macrotyperank(_TYPE_,3)\
32macrotyperank(_TYPE_,4)\
33macrotyperank(_TYPE_,5)\
34macrotyperank(_TYPE_,6)\
35macrotyperank(_TYPE_,7)
36
37macrotype(double)
38macrotype(int)
39macrotype(bool)
40macrotype(size_t)
41macrotype(float)
42macrotype(string)
43
44#undef macrotyperank
45#undef macrotype
46
47}
Note: See TracBrowser for help on using the repository browser.