File: classGnome_1_1Gda_1_1QueryField.html

package info (click to toggle)
libgdamm3.0 3.0.0-2
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 13,804 kB
  • ctags: 6,365
  • sloc: xml: 14,451; sh: 8,913; cpp: 1,473; makefile: 138; perl: 108
file content (538 lines) | stat: -rw-r--r-- 34,670 bytes parent folder | download
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
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>libgdamm: Gnome::Gda::QueryField Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head>
<body bgcolor="#ffffff">
<table border="0" width="100%">
<tr>
    <td>libgdamm Reference Documentation</td>
</tr>
</table>
<center>
  <a class="qindex" href="../../../../../libgnomedbmm-3.0/docs/index.html">Main Page</a> &nbsp;
  <a class="qindex" href="namespaces.html"> Namespaces</a> &nbsp;
  <a href="../../../../../libgnomedbmm-3.0/docs/tutorial/html/index.html"> Book</a> &nbsp;
</center>
<hr width="100%"/>

<!-- Generated by Doxygen 1.5.1 -->
<div class="nav">
<a class="el" href="namespaceGnome.html">Gnome</a>::<a class="el" href="namespaceGnome_1_1Gda.html">Gda</a>::<a class="el" href="classGnome_1_1Gda_1_1QueryField.html">QueryField</a></div>
<h1>Gnome::Gda::QueryField Class Reference</h1><!-- doxytag: class="Gnome::Gda::QueryField" --><!-- doxytag: inherits="Gnome::Gda::QueryObject" -->Parent class for any query's field.  
<a href="#_details">More...</a>
<p>
Inheritance diagram for Gnome::Gda::QueryField:<p><center><img src="classGnome_1_1Gda_1_1QueryField__inherit__graph.png" border="0" usemap="#Gnome_1_1Gda_1_1QueryField__inherit__map" alt="Inheritance graph"></center>
<map name="Gnome_1_1Gda_1_1QueryField__inherit__map">
<area href="classGnome_1_1Gda_1_1QueryFieldAgg.html" shape="rect" coords="475,5,677,32" alt="">
<area href="classGnome_1_1Gda_1_1QueryFieldAll.html" shape="rect" coords="480,56,672,83" alt="">
<area href="classGnome_1_1Gda_1_1QueryFieldField.html" shape="rect" coords="473,107,679,133" alt="">
<area href="classGnome_1_1Gda_1_1QueryFieldFunc.html" shape="rect" coords="472,157,680,184" alt="">
<area href="classGnome_1_1Gda_1_1QueryFieldValue.html" shape="rect" coords="471,208,681,235" alt="">
<area href="classGnome_1_1Gda_1_1QueryObject.html" shape="rect" coords="5,107,195,133" alt="">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classGnome_1_1Gda_1_1QueryField-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGnome_1_1Gda_1_1QueryField.html">QueryField</a>&gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1QueryField.html#cc2c33bff1234b69564d18056598604a">copy</a> () const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This is a copy constructor.  <a href="#cc2c33bff1234b69564d18056598604a"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1QueryField.html#10a7a98cf698c35631f94fc5c5abf12a">get_alias</a> () const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get <em>qfield's</em> alias.  <a href="#10a7a98cf698c35631f94fc5c5abf12a"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;const <a class="el" href="classGnome_1_1Gda_1_1DictType.html">DictType</a>&gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1QueryField.html#085aca563593f672713ed35b0b7550b3">get_dict_type</a> () const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the <a class="el" href="classGnome_1_1Gda_1_1DictType.html">Gda::DictType</a> represented by the <em>qfield</em> object: for a function it returns the return type, for a value, it returns its type, etc.  <a href="#085aca563593f672713ed35b0b7550b3"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGnome_1_1Gda_1_1DictType.html">DictType</a>&gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1QueryField.html#90a9eb6858e7861ec30ee9e0a2df7296">get_dict_type</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the <a class="el" href="classGnome_1_1Gda_1_1DictType.html">Gda::DictType</a> represented by the <em>qfield</em> object: for a function it returns the return type, for a value, it returns its type, etc.  <a href="#90a9eb6858e7861ec30ee9e0a2df7296"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1QueryField.html#38c0108457d6d5c101c201ead9784222">get_internal</a> () const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><dl class="return" compact><dt><b>Returns:</b></dt><dd><code>true</code> if <em>field</em> is internal. </dd></dl>
 <a href="#38c0108457d6d5c101c201ead9784222"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1SListHandle.html">Glib::SListHandle</a>&lt; <a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<br>
 const <a class="el" href="classGnome_1_1Gda_1_1Parameter.html">Parameter</a> &gt; &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1QueryField.html#b1e097c0524ebdd33de639e11f318f23">get_parameters</a> () const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get a list of all the parameters needed to <em>qfield</em> to be rendered as a valid statement.  <a href="#b1e097c0524ebdd33de639e11f318f23"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1SListHandle.html">Glib::SListHandle</a>&lt; <a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<br>
 <a class="el" href="classGnome_1_1Gda_1_1Parameter.html">Parameter</a> &gt; &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1QueryField.html#13203587711016c8bdab25329728302d">get_parameters</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get a list of all the parameters needed to <em>qfield</em> to be rendered as a valid statement.  <a href="#13203587711016c8bdab25329728302d"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1QueryField.html#f12546895fd9f6649a26293ffb7a2245">get_visible</a> () const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><dl class="return" compact><dt><b>Returns:</b></dt><dd><code>true</code> if <em>field</em> is visible. </dd></dl>
 <a href="#f12546895fd9f6649a26293ffb7a2245"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">const GdaQueryField*&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1QueryField.html#463f697dea59000f8065466de13345fd">gobj</a> () const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Provides access to the underlying C GObject.  <a href="#463f697dea59000f8065466de13345fd"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">GdaQueryField*&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1QueryField.html#6a9ea796c68e77c8fc51d3e64db6f697">gobj</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Provides access to the underlying C GObject.  <a href="#6a9ea796c68e77c8fc51d3e64db6f697"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">GdaQueryField*&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1QueryField.html#657f5230f41e0167945643d92dffbdc8">gobj_copy</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.  <a href="#657f5230f41e0167945643d92dffbdc8"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1QueryField.html#81eed6e9d794743cd37ed49d7df522f5">is_equal</a> (const <a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;const <a class="el" href="classGnome_1_1Gda_1_1QueryField.html">QueryField</a>&gt;&amp; qfield2) const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Compares the <em>qfield1</em> and <em>qfield2</em>.  <a href="#81eed6e9d794743cd37ed49d7df522f5"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1QueryField.html#c621d05fe653f000372951d8f51275ad">is_list</a> () const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Tells if <em>qfield</em> can potentially represent a list of values.  <a href="#c621d05fe653f000372951d8f51275ad"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1QueryField.html#a327d1f1ad8c77c60f5486d1b9f050f6">set_alias</a> (const <a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; alias)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets <em>qfield's</em> alias.  <a href="#a327d1f1ad8c77c60f5486d1b9f050f6"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1QueryField.html#06b3f1de05444a2131919830b5537b80">set_internal</a> (bool internal=true)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets weather <em>qfield</em> is internal or not.  <a href="#06b3f1de05444a2131919830b5537b80"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1QueryField.html#ebce77875bebd383bac050f80be88001">set_visible</a> (bool visible=true)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the visibility of <em>qfield</em>.  <a href="#ebce77875bebd383bac050f80be88001"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1QueryField.html#5047e88a244869efe9b602e61df1e244">~QueryField</a> ()</td></tr>

