source: XIOS/dev/dev_olga/src/generate_interface_decl.cpp @ 1021

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

Add a new attribute type for durations and use it for the context's timestep.

Note that the "xios_time" type and the "xios_set_timestep" procedure have been removed from the Fortran interface. Instead, the "xios_duration" type and the "xios_get_context_attr"/"xios_set_context_attr" procedures should now be used to get/set the timestep.

  • 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  macro(CDuration)
23}
Note: See TracBrowser for help on using the repository browser.