Ignore:
Timestamp:
12/10/14 14:27:09 (9 years ago)
Author:
rlacroix
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/object_template_impl.hpp

    r511 r532  
    335335     oss<<"#include \"group_template.hpp\""<<iendl ; 
    336336     oss<<"#include \"icutil.hpp\""<<iendl ; 
     337     oss<<"#include \"icdate.hpp\""<<iendl ; 
    337338     oss<<"#include \"timer.hpp\""<<iendl ; 
    338339     oss<<"#include \"node_type.hpp\""<<iendl ; 
     
    357358     oss<<"! *               Interface auto generated - do not modify                     *"<<iendl ; 
    358359     oss<<"! * ************************************************************************** *"<<iendl; 
     360     oss<<"#include \"../fortran/xios_fortran_prefix.hpp\""<<iendl ; 
    359361     oss<<iendl ; 
    360362     oss<<"MODULE "<<className<<"_interface_attr"<<iendl++ ; 
Note: See TracChangeset for help on using the changeset viewer.