<tr><td colspan="2"><br><h2>Related Functions</h2></td></tr>
<tr><td colspan="2">(Note that these are not member functions.) <br><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGnome_1_1Gda_1_1QueryField.html">Gnome::Gda::QueryField</a>&gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1QueryField.html#ea1aafc39695a9ab5f112aa6c6ee00f9">wrap</a> (GdaQueryField* object, bool take_copy=false)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">A <a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/namespaceGlib.html#671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object.  <a href="#ea1aafc39695a9ab5f112aa6c6ee00f9"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Parent class for any query's field. 
<p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="5047e88a244869efe9b602e61df1e244"></a><!-- doxytag: member="Gnome::Gda::QueryField::~QueryField" ref="5047e88a244869efe9b602e61df1e244" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual Gnome::Gda::QueryField::~QueryField           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="cc2c33bff1234b69564d18056598604a"></a><!-- doxytag: member="Gnome::Gda::QueryField::copy" ref="cc2c33bff1234b69564d18056598604a" args="() const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGnome_1_1Gda_1_1QueryField.html">QueryField</a>&gt; Gnome::Gda::QueryField::copy           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This is a copy constructor. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The new object. </dd></dl>

</div>
</div><p>
<a class="anchor" name="10a7a98cf698c35631f94fc5c5abf12a"></a><!-- doxytag: member="Gnome::Gda::QueryField::get_alias" ref="10a7a98cf698c35631f94fc5c5abf12a" args="() const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> Gnome::Gda::QueryField::get_alias           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get <em>qfield's</em> alias. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The alias. </dd></dl>

