source: XIOS/trunk/src/generate_interface_decl.cpp @ 532

Last change on this file since 532 was 532, checked in by rlacroix, 9 years ago

Add a new attribute type for dates and use it for the context's start_date and time_origin.

The "xios_date" type should now be used to get/set date attributes through the Fortran interface. This avoids using strings to manipulate dates.

  • 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.1 KB
Line 
1#include "generate_interface_impl.hpp"
2
3namespace xios
4{
5
6#define macro(T) \
7  template void CInterface::AttributeCInterface<T>(ostream& oss,const string& className,const string& name) ; \
8  template void CInterface::AttributeFortran2003Interface<T>(ostream& oss,const string& className,const string& name) ; \
9  template void CInterface::AttributeFortranInterfaceDeclaration<T>(ostream& oss,const string& className,const string& name) ; \
10  template void CInterface::AttributeFortranInterfaceGetDeclaration<T>(ostream& oss,const string& className,const string& name) ; \
11  template void CInterface::AttributeFortranInterfaceBody<T>(ostream& oss,const string& className,const string& name) ; \
12  template void CInterface::AttributeFortranInterfaceGetBody<T>(ostream& oss,const string& className,const string& name) ; \
13  template string CInterface::getStrFortranType<T>(void) ; \
14  template string CInterface::getStrFortranKind<T>(void) ; \
15  template string CInterface::getStrFortranKindC<T>(void) ; \
16  template bool CInterface::matchingTypeCFortran<T>(void) ;
17 
18  macro(bool)
19  macro(int)
20  macro(double)
21  macro(CDate)
22}
Note: See TracBrowser for help on using the repository browser.