Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
libcdi
Commits
c9cbf8ed
Commit
c9cbf8ed
authored
Dec 15, 2009
by
Uwe Schulzweida
Browse files
added vlist_att.tex
parent
16dc60bc
Changes
3
Hide whitespace changes
Inline
Side-by-side
.gitattributes
View file @
c9cbf8ed
...
...
@@ -37,6 +37,7 @@ doc/tex/c_ref.tex -text
doc/tex/c_stream.tex -text
doc/tex/c_taxis.tex -text
doc/tex/c_vlist.tex -text
doc/tex/c_vlist_att.tex -text
doc/tex/c_vlist_var.tex -text
doc/tex/c_zaxis.tex -text
doc/tex/cdi_cman.tex -text
...
...
@@ -51,6 +52,7 @@ doc/tex/f_ref.tex -text
doc/tex/f_stream.tex -text
doc/tex/f_taxis.tex -text
doc/tex/f_vlist.tex -text
doc/tex/f_vlist_att.tex -text
doc/tex/f_vlist_var.tex -text
doc/tex/f_zaxis.tex -text
doc/tex/formats.tex -text
...
...
doc/tex/c_vlist_att.tex
0 → 100644
View file @
c9cbf8ed
\subsection
{
Get number of variable attributes:
{
\tt
vlistInqNatts
}}
\index
{
vlistInqNatts
}
\label
{
vlistInqNatts
}
The function
{
\tt
vlistInqNatts
}
gets the number of variable attributes assigned to this variable.
\subsubsection*
{
Usage
}
\begin{verbatim}
int vlistInqNatts(int vlistID, int varID, int *nattsp);
\end{verbatim}
\hspace*
{
4mm
}
\begin{minipage}
[]
{
15cm
}
\begin{deflist}
{
\tt
vlistID
\
}
\item
[{\tt vlistID}]
Variable list ID, from a previous call to
{
\htmlref
{
\tt
vlistCreate
}{
vlistCreate
}}
\item
[{\tt varID}]
Variable identifier, or CDI
\_
GLOBAL for a global attribute
\item
[{\tt nattsp}]
Pointer to location for returned number of variable attributes
\end{deflist}
\end{minipage}
\subsection
{
Get information about an attribute:
{
\tt
vlistInqAtt
}}
\index
{
vlistInqAtt
}
\label
{
vlistInqAtt
}
The function
{
\tt
vlistInqNatts
}
gets information about an attribute.
\subsubsection*
{
Usage
}
\begin{verbatim}
int vlistInqAtt(int vlistID, int varID, int attnum, char *name, int *typep, int *lenp);
\end{verbatim}
\hspace*
{
4mm
}
\begin{minipage}
[]
{
15cm
}
\begin{deflist}
{
\tt
vlistID
\
}
\item
[{\tt vlistID}]
Variable list ID, from a previous call to
{
\htmlref
{
\tt
vlistCreate
}{
vlistCreate
}}
\item
[{\tt varID}]
Variable identifier, or CDI
\_
GLOBAL for a global attribute
\item
[{\tt attnum}]
Attribute number (from 0 to natts-1)
\item
[{\tt name}]
Pointer to the location for the returned attribute name
\item
[{\tt typep}]
Pointer to location for returned attribute type
\item
[{\tt lenp}]
Pointer to location for returned attribute number
\end{deflist}
\end{minipage}
\subsection
{
Define an integer attribute:
{
\tt
vlistDefAttInt
}}
\index
{
vlistDefAttInt
}
\label
{
vlistDefAttInt
}
The function
{
\tt
vlistDefAttInt
}
defines an integer attribute.
\subsubsection*
{
Usage
}
\begin{verbatim}
int vlistDefAttInt(int vlistID, int varID, const char *name, int len, const int *ip);
\end{verbatim}
\hspace*
{
4mm
}
\begin{minipage}
[]
{
15cm
}
\begin{deflist}
{
\tt
vlistID
\
}
\item
[{\tt vlistID}]
Variable list ID, from a previous call to
{
\htmlref
{
\tt
vlistCreate
}{
vlistCreate
}}
\item
[{\tt varID}]
Variable identifier, or CDI
\_
GLOBAL for a global attribute
\item
[{\tt name}]
Attribute name
\item
[{\tt len}]
Number of values provided for the attribute
\item
[{\tt ip}]
Pointer to one or more integer values
\end{deflist}
\end{minipage}
\subsection
{
Get the value(s) of an integer attribute:
{
\tt
vlistInqAttInt
}}
\index
{
vlistInqAttInt
}
\label
{
vlistInqAttInt
}
The function
{
\tt
vlistInqAttInt
}
gets the values(s) of an integer attribute.
\subsubsection*
{
Usage
}
\begin{verbatim}
int vlistInqAttInt(int vlistID, int varID, const char *name, int mlen, int *ip);
\end{verbatim}
\hspace*
{
4mm
}
\begin{minipage}
[]
{
15cm
}
\begin{deflist}
{
\tt
vlistID
\
}
\item
[{\tt vlistID}]
Variable list ID, from a previous call to
{
\htmlref
{
\tt
vlistCreate
}{
vlistCreate
}}
\item
[{\tt varID}]
Variable identifier, or CDI
\_
GLOBAL for a global attribute
\item
[{\tt name}]
Attribute name
\item
[{\tt mlen}]
Number of allocated values provided for the attribute
\item
[{\tt ip}]
Pointer location for returned integer attribute value(s)
\end{deflist}
\end{minipage}
\subsection
{
Define a floating point attribute:
{
\tt
vlistDefAttFlt
}}
\index
{
vlistDefAttFlt
}
\label
{
vlistDefAttFlt
}
The function
{
\tt
vlistDefAttFlt
}
defines a floating point attribute.
\subsubsection*
{
Usage
}
\begin{verbatim}
int vlistDefAttFlt(int vlistID, int varID, const char *name, int len,
const double *dp);
\end{verbatim}
\hspace*
{
4mm
}
\begin{minipage}
[]
{
15cm
}
\begin{deflist}
{
\tt
vlistID
\
}
\item
[{\tt vlistID}]
Variable list ID, from a previous call to
{
\htmlref
{
\tt
vlistCreate
}{
vlistCreate
}}
\item
[{\tt varID}]
Variable identifier, or CDI
\_
GLOBAL for a global attribute
\item
[{\tt name}]
Attribute name
\item
[{\tt len}]
Number of values provided for the attribute
\item
[{\tt dp}]
Pointer to one or more floating point values
\end{deflist}
\end{minipage}
\subsection
{
Get the value(s) of a floating point attribute:
{
\tt
vlistInqAttFlt
}}
\index
{
vlistInqAttFlt
}
\label
{
vlistInqAttFlt
}
The function
{
\tt
vlistInqAttFlt
}
gets the values(s) of a floating point attribute.
\subsubsection*
{
Usage
}
\begin{verbatim}
int vlistInqAttFlt(int vlistID, int varID, const char *name, int mlen, int *dp);
\end{verbatim}
\hspace*
{
4mm
}
\begin{minipage}
[]
{
15cm
}
\begin{deflist}
{
\tt
vlistID
\
}
\item
[{\tt vlistID}]
Variable list ID, from a previous call to
{
\htmlref
{
\tt
vlistCreate
}{
vlistCreate
}}
\item
[{\tt varID}]
Variable identifier, or CDI
\_
GLOBAL for a global attribute
\item
[{\tt name}]
Attribute name
\item
[{\tt mlen}]
Number of allocated values provided for the attribute
\item
[{\tt dp}]
Pointer location for returned floating point attribute value(s)
\end{deflist}
\end{minipage}
\subsection
{
Define a text attribute:
{
\tt
vlistDefAttTxt
}}
\index
{
vlistDefAttTxt
}
\label
{
vlistDefAttTxt
}
The function
{
\tt
vlistDefAttTxt
}
defines a text attribute.
\subsubsection*
{
Usage
}
\begin{verbatim}
int vlistDefAttTxt(int vlistID, int varID, const char *name, int len, const char *tp);
\end{verbatim}
\hspace*
{
4mm
}
\begin{minipage}
[]
{
15cm
}
\begin{deflist}
{
\tt
vlistID
\
}
\item
[{\tt vlistID}]
Variable list ID, from a previous call to
{
\htmlref
{
\tt
vlistCreate
}{
vlistCreate
}}
\item
[{\tt varID}]
Variable identifier, or CDI
\_
GLOBAL for a global attribute
\item
[{\tt name}]
Attribute name
\item
[{\tt len}]
Number of values provided for the attribute
\item
[{\tt tp}]
Pointer to one or more character values
\end{deflist}
\end{minipage}
\subsection
{
Get the value(s) of a text attribute:
{
\tt
vlistInqAttTxt
}}
\index
{
vlistInqAttTxt
}
\label
{
vlistInqAttTxt
}
The function
{
\tt
vlistInqAttTxt
}
gets the values(s) of a text attribute.
\subsubsection*
{
Usage
}
\begin{verbatim}
int vlistInqAttTxt(int vlistID, int varID, const char *name, int mlen, int *tp);
\end{verbatim}
\hspace*
{
4mm
}
\begin{minipage}
[]
{
15cm
}
\begin{deflist}
{
\tt
vlistID
\
}
\item
[{\tt vlistID}]
Variable list ID, from a previous call to
{
\htmlref
{
\tt
vlistCreate
}{
vlistCreate
}}
\item
[{\tt varID}]
Variable identifier, or CDI
\_
GLOBAL for a global attribute
\item
[{\tt name}]
Attribute name
\item
[{\tt mlen}]
Number of allocated values provided for the attribute
\item
[{\tt tp}]
Pointer location for returned text attribute value(s)
\end{deflist}
\end{minipage}
doc/tex/f_vlist_att.tex
0 → 100644
View file @
c9cbf8ed
\subsection
{
Get number of variable attributes:
{
\tt
vlistInqNatts
}}
\index
{
vlistInqNatts
}
\label
{
vlistInqNatts
}
The function
{
\tt
vlistInqNatts
}
gets the number of variable attributes assigned to this variable.
\subsubsection*
{
Usage
}
\begin{verbatim}
INTEGER FUNCTION vlistInqNatts(INTEGER vlistID, INTEGER varID, INTEGER nattsp)
\end{verbatim}
\hspace*
{
4mm
}
\begin{minipage}
[]
{
15cm
}
\begin{deflist}
{
\tt
vlistID
\
}
\item
[{\tt vlistID}]
Variable list ID, from a previous call to
{
\htmlref
{
\tt
vlistCreate
}{
vlistCreate
}}
\item
[{\tt varID}]
Variable identifier, or CDI
\_
GLOBAL for a global attribute
\item
[{\tt nattsp}]
Pointer to location for returned number of variable attributes
\end{deflist}
\end{minipage}
\subsection
{
Get information about an attribute:
{
\tt
vlistInqAtt
}}
\index
{
vlistInqAtt
}
\label
{
vlistInqAtt
}
The function
{
\tt
vlistInqNatts
}
gets information about an attribute.
\subsubsection*
{
Usage
}
\begin{verbatim}
INTEGER FUNCTION vlistInqAtt(INTEGER vlistID, INTEGER varID, INTEGER attnum,
CHARACTER*(*) name, INTEGER typep, INTEGER lenp)
\end{verbatim}
\hspace*
{
4mm
}
\begin{minipage}
[]
{
15cm
}
\begin{deflist}
{
\tt
vlistID
\
}
\item
[{\tt vlistID}]
Variable list ID, from a previous call to
{
\htmlref
{
\tt
vlistCreate
}{
vlistCreate
}}
\item
[{\tt varID}]
Variable identifier, or CDI
\_
GLOBAL for a global attribute
\item
[{\tt attnum}]
Attribute number (from 0 to natts-1)
\item
[{\tt name}]
Pointer to the location for the returned attribute name
\item
[{\tt typep}]
Pointer to location for returned attribute type
\item
[{\tt lenp}]
Pointer to location for returned attribute number
\end{deflist}
\end{minipage}
\subsection
{
Define an integer attribute:
{
\tt
vlistDefAttInt
}}
\index
{
vlistDefAttInt
}
\label
{
vlistDefAttInt
}
The function
{
\tt
vlistDefAttInt
}
defines an integer attribute.
\subsubsection*
{
Usage
}
\begin{verbatim}
INTEGER FUNCTION vlistDefAttInt(INTEGER vlistID, INTEGER varID,
CHARACTER*(*) name, INTEGER len,
const INTEGER ip)
\end{verbatim}
\hspace*
{
4mm
}
\begin{minipage}
[]
{
15cm
}
\begin{deflist}
{
\tt
vlistID
\
}
\item
[{\tt vlistID}]
Variable list ID, from a previous call to
{
\htmlref
{
\tt
vlistCreate
}{
vlistCreate
}}
\item
[{\tt varID}]
Variable identifier, or CDI
\_
GLOBAL for a global attribute
\item
[{\tt name}]
Attribute name
\item
[{\tt len}]
Number of values provided for the attribute
\item
[{\tt ip}]
Pointer to one or more integer values
\end{deflist}
\end{minipage}
\subsection
{
Get the value(s) of an integer attribute:
{
\tt
vlistInqAttInt
}}
\index
{
vlistInqAttInt
}
\label
{
vlistInqAttInt
}
The function
{
\tt
vlistInqAttInt
}
gets the values(s) of an integer attribute.
\subsubsection*
{
Usage
}
\begin{verbatim}
INTEGER FUNCTION vlistInqAttInt(INTEGER vlistID, INTEGER varID,
CHARACTER*(*) name, INTEGER mlen, INTEGER ip)
\end{verbatim}
\hspace*
{
4mm
}
\begin{minipage}
[]
{
15cm
}
\begin{deflist}
{
\tt
vlistID
\
}
\item
[{\tt vlistID}]
Variable list ID, from a previous call to
{
\htmlref
{
\tt
vlistCreate
}{
vlistCreate
}}
\item
[{\tt varID}]
Variable identifier, or CDI
\_
GLOBAL for a global attribute
\item
[{\tt name}]
Attribute name
\item
[{\tt mlen}]
Number of allocated values provided for the attribute
\item
[{\tt ip}]
Pointer location for returned integer attribute value(s)
\end{deflist}
\end{minipage}
\subsection
{
Define a floating point attribute:
{
\tt
vlistDefAttFlt
}}
\index
{
vlistDefAttFlt
}
\label
{
vlistDefAttFlt
}
The function
{
\tt
vlistDefAttFlt
}
defines a floating point attribute.
\subsubsection*
{
Usage
}
\begin{verbatim}
INTEGER FUNCTION vlistDefAttFlt(INTEGER vlistID, INTEGER varID,
CHARACTER*(*) name, INTEGER len, const REAL*8 dp)
\end{verbatim}
\hspace*
{
4mm
}
\begin{minipage}
[]
{
15cm
}
\begin{deflist}
{
\tt
vlistID
\
}
\item
[{\tt vlistID}]
Variable list ID, from a previous call to
{
\htmlref
{
\tt
vlistCreate
}{
vlistCreate
}}
\item
[{\tt varID}]
Variable identifier, or CDI
\_
GLOBAL for a global attribute
\item
[{\tt name}]
Attribute name
\item
[{\tt len}]
Number of values provided for the attribute
\item
[{\tt dp}]
Pointer to one or more floating point values
\end{deflist}
\end{minipage}
\subsection
{
Get the value(s) of a floating point attribute:
{
\tt
vlistInqAttFlt
}}
\index
{
vlistInqAttFlt
}
\label
{
vlistInqAttFlt
}
The function
{
\tt
vlistInqAttFlt
}
gets the values(s) of a floating point attribute.
\subsubsection*
{
Usage
}
\begin{verbatim}
INTEGER FUNCTION vlistInqAttFlt(INTEGER vlistID, INTEGER varID,
CHARACTER*(*) name, INTEGER mlen, INTEGER dp)
\end{verbatim}
\hspace*
{
4mm
}
\begin{minipage}
[]
{
15cm
}
\begin{deflist}
{
\tt
vlistID
\
}
\item
[{\tt vlistID}]
Variable list ID, from a previous call to
{
\htmlref
{
\tt
vlistCreate
}{
vlistCreate
}}
\item
[{\tt varID}]
Variable identifier, or CDI
\_
GLOBAL for a global attribute
\item
[{\tt name}]
Attribute name
\item
[{\tt mlen}]
Number of allocated values provided for the attribute
\item
[{\tt dp}]
Pointer location for returned floating point attribute value(s)
\end{deflist}
\end{minipage}
\subsection
{
Define a text attribute:
{
\tt
vlistDefAttTxt
}}
\index
{
vlistDefAttTxt
}
\label
{
vlistDefAttTxt
}
The function
{
\tt
vlistDefAttTxt
}
defines a text attribute.
\subsubsection*
{
Usage
}
\begin{verbatim}
INTEGER FUNCTION vlistDefAttTxt(INTEGER vlistID, INTEGER varID,
CHARACTER*(*) name, INTEGER len,
CHARACTER*(*) tp)
\end{verbatim}
\hspace*
{
4mm
}
\begin{minipage}
[]
{
15cm
}
\begin{deflist}
{
\tt
vlistID
\
}
\item
[{\tt vlistID}]
Variable list ID, from a previous call to
{
\htmlref
{
\tt
vlistCreate
}{
vlistCreate
}}
\item
[{\tt varID}]
Variable identifier, or CDI
\_
GLOBAL for a global attribute
\item
[{\tt name}]
Attribute name
\item
[{\tt len}]
Number of values provided for the attribute
\item
[{\tt tp}]
Pointer to one or more character values
\end{deflist}
\end{minipage}
\subsection
{
Get the value(s) of a text attribute:
{
\tt
vlistInqAttTxt
}}
\index
{
vlistInqAttTxt
}
\label
{
vlistInqAttTxt
}
The function
{
\tt
vlistInqAttTxt
}
gets the values(s) of a text attribute.
\subsubsection*
{
Usage
}
\begin{verbatim}
INTEGER FUNCTION vlistInqAttTxt(INTEGER vlistID, INTEGER varID,
CHARACTER*(*) name, INTEGER mlen, INTEGER tp)
\end{verbatim}
\hspace*
{
4mm
}
\begin{minipage}
[]
{
15cm
}
\begin{deflist}
{
\tt
vlistID
\
}
\item
[{\tt vlistID}]
Variable list ID, from a previous call to
{
\htmlref
{
\tt
vlistCreate
}{
vlistCreate
}}
\item
[{\tt varID}]
Variable identifier, or CDI
\_
GLOBAL for a global attribute
\item
[{\tt name}]
Attribute name
\item
[{\tt mlen}]
Number of allocated values provided for the attribute
\item
[{\tt tp}]
Pointer location for returned text attribute value(s)
\end{deflist}
\end{minipage}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment