aboutsummaryrefslogtreecommitdiff
path: root/vendor/voclient/libvotable/doc/latex/votAttribute_8c.tex
blob: 7bcfdb86a0189fb33ef6c0f41de44e60cd64a35a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
hypertarget{votAttribute_8c}{
\section{votAttribute.c File Reference}
\label{votAttribute_8c}\index{votAttribute.c@{votAttribute.c}}
}
(Internal) Methods to manage XML attributes.  


{\tt \#include $<$string.h$>$}\par
{\tt \#include $<$stdio.h$>$}\par
{\tt \#include $<$stdlib.h$>$}\par
{\tt \#include $<$ctype.h$>$}\par
{\tt \#include \char`\"{}votParseP.h\char`\"{}}\par
\subsection*{Functions}
\begin{CompactItemize}
\item 
int \hyperlink{votAttribute_8c_0f451b6e1a9c2b2cd5c4e29219dda5d3}{vot\_\-attrSet} (AttrBlock $\ast$ablock, char $\ast$name, char $\ast$value)
\begin{CompactList}\small\item\em Set/Create an attributes (internal method). \item\end{CompactList}\item 
char $\ast$ \hyperlink{votAttribute_8c_bcd0d56898e2a62e86f081c65e8c6f2c}{vot\_\-attrGet} (AttrBlock $\ast$ablock, char $\ast$name)
\begin{CompactList}\small\item\em Get an attribute's value (internal method). \item\end{CompactList}\item 
char $\ast$ \hyperlink{votAttribute_8c_cab6f8b4c5dc706456be2e68ae823ffe}{vot\_\-attrXML} (AttrBlock $\ast$ablock)
\begin{CompactList}\small\item\em Get the attributes for an XML tag (internal method). \item\end{CompactList}\end{CompactItemize}


\label{_details}
\hypertarget{_details}{}
\subsection{Detailed Description}
(Internal) Methods to manage XML attributes. 

VOTATTRIBUTE.C -- (Internal) Methods to manage XML attributes.

\begin{Desc}
\item[Author:]Mike Fitzpatrick and Eric Timmermann \end{Desc}
\begin{Desc}
\item[Date:]8/03/09 \end{Desc}


\subsection{Function Documentation}
\hypertarget{votAttribute_8c_bcd0d56898e2a62e86f081c65e8c6f2c}{
\index{votAttribute.c@{votAttribute.c}!vot\_\-attrGet@{vot\_\-attrGet}}
\index{vot\_\-attrGet@{vot\_\-attrGet}!votAttribute.c@{votAttribute.c}}
\subsubsection[{vot\_\-attrGet}]{\setlength{\rightskip}{0pt plus 5cm}char $\ast$ vot\_\-attrGet (AttrBlock $\ast$ {\em ablock}, \/  char $\ast$ {\em name})}}
\label{votAttribute_8c_bcd0d56898e2a62e86f081c65e8c6f2c}


Get an attribute's value (internal method). 

vot\_\-attrGet -- Get an attribute's value (internal method).

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em $\ast$ablock}]An AttrBlock to insert these attributes \item[{\em $\ast$name}]A string that hold the name of an attribute \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]Value of the attribute or NULL \end{Desc}
\hypertarget{votAttribute_8c_0f451b6e1a9c2b2cd5c4e29219dda5d3}{
\index{votAttribute.c@{votAttribute.c}!vot\_\-attrSet@{vot\_\-attrSet}}
\index{vot\_\-attrSet@{vot\_\-attrSet}!votAttribute.c@{votAttribute.c}}
\subsubsection[{vot\_\-attrSet}]{\setlength{\rightskip}{0pt plus 5cm}status vot\_\-attrSet (AttrBlock $\ast$ {\em ablock}, \/  char $\ast$ {\em name}, \/  char $\ast$ {\em value})}}
\label{votAttribute_8c_0f451b6e1a9c2b2cd5c4e29219dda5d3}


Set/Create an attributes (internal method). 

vot\_\-attrSet -- Set/Create an attributes (internal method).

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em ablock}]An AttrBlock to insert these attributes. \item[{\em name}]A string that hold the name of an attribute. \item[{\em value}]A string that hold the value of an attribute. \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]The status of the request. 1 Success, 0=FAIL.\end{Desc}
\begin{Desc}
\item[Warning:]If an attribute has no name/value, this will not create it. \end{Desc}
\hypertarget{votAttribute_8c_cab6f8b4c5dc706456be2e68ae823ffe}{
\index{votAttribute.c@{votAttribute.c}!vot\_\-attrXML@{vot\_\-attrXML}}
\index{vot\_\-attrXML@{vot\_\-attrXML}!votAttribute.c@{votAttribute.c}}
\subsubsection[{vot\_\-attrXML}]{\setlength{\rightskip}{0pt plus 5cm}char $\ast$ vot\_\-attrXML (AttrBlock $\ast$ {\em ablock})}}
\label{votAttribute_8c_cab6f8b4c5dc706456be2e68ae823ffe}


Get the attributes for an XML tag (internal method). 

vot\_\-attrXML -- Get the attributes for an XML tag (internal method).

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em $\ast$ablock}]An AttrBlock to insert these attributes \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]A string containing the attributes for an XML tag \end{Desc}