source: XIOS/trunk/src/interface/fortran_attr/variablegroup_interface_attr.f90 @ 472

Last change on this file since 472 was 472, checked in by ymipsl, 10 years ago

Enhancement : user defined global and field attribute can be output in the netcdfcf file.
A variable child element inclosed into a file element will be output as a global file attribute.
A variable child element inclosed into a field element will be output as a field attribute.

+ variable fortran interface added

YM

File size: 3.4 KB
Line 
1! * ************************************************************************** *
2! *               Interface auto generated - do not modify                     *
3! * ************************************************************************** *
4
5MODULE variablegroup_interface_attr
6  USE, INTRINSIC :: ISO_C_BINDING
7 
8  INTERFACE ! Do not call directly / interface FORTRAN 2003 <-> C99
9   
10   
11    SUBROUTINE cxios_set_variablegroup_group_ref(variablegroup_hdl, group_ref, group_ref_size) BIND(C)
12      USE ISO_C_BINDING
13      INTEGER (kind = C_INTPTR_T), VALUE :: variablegroup_hdl
14      CHARACTER(kind = C_CHAR)    , DIMENSION(*) :: group_ref
15      INTEGER  (kind = C_INT)     , VALUE        :: group_ref_size
16    END SUBROUTINE cxios_set_variablegroup_group_ref
17   
18    SUBROUTINE cxios_get_variablegroup_group_ref(variablegroup_hdl, group_ref, group_ref_size) BIND(C)
19      USE ISO_C_BINDING
20      INTEGER (kind = C_INTPTR_T), VALUE :: variablegroup_hdl
21      CHARACTER(kind = C_CHAR)    , DIMENSION(*) :: group_ref
22      INTEGER  (kind = C_INT)     , VALUE        :: group_ref_size
23    END SUBROUTINE cxios_get_variablegroup_group_ref
24   
25    FUNCTION cxios_is_defined_variablegroup_group_ref(variablegroup_hdl ) BIND(C)
26      USE ISO_C_BINDING
27      LOGICAL(kind=C_BOOL) :: cxios_is_defined_variablegroup_group_ref
28      INTEGER (kind = C_INTPTR_T), VALUE :: variablegroup_hdl
29    END FUNCTION cxios_is_defined_variablegroup_group_ref
30   
31   
32    SUBROUTINE cxios_set_variablegroup_name(variablegroup_hdl, name, name_size) BIND(C)
33      USE ISO_C_BINDING
34      INTEGER (kind = C_INTPTR_T), VALUE :: variablegroup_hdl
35      CHARACTER(kind = C_CHAR)    , DIMENSION(*) :: name
36      INTEGER  (kind = C_INT)     , VALUE        :: name_size
37    END SUBROUTINE cxios_set_variablegroup_name
38   
39    SUBROUTINE cxios_get_variablegroup_name(variablegroup_hdl, name, name_size) BIND(C)
40      USE ISO_C_BINDING
41      INTEGER (kind = C_INTPTR_T), VALUE :: variablegroup_hdl
42      CHARACTER(kind = C_CHAR)    , DIMENSION(*) :: name
43      INTEGER  (kind = C_INT)     , VALUE        :: name_size
44    END SUBROUTINE cxios_get_variablegroup_name
45   
46    FUNCTION cxios_is_defined_variablegroup_name(variablegroup_hdl ) BIND(C)
47      USE ISO_C_BINDING
48      LOGICAL(kind=C_BOOL) :: cxios_is_defined_variablegroup_name
49      INTEGER (kind = C_INTPTR_T), VALUE :: variablegroup_hdl
50    END FUNCTION cxios_is_defined_variablegroup_name
51   
52   
53    SUBROUTINE cxios_set_variablegroup_type(variablegroup_hdl, type, type_size) BIND(C)
54      USE ISO_C_BINDING
55      INTEGER (kind = C_INTPTR_T), VALUE :: variablegroup_hdl
56      CHARACTER(kind = C_CHAR)    , DIMENSION(*) :: type
57      INTEGER  (kind = C_INT)     , VALUE        :: type_size
58    END SUBROUTINE cxios_set_variablegroup_type
59   
60    SUBROUTINE cxios_get_variablegroup_type(variablegroup_hdl, type, type_size) BIND(C)
61      USE ISO_C_BINDING
62      INTEGER (kind = C_INTPTR_T), VALUE :: variablegroup_hdl
63      CHARACTER(kind = C_CHAR)    , DIMENSION(*) :: type
64      INTEGER  (kind = C_INT)     , VALUE        :: type_size
65    END SUBROUTINE cxios_get_variablegroup_type
66   
67    FUNCTION cxios_is_defined_variablegroup_type(variablegroup_hdl ) BIND(C)
68      USE ISO_C_BINDING
69      LOGICAL(kind=C_BOOL) :: cxios_is_defined_variablegroup_type
70      INTEGER (kind = C_INTPTR_T), VALUE :: variablegroup_hdl
71    END FUNCTION cxios_is_defined_variablegroup_type
72   
73   
74    END INTERFACE
75 
76END MODULE variablegroup_interface_attr
Note: See TracBrowser for help on using the repository browser.