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
|
Rev | Line | |
---|
[352] | 1 | #include "attribute_template_impl.hpp" |
---|
| 2 | #include "attribute_template_specialisation.hpp" |
---|
| 3 | #include <string> |
---|
[532] | 4 | #include "date.hpp" |
---|
[352] | 5 | |
---|
| 6 | namespace xios |
---|
| 7 | { |
---|
| 8 | template class CAttributeTemplate<int> ; |
---|
| 9 | template class CAttributeTemplate<double> ; |
---|
| 10 | template class CAttributeTemplate<bool> ; |
---|
| 11 | template class CAttributeTemplate<string> ; |
---|
[532] | 12 | template class CAttributeTemplate<CDate> ; |
---|
[537] | 13 | template class CAttributeTemplate<CDuration> ; |
---|
[2118] | 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 | |
---|
| 21 | macrotype(double) |
---|
| 22 | macrotype(int) |
---|
| 23 | macrotype(bool) |
---|
| 24 | macrotype(string) |
---|
| 25 | //macrotype(CDate) |
---|
| 26 | //macrotype(CDuration) |
---|
| 27 | #undef macrotype |
---|
| 28 | |
---|
[369] | 29 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.