source: XIOS/dev/dev_ym/XIOS_COUPLING/src/attribute_template_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: 745 bytes
Line 
1#include "attribute_template_impl.hpp"
2#include "attribute_template_specialisation.hpp"
3#include <string>
4#include "date.hpp"
5
6namespace xios
7{
8  template class CAttributeTemplate<int> ;
9  template class CAttributeTemplate<double> ;
10  template class CAttributeTemplate<bool> ;
11  template class CAttributeTemplate<string> ;
12  template class CAttributeTemplate<CDate> ;
13  template class CAttributeTemplate<CDuration> ;
14
15#define macrotype(_TYPE_)                                               \
16  template<> int CAttributeTemplate<_TYPE_>::TV_ttf_display_type( const CAttributeTemplate<_TYPE_>* attr ) \
17  {\
18    return show_TV_ttf_display_type (attr) ;\
19  }
20
21macrotype(double)
22macrotype(int)
23macrotype(bool)
24macrotype(string)
25//macrotype(CDate)
26//macrotype(CDuration)
27#undef macrotype
28
29}
Note: See TracBrowser for help on using the repository browser.