source: XIOS/trunk/src/interface/fortran_attr/variable_interface_attr.F90 @ 551

Last change on this file since 551 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
File size: 2.3 KB
Line 
1! * ************************************************************************** *
2! *               Interface auto generated - do not modify                     *
3! * ************************************************************************** *
4#include "../fortran/xios_fortran_prefix.hpp"
5
6MODULE variable_interface_attr
7  USE, INTRINSIC :: ISO_C_BINDING
8 
9  INTERFACE ! Do not call directly / interface FORTRAN 2003 <-> C99
10   
11   
12    SUBROUTINE cxios_set_variable_name(variable_hdl, name, name_size) BIND(C)
13      USE ISO_C_BINDING
14      INTEGER (kind = C_INTPTR_T), VALUE :: variable_hdl
15      CHARACTER(kind = C_CHAR)    , DIMENSION(*) :: name
16      INTEGER  (kind = C_INT)     , VALUE        :: name_size
17    END SUBROUTINE cxios_set_variable_name
18   
19    SUBROUTINE cxios_get_variable_name(variable_hdl, name, name_size) BIND(C)
20      USE ISO_C_BINDING
21      INTEGER (kind = C_INTPTR_T), VALUE :: variable_hdl
22      CHARACTER(kind = C_CHAR)    , DIMENSION(*) :: name
23      INTEGER  (kind = C_INT)     , VALUE        :: name_size
24    END SUBROUTINE cxios_get_variable_name
25   
26    FUNCTION cxios_is_defined_variable_name(variable_hdl ) BIND(C)
27      USE ISO_C_BINDING
28      LOGICAL(kind=C_BOOL) :: cxios_is_defined_variable_name
29      INTEGER (kind = C_INTPTR_T), VALUE :: variable_hdl
30    END FUNCTION cxios_is_defined_variable_name
31   
32   
33    SUBROUTINE cxios_set_variable_type(variable_hdl, type, type_size) BIND(C)
34      USE ISO_C_BINDING
35      INTEGER (kind = C_INTPTR_T), VALUE :: variable_hdl
36      CHARACTER(kind = C_CHAR)    , DIMENSION(*) :: type
37      INTEGER  (kind = C_INT)     , VALUE        :: type_size
38    END SUBROUTINE cxios_set_variable_type
39   
40    SUBROUTINE cxios_get_variable_type(variable_hdl, type, type_size) BIND(C)
41      USE ISO_C_BINDING
42      INTEGER (kind = C_INTPTR_T), VALUE :: variable_hdl
43      CHARACTER(kind = C_CHAR)    , DIMENSION(*) :: type
44      INTEGER  (kind = C_INT)     , VALUE        :: type_size
45    END SUBROUTINE cxios_get_variable_type
46   
47    FUNCTION cxios_is_defined_variable_type(variable_hdl ) BIND(C)
48      USE ISO_C_BINDING
49      LOGICAL(kind=C_BOOL) :: cxios_is_defined_variable_type
50      INTEGER (kind = C_INTPTR_T), VALUE :: variable_hdl
51    END FUNCTION cxios_is_defined_variable_type
52   
53   
54    END INTERFACE
55 
56END MODULE variable_interface_attr
Note: See TracBrowser for help on using the repository browser.