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/attribute_template_decl.cpp

    r501 r532  
    22#include "attribute_template_specialisation.hpp" 
    33#include <string> 
     4#include "date.hpp" 
    45 
    56namespace xios 
     
    910  template class CAttributeTemplate<bool> ; 
    1011  template class CAttributeTemplate<string> ; 
     12  template class CAttributeTemplate<CDate> ; 
    1113} 
Note: See TracChangeset for help on using the changeset viewer.