</div>
</div><p>
<a class="anchor" name="085aca563593f672713ed35b0b7550b3"></a><!-- doxytag: member="Gnome::Gda::QueryField::get_dict_type" ref="085aca563593f672713ed35b0b7550b3" args="() const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;const <a class="el" href="classGnome_1_1Gda_1_1DictType.html">DictType</a>&gt; Gnome::Gda::QueryField::get_dict_type           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get the <a class="el" href="classGnome_1_1Gda_1_1DictType.html">Gda::DictType</a> represented by the <em>qfield</em> object: for a function it returns the return type, for a value, it returns its type, etc. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The data type, or <code>0</code> if <em>qfield</em> does not have a data type. </dd></dl>

</div>
</div><p>
<a class="anchor" name="90a9eb6858e7861ec30ee9e0a2df7296"></a><!-- doxytag: member="Gnome::Gda::QueryField::get_dict_type" ref="90a9eb6858e7861ec30ee9e0a2df7296" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGnome_1_1Gda_1_1DictType.html">DictType</a>&gt; Gnome::Gda::QueryField::get_dict_type           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get the <a class="el" href="classGnome_1_1Gda_1_1DictType.html">Gda::DictType</a> represented by the <em>qfield</em> object: for a function it returns the return type, for a value, it returns its type, etc. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The data type, or <code>0</code> if <em>qfield</em> does not have a data type. </dd></dl>

</div>
</div><p>
<a class="anchor" name="38c0108457d6d5c101c201ead9784222"></a><!-- doxytag: member="Gnome::Gda::QueryField::get_internal" ref="38c0108457d6d5c101c201ead9784222" args="() const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gnome::Gda::QueryField::get_internal           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd><code>true</code> if <em>field</em> is internal. </dd></dl>

<p>

</div>
</div><p>
<a class="anchor" name="b1e097c0524ebdd33de639e11f318f23"></a><!-- doxytag: member="Gnome::Gda::QueryField::get_parameters" ref="b1e097c0524ebdd33de639e11f318f23" args="() const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1SListHandle.html">Glib::SListHandle</a>&lt;<a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;const <a class="el" href="classGnome_1_1Gda_1_1Parameter.html">Parameter</a>&gt; &gt; Gnome::Gda::QueryField::get_parameters           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get a list of all the parameters needed to <em>qfield</em> to be rendered as a valid statement. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A new list of parameters for <em>qfield</em>. </dd></dl>

</div>
</div><p>
<a class="anchor" name="13203587711016c8bdab25329728302d"></a><!-- doxytag: member="Gnome::Gda::QueryField::get_parameters" ref="13203587711016c8bdab25329728302d" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1SListHandle.html">Glib::SListHandle</a>&lt;<a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGnome_1_1Gda_1_1Parameter.html">Parameter</a>&gt; &gt; Gnome::Gda::QueryField::get_parameters           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get a list of all the parameters needed to <em>qfield</em> to be rendered as a valid statement. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A new list of parameters for <em>qfield</em>. </dd></dl>

</div>
</div><p>
<a class="anchor" name="f12546895fd9f6649a26293ffb7a2245"></a><!-- doxytag: member="Gnome::Gda::QueryField::get_visible" ref="f12546895fd9f6649a26293ffb7a2245" args="() const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gnome::Gda::QueryField::get_visible           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd><code>true</code> if <em>field</em> is visible. </dd></dl>

<p>

</div>
</div><p>
<a class="anchor" name="463f697dea59000f8065466de13345fd"></a><!-- doxytag: member="Gnome::Gda::QueryField::gobj" ref="463f697dea59000f8065466de13345fd" args="() const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const GdaQueryField* Gnome::Gda::QueryField::gobj           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Provides access to the underlying C GObject. 
<p>

<p>
Reimplemented from <a class="el" href="classGnome_1_1Gda_1_1QueryObject.html#e0bc9cafe7fa5770fb58e3acbe8c07bf">Gnome::Gda::QueryObject</a>.
<p>
Reimplemented in <a class="el" href="classGnome_1_1Gda_1_1QueryFieldAgg.html#bc5af9d5e05e2c6f5f480d61ec0d45b9">Gnome::Gda::QueryFieldAgg</a>, <a class="el" href="classGnome_1_1Gda_1_1QueryFieldAll.html#cd93e578232bc1fc3f3cb45eb20fc495">Gnome::Gda::QueryFieldAll</a>, <a class="el" href="classGnome_1_1Gda_1_1QueryFieldField.html#5fced664ce2db1839888c39e5c1eb97e">Gnome::Gda::QueryFieldField</a>, <a class="el" href="classGnome_1_1Gda_1_1QueryFieldFunc.html#d518375d27012bd0fe1016032b36a501">Gnome::Gda::QueryFieldFunc</a>, and <a class="el" href="classGnome_1_1Gda_1_1QueryFieldValue.html#77e45e6a7389f36a787bf748598353c6">Gnome::Gda::QueryFieldValue</a>.
</div>
</div><p>
<a class="anchor" name="6a9ea796c68e77c8fc51d3e64db6f697"></a><!-- doxytag: member="Gnome::Gda::QueryField::gobj" ref="6a9ea796c68e77c8fc51d3e64db6f697" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GdaQueryField* Gnome::Gda::QueryField::gobj           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Provides access to the underlying C GObject. 
<p>

<p>
Reimplemented from <a class="el" href="classGnome_1_1Gda_1_1QueryObject.html#dfcccaac97369eaf3b6600d0e2e8fe6d">Gnome::Gda::QueryObject</a>.
<p>
Reimplemented in <a class="el" href="classGnome_1_1Gda_1_1QueryFieldAgg.html#78a1e83b7ccf21954f2edfdbae78d14e">Gnome::Gda::QueryFieldAgg</a>, <a class="el" href="classGnome_1_1Gda_1_1QueryFieldAll.html#4b52987359d925b51b1bf0b3a130f168">Gnome::Gda::QueryFieldAll</a>, <a class="el" href="classGnome_1_1Gda_1_1QueryFieldField.html#176ad83768c0df362f38efdd90ba9c0c">Gnome::Gda::QueryFieldField</a>, <a class="el" href="classGnome_1_1Gda_1_1QueryFieldFunc.html#a8a0bfd7222eb61dc3b7a50e19497871">Gnome::Gda::QueryFieldFunc</a>, and <a class="el" href="classGnome_1_1Gda_1_1QueryFieldValue.html#566bc3d24200f13ff4a6686d7e983dc5">Gnome::Gda::QueryFieldValue</a>.
</div>
</div><p>
<a class="anchor" name="657f5230f41e0167945643d92dffbdc8"></a><!-- doxytag: member="Gnome::Gda::QueryField::gobj_copy" ref="657f5230f41e0167945643d92dffbdc8" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GdaQueryField* Gnome::Gda::QueryField::gobj_copy           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. 
<p>

<p>
Reimplemented from <a class="el" href="classGnome_1_1Gda_1_1QueryObject.html#108767880b586d72dac659f9fa3566ff">Gnome::Gda::QueryObject</a>.
<p>
Reimplemented in <a class="el" href="classGnome_1_1Gda_1_1QueryFieldAgg.html#41485660cb7d315c61846374a7e7b459">Gnome::Gda::QueryFieldAgg</a>, <a class="el" href="classGnome_1_1Gda_1_1QueryFieldAll.html#d001e23d5b89547959055e14bb301620">Gnome::Gda::QueryFieldAll</a>, <a class="el" href="classGnome_1_1Gda_1_1QueryFieldField.html#89ec1fc04bf96f4209062736a51d0ae1">Gnome::Gda::QueryFieldField</a>, <a class="el" href="classGnome_1_1Gda_1_1QueryFieldFunc.html#9288196eb656297ea8381621d59c6c77">Gnome::Gda::QueryFieldFunc</a>, and <a class="el" href="classGnome_1_1Gda_1_1QueryFieldValue.html#973d48895e4931eed2cfdec289f5ac03">Gnome::Gda::QueryFieldValue</a>.
</div>
</div><p>
<a class="anchor" name="81eed6e9d794743cd37ed49d7df522f5"></a><!-- doxytag: member="Gnome::Gda::QueryField::is_equal" ref="81eed6e9d794743cd37ed49d7df522f5" args="(const Glib::RefPtr&lt; const QueryField &gt; &amp;qfield2) const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gnome::Gda::QueryField::is_equal           </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;const <a class="el" href="classGnome_1_1Gda_1_1QueryField.html">QueryField</a>&gt;&amp;&nbsp;</td>
          <td class="paramname"> <em>qfield2</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Compares the <em>qfield1</em> and <em>qfield2</em>. 
<p>
The name and aliases of the two fields are not compared, only the contents of the fields are. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>qfield2</em>&nbsp;</td><td>A <a class="el" href="classGnome_1_1Gda_1_1QueryField.html">Gda::QueryField</a> object. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd><code>true</code> if they are equal and <code>false</code> otherwise. </dd></dl>

</div>
</div><p>
<a class="anchor" name="c621d05fe653f000372951d8f51275ad"></a><!-- doxytag: member="Gnome::Gda::QueryField::is_list" ref="c621d05fe653f000372951d8f51275ad" args="() const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gnome::Gda::QueryField::is_list           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Tells if <em>qfield</em> can potentially represent a list of values. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd><code>true</code> if <em>field</em> can be a list of values. </dd></dl>

</div>
</div><p>
<a class="anchor" name="a327d1f1ad8c77c60f5486d1b9f050f6"></a><!-- doxytag: member="Gnome::Gda::QueryField::set_alias" ref="a327d1f1ad8c77c60f5486d1b9f050f6" args="(const Glib::ustring &amp;alias)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gnome::Gda::QueryField::set_alias           </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>alias</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets <em>qfield's</em> alias. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>alias</em>&nbsp;</td><td>The alias to set <em>qfield</em> to. </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="06b3f1de05444a2131919830b5537b80"></a><!-- doxytag: member="Gnome::Gda::QueryField::set_internal" ref="06b3f1de05444a2131919830b5537b80" args="(bool internal=true)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gnome::Gda::QueryField::set_internal           </td>
          <td>(</td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>internal</em> = <code>true</code>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets weather <em>qfield</em> is internal or not. 
<p>
Internal fields in a query are fields added or changed by libgnomedb itself, such fields may or may not be visible. 
</div>
</div><p>
<a class="anchor" name="ebce77875bebd383bac050f80be88001"></a><!-- doxytag: member="Gnome::Gda::QueryField::set_visible" ref="ebce77875bebd383bac050f80be88001" args="(bool visible=true)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gnome::Gda::QueryField::set_visible           </td>
          <td>(</td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>visible</em> = <code>true</code>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets the visibility of <em>qfield</em>. 
<p>
A visible field will appear in the query's corresponding (virtual) entity, whereas a non visible one will be hidden (and possibly not taking part in the query). 
</div>
</div><p>
<hr><h2>Friends And Related Function Documentation</h2>
<a class="anchor" name="ea1aafc39695a9ab5f112aa6c6ee00f9"></a><!-- doxytag: member="Gnome::Gda::QueryField::wrap" ref="ea1aafc39695a9ab5f112aa6c6ee00f9" args="(GdaQueryField *object, bool take_copy=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGnome_1_1Gda_1_1QueryField.html">Gnome::Gda::QueryField</a>&gt; wrap           </td>
          <td>(</td>
          <td class="paramtype">GdaQueryField *&nbsp;</td>
          <td class="paramname"> <em>object</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>take_copy</em> = <code>false</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [related]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
A <a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/namespaceGlib.html#671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>object</em>&nbsp;</td><td>The C instance. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>take_copy</em>&nbsp;</td><td>False if the result should take ownership of the C instance. True if it should take a new copy or ref. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A C++ instance that wraps this C instance. </dd></dl>

</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="queryfield_8h.html">queryfield.h</a></ul>
<hr><address><small>
Generated for libgdamm by <a href="http://www.doxygen.org/index.html">
Doxygen</a> 1.5.1 &copy;&nbsp;1997-2001</small></address>
</body>
</html>