Commit 23c3438b authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

cdilib.c update

parent 69e34d4e
......@@ -645,6 +645,16 @@ Set the currently active index of a subtype (e.g. current tile index)..
Get the currently active index of a subtype (e.g. current tile index)..
\section*{\tt \htmlref{subtypeInqAttribute}{subtypeInqAttribute}}
\begin{verbatim}
int subtypeInqAttribute (int subtypeID, int index, const char *key,
int *outValue);
\end{verbatim}
Inquire the value of a subtype attribute. Returns CDI_EINVAL if the attribute does not exist..
\section*{\tt \htmlref{subtypeInqSize}{subtypeInqSize}}
\begin{verbatim}
......
......@@ -647,6 +647,16 @@ Set the currently active index of a subtype (e.g. current tile index)..
Get the currently active index of a subtype (e.g. current tile index)..
\section*{\tt \htmlref{subtypeInqAttribute}{subtypeInqAttribute}}
\begin{verbatim}
INTEGER FUNCTION subtypeInqAttribute (INTEGER subtypeID, INTEGER index,
CHARACTER*(*) key, INTEGER outValue)
\end{verbatim}
Inquire the value of a subtype attribute. Returns CDI_EINVAL if the attribute does not exist..
\section*{\tt \htmlref{subtypeInqSize}{subtypeInqSize}}
\begin{verbatim}
......
......@@ -4,7 +4,7 @@
!
! Author:
! -------
! Uwe Schulzweida, MPI-MET, Hamburg, October 2015
! Uwe Schulzweida, MPI-MET, Hamburg, November 2015
!
INTEGER CDI_MAX_NAME
......@@ -2481,6 +2481,13 @@
! INTEGER attribute)
EXTERNAL subtypeInqTile
INTEGER subtypeInqAttribute
! (INTEGER subtypeID,
! INTEGER index,
! CHARACTER*(*) key,
! INTEGER outValue)
EXTERNAL subtypeInqAttribute
INTEGER vlistInqVarSubtype
! (INTEGER vlistID,
! INTEGER varID)
......
......@@ -555,6 +555,7 @@ FCALLSCSUB2 (subtypeDefActiveIndex, SUBTYPEDEFACTIVEINDEX, subtypedefactiveindex
query objects. */
FCALLSCFUN3 (INT, subtypeInqTile, SUBTYPEINQTILE, subtypeinqtile, INT, INT, INT)
FCALLSCFUN4 (INT, subtypeInqAttribute, SUBTYPEINQATTRIBUTE, subtypeinqattribute, INT, INT, STRING, PINT)
FCALLSCFUN2 (INT, vlistInqVarSubtype, VLISTINQVARSUBTYPE, vlistinqvarsubtype, INT, INT)
FCALLSCSUB3 (gribapiLibraryVersion, GRIBAPILIBRARYVERSION, gribapilibraryversion, PINT, PINT, PINT)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment