Ignore:
Timestamp:
12/10/14 14:27:09 (10 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/type/type_decl.cpp

    r501 r532  
    44#include "type_specialisation.hpp" 
    55#include <string> ; 
     6#include "date.hpp" 
    67#include "xmlioserver_spl.hpp" 
    78 
     
    2324  template CMessage& operator<< <decl_type> (CMessage& msg, decl_type& type) ; 
    2425   
    25   macro(string)  
    26   macro(int)  
     26  macro(string) 
     27  macro(int) 
    2728  macro(double) 
    28   macro(bool)   
    29   macro(StdSize)  
    30  
     29  macro(bool) 
     30  macro(StdSize) 
     31  macro(CDate) 
    3132} 
Note: See TracChangeset for help on using the changeset viewer.