/usr/share/gtk-doc/html/libgda-4.0/GdaRow.html is in libgda-4.0-doc 4.2.8-2build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GdaDataModelArray's rows</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="index.html" title="GNOME Data Access 4 manual">
<link rel="up" href="data_models.html" title="Data handling">
<link rel="prev" href="GdaDataModelArray.html" title="GdaDataModelArray">
<link rel="next" href="GdaDataModelBdb.html" title="GdaDataModelBdb">
<meta name="generator" content="GTK-Doc V1.17 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="GdaDataModelArray.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="data_models.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">GNOME Data Access 4 manual</th>
<td><a accesskey="n" href="GdaDataModelBdb.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#GdaRow.synopsis" class="shortcut">Top</a>
|
<a href="#GdaRow.description" class="shortcut">Description</a>
|
<a href="#GdaRow.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
<a href="#GdaRow.properties" class="shortcut">Properties</a>
</td></tr>
</table>
<div class="refentry">
<a name="GdaRow"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="GdaRow.top_of_page"></a>GdaDataModelArray's rows</span></h2>
<p>GdaDataModelArray's rows — Row for a <a class="link" href="GdaDataModelArray.html" title="GdaDataModelArray"><span class="type">GdaDataModelArray</span></a> object</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="GdaRow.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">struct <a class="link" href="GdaRow.html#GdaRow-struct" title="struct GdaRow">GdaRow</a>;
<a class="link" href="GdaRow.html" title="GdaDataModelArray's rows"><span class="returnvalue">GdaRow</span></a> * <a class="link" href="GdaRow.html#gda-row-new" title="gda_row_new ()">gda_row_new</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> count</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> <a class="link" href="GdaRow.html#gda-row-get-length" title="gda_row_get_length ()">gda_row_get_length</a> (<em class="parameter"><code><a class="link" href="GdaRow.html" title="GdaDataModelArray's rows"><span class="type">GdaRow</span></a> *row</code></em>);
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-Generic-values.html#GValue"><span class="returnvalue">GValue</span></a> * <a class="link" href="GdaRow.html#gda-row-get-value" title="gda_row_get_value ()">gda_row_get_value</a> (<em class="parameter"><code><a class="link" href="GdaRow.html" title="GdaDataModelArray's rows"><span class="type">GdaRow</span></a> *row</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> num</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="GdaRow.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
+----GdaRow
</pre>
</div>
<div class="refsect1">
<a name="GdaRow.properties"></a><h2>Properties</h2>
<pre class="synopsis">
"<a class="link" href="GdaRow.html#GdaRow--nb-values" title='The "nb-values" property'>nb-values</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Write
</pre>
</div>
<div class="refsect1">
<a name="GdaRow.description"></a><h2>Description</h2>
<p>
The <a class="link" href="GdaDataModelArray.html" title="GdaDataModelArray"><span class="type">GdaDataModelArray</span></a> object uses <a class="link" href="GdaRow.html" title="GdaDataModelArray's rows"><span class="type">GdaRow</span></a> to store each row of data. Each <a class="link" href="GdaRow.html" title="GdaDataModelArray's rows"><span class="type">GdaRow</span></a> has the same
number of <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> values (equal to the number of columns of the data model).
</p>
<p>
As a side note, the <a class="link" href="GdaRow.html" title="GdaDataModelArray's rows"><span class="type">GdaRow</span></a> object is also used internally by the implementation of the data models returned
when executing a SELECT statement.
</p>
</div>
<div class="refsect1">
<a name="GdaRow.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="GdaRow-struct"></a><h3>struct GdaRow</h3>
<pre class="programlisting">struct GdaRow;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="gda-row-new"></a><h3>gda_row_new ()</h3>
<pre class="programlisting"><a class="link" href="GdaRow.html" title="GdaDataModelArray's rows"><span class="returnvalue">GdaRow</span></a> * gda_row_new (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> count</code></em>);</pre>
<p>
Creates a <a class="link" href="GdaRow.html" title="GdaDataModelArray's rows"><span class="type">GdaRow</span></a> which can hold <em class="parameter"><code>count</code></em> <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> values.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>count</code></em> :</span></p></td>
<td>number of <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> in the new <a class="link" href="GdaRow.html" title="GdaDataModelArray's rows"><span class="type">GdaRow</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a newly allocated <a class="link" href="GdaRow.html" title="GdaDataModelArray's rows"><span class="type">GdaRow</span></a> object.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gda-row-get-length"></a><h3>gda_row_get_length ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> gda_row_get_length (<em class="parameter"><code><a class="link" href="GdaRow.html" title="GdaDataModelArray's rows"><span class="type">GdaRow</span></a> *row</code></em>);</pre>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>row</code></em> :</span></p></td>
<td>a <a class="link" href="GdaRow.html" title="GdaDataModelArray's rows"><span class="type">GdaRow</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the number of columns that the <em class="parameter"><code>row</code></em> has.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gda-row-get-value"></a><h3>gda_row_get_value ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Generic-values.html#GValue"><span class="returnvalue">GValue</span></a> * gda_row_get_value (<em class="parameter"><code><a class="link" href="GdaRow.html" title="GdaDataModelArray's rows"><span class="type">GdaRow</span></a> *row</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> num</code></em>);</pre>
<p>
Gets a pointer to a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> stored in a <a class="link" href="GdaRow.html" title="GdaDataModelArray's rows"><span class="type">GdaRow</span></a>.
</p>
<p>
This is a pointer to the internal array of values. Don't try to free
or modify it (modifying is reserved to database provider's implementations).
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>row</code></em> :</span></p></td>
<td>a <a class="link" href="GdaRow.html" title="GdaDataModelArray's rows"><span class="type">GdaRow</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>num</code></em> :</span></p></td>
<td>field index.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a pointer to the <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> in the position <em class="parameter"><code>num</code></em> of <em class="parameter"><code>row</code></em>. <span class="annotation">[<a href="http://foldoc.org/transfer%20none"><span class="acronym">transfer none</span></a>]</span>
</td>
</tr>
</tbody>
</table></div>
</div>
</div>
<div class="refsect1">
<a name="GdaRow.property-details"></a><h2>Property Details</h2>
<div class="refsect2">
<a name="GdaRow--nb-values"></a><h3>The <code class="literal">"nb-values"</code> property</h3>
<pre class="programlisting"> "nb-values" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Write</pre>
<p>Number of values in the row.</p>
<p>Allowed values: >= 1</p>
<p>Default value: 1</p>
</div>
</div>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.17</div>
</body>
</html>
|