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 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>FoObject</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
<link rel="start" href="index.html" title="xmlroff Reference Manual">
<link rel="up" href="object.html" title="FoObject is wonderful">
<link rel="prev" href="object.html" title="FoObject is wonderful">
<link rel="next" href="node.html" title="FoNode is wonderful">
<meta name="generator" content="GTK-Doc V1.10 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
<link rel="chapter" href="users.html" title="Users' Guide">
<link rel="chapter" href="developers.html" title="Developers' Guide">
<link rel="chapter" href="object-hierarchy.html" title="Object Hierarchy">
<link rel="chapter" href="object.html" title="FoObject is wonderful">
<link rel="chapter" href="node.html" title="FoNode is wonderful">
<link rel="chapter" href="interfaces.html" title="Interfaces are truly wonderful">
<link rel="chapter" href="formatting-objects.html" title="Formatting Objects are truly wonderful">
<link rel="chapter" href="properties.html" title="Properties">
<link rel="chapter" href="areas.html" title="Area Objects">
<link rel="chapter" href="datatypes.html" title="Datatype Objects">
<link rel="chapter" href="context.html" title="Property Context Object">
<link rel="chapter" href="other-objects.html" title="Other Objects">
<link rel="chapter" href="utility-objects.html" title="Utility Objects">
<link rel="chapter" href="utility-modules.html" title="Utility Modules">
</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="object.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="object.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">xmlroff Reference Manual</th>
<td><a accesskey="n" href="node.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#FoObject.synopsis" class="shortcut">Top</a>
|
<a href="#FoObject.description" class="shortcut">Description</a>
|
<a href="#FoObject.object-hierarchy" class="shortcut">Object Hierarchy</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="FoObject"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="FoObject.top_of_page"></a>FoObject</span></h2>
<p>FoObject — libfo base object type</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="FoObject.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
<a class="link" href="FoObject.html#FoObject-struct" title="FoObject">FoObject</a>;
<a class="link" href="FoObject.html#FoObjectClass" title="FoObjectClass">FoObjectClass</a>;
<a class="link" href="FoObject.html" title="FoObject">FoObject</a>* <a class="link" href="FoObject.html#fo-object-new" title="fo_object_new ()">fo_object_new</a> (void);
void <a class="link" href="FoObject.html#fo-object-debug-dump" title="fo_object_debug_dump ()">fo_object_debug_dump</a> (<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> object,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> depth);
<a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* <a class="link" href="FoObject.html#fo-object-debug-sprintf" title="fo_object_debug_sprintf ()">fo_object_debug_sprintf</a> (<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> object);
<a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* <a class="link" href="FoObject.html#fo-object-sprintf" title="fo_object_sprintf ()">fo_object_sprintf</a> (<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> object);
void <a class="link" href="FoObject.html#fo-object-log-error" title="fo_object_log_error ()">fo_object_log_error</a> (<a class="link" href="FoObject.html" title="FoObject">FoObject</a> *object,
<a
href="../glib/glib-Error-Reporting.html#GError"
>GError</a> **error);
void <a class="link" href="FoObject.html#fo-object-log-warning" title="fo_object_log_warning ()">fo_object_log_warning</a> (<a class="link" href="FoObject.html" title="FoObject">FoObject</a> *object,
<a
href="../glib/glib-Error-Reporting.html#GError"
>GError</a> **warning);
void <a class="link" href="FoObject.html#fo-object-log-debug" title="fo_object_log_debug ()">fo_object_log_debug</a> (<a class="link" href="FoObject.html" title="FoObject">FoObject</a> *object,
<a
href="../glib/glib-Error-Reporting.html#GError"
>GError</a> **debug);
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> <a class="link" href="FoObject.html#fo-object-log-or-propagate-error" title="fo_object_log_or_propagate_error ()">fo_object_log_or_propagate_error</a> (<a class="link" href="FoObject.html" title="FoObject">FoObject</a> *fo_object,
<a
href="../glib/glib-Error-Reporting.html#GError"
>GError</a> **dest,
<a
href="../glib/glib-Error-Reporting.html#GError"
>GError</a> *src);
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> <a class="link" href="FoObject.html#fo-object-maybe-propagate-error" title="fo_object_maybe_propagate_error ()">fo_object_maybe_propagate_error</a> (<a class="link" href="FoObject.html" title="FoObject">FoObject</a> *fo_object,
<a
href="../glib/glib-Error-Reporting.html#GError"
>GError</a> **dest,
<a
href="../glib/glib-Error-Reporting.html#GError"
>GError</a> *src,
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> continue_after_error);
<a
href="../glib/glib-Basic-Types.html#guint"
>guint</a> <a class="link" href="FoObject.html#fo-object-hash" title="fo_object_hash ()">fo_object_hash</a> (<a class="link" href="FoObject.html" title="FoObject">FoObject</a> *object,
<a
href="../glib/glib-Error-Reporting.html#GError"
>GError</a> **error);
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> <a class="link" href="FoObject.html#fo-object-equal" title="fo_object_equal ()">fo_object_equal</a> (<a class="link" href="FoObject.html" title="FoObject">FoObject</a> *a,
<a class="link" href="FoObject.html" title="FoObject">FoObject</a> *b,
<a
href="../glib/glib-Error-Reporting.html#GError"
>GError</a> **error);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="FoObject.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
<a
href="../gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
+----FoObject
+----<a class="link" href="FoNode.html" title="FoNode">FoNode</a>
+----<a class="link" href="FoDatatype.html" title="FoDatatype">FoDatatype</a>
+----<a class="link" href="FoContext.html" title="FoContext">FoContext</a>
+----<a class="link" href="FoProperty.html" title="FoProperty">FoProperty</a>
+----<a class="link" href="FoHashTable.html" title="FoHashTable">FoHashTable</a>
</pre>
</div>
<div class="refsect1" lang="en">
<a name="FoObject.description"></a><h2>Description</h2>
<p>
Top of the object hierarchy for libfo.
</p>
<p>
Extends <a
href="../gobject/gobject-The-Base-Object-Type.html#GObject"
><span class="type">GObject</span></a> to add some common debugging and logging
functions.</p>
<p>
</p>
</div>
<div class="refsect1" lang="en">
<a name="FoObject.details"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="FoObject-struct"></a><h3>FoObject</h3>
<pre class="programlisting">typedef struct _FoObject FoObject;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="FoObjectClass"></a><h3>FoObjectClass</h3>
<pre class="programlisting">typedef struct {
GObjectClass parent_class;
void (* debug_dump) (FoObject *object,
gint depth);
char* (* debug_sprintf) (FoObject *object);
char* (* print_sprintf) (FoObject *object);
void (* log_error) (FoObject *object,
GError **error);
void (* log_warning) (FoObject *object,
GError **warning);
void (* log_debug) (FoObject *object,
GError **debug);
gboolean (* log_or_propagate_error) (FoObject *fo_object,
GError **dest,
GError *src);
gboolean (* maybe_propagate_error) (FoObject *fo_object,
GError **dest,
GError *src,
gboolean continue_after_error);
guint (* hash_func) (gconstpointer key);
gboolean (* equal_func) (gconstpointer a,
gconstpointer b);
} FoObjectClass;
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="fo-object-new"></a><h3>fo_object_new ()</h3>
<pre class="programlisting"><a class="link" href="FoObject.html" title="FoObject">FoObject</a>* fo_object_new (void);</pre>
<p>
Creates a new <a class="link" href="FoObject.html" title="FoObject"><span class="type">FoObject</span></a> initialized to default value.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> the new <a class="link" href="FoObject.html" title="FoObject"><span class="type">FoObject</span></a>.
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="fo-object-debug-dump"></a><h3>fo_object_debug_dump ()</h3>
<pre class="programlisting">void fo_object_debug_dump (<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> object,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> depth);</pre>
<p>
Calls debug_dump method of class of <em class="parameter"><code>object</code></em>, if <em class="parameter"><code>object</code></em> is an
<a class="link" href="FoObject.html" title="FoObject"><span class="type">FoObject</span></a> or descendant type of <a class="link" href="FoObject.html" title="FoObject"><span class="type">FoObject</span></a>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
<td> The <a class="link" href="FoObject.html" title="FoObject"><span class="type">FoObject</span></a> object.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>depth</code></em> :</span></p></td>
<td> Indent level to add to the output.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="fo-object-debug-sprintf"></a><h3>fo_object_debug_sprintf ()</h3>
<pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* fo_object_debug_sprintf (<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> object);</pre>
<p>
Calls debug_sprintf method of class of <em class="parameter"><code>object</code></em>, if <em class="parameter"><code>object</code></em> is an
<a class="link" href="FoObject.html" title="FoObject"><span class="type">FoObject</span></a> or descendant type of <a class="link" href="FoObject.html" title="FoObject"><span class="type">FoObject</span></a>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
<td> The <a class="link" href="FoObject.html" title="FoObject"><span class="type">FoObject</span></a> object.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> Result of debug_sprintf method of class of <em class="parameter"><code>object</code></em>.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="fo-object-sprintf"></a><h3>fo_object_sprintf ()</h3>
<pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* fo_object_sprintf (<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> object);</pre>
<p>
Calls sprintf method of class of <em class="parameter"><code>object</code></em>, if <em class="parameter"><code>object</code></em> is an
<a class="link" href="FoObject.html" title="FoObject"><span class="type">FoObject</span></a> or descendant type of <a class="link" href="FoObject.html" title="FoObject"><span class="type">FoObject</span></a>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
<td> The <a class="link" href="FoObject.html" title="FoObject"><span class="type">FoObject</span></a> object.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> Result of sprintf method of class of <em class="parameter"><code>object</code></em>.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="fo-object-log-error"></a><h3>fo_object_log_error ()</h3>
<pre class="programlisting">void fo_object_log_error (<a class="link" href="FoObject.html" title="FoObject">FoObject</a> *object,
<a
href="../glib/glib-Error-Reporting.html#GError"
>GError</a> **error);</pre>
<p>
Calls the 'log_error' method of the class of <em class="parameter"><code>object</code></em>.
</p>
<p>
The called method clears <em class="parameter"><code>error</code></em>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
<td> <a class="link" href="FoObject.html" title="FoObject"><span class="type">FoObject</span></a> that is subject of <em class="parameter"><code>error</code></em>.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
<td> <a
href="../glib/glib-Error-Reporting.html#GError"
><span class="type">GError</span></a> with information about error that occurred.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="fo-object-log-warning"></a><h3>fo_object_log_warning ()</h3>
<pre class="programlisting">void fo_object_log_warning (<a class="link" href="FoObject.html" title="FoObject">FoObject</a> *object,
<a
href="../glib/glib-Error-Reporting.html#GError"
>GError</a> **warning);</pre>
<p>
Calls the 'log_warning' method of the class of <em class="parameter"><code>object</code></em>.
</p>
<p>
The called method clears <em class="parameter"><code>error</code></em>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
<td> <a class="link" href="FoObject.html" title="FoObject"><span class="type">FoObject</span></a> that is subject of <em class="parameter"><code>error</code></em>.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>warning</code></em> :</span></p></td>
<td> <a
href="../glib/glib-Error-Reporting.html#GError"
><span class="type">GError</span></a> with information about warning that occurred.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="fo-object-log-debug"></a><h3>fo_object_log_debug ()</h3>
<pre class="programlisting">void fo_object_log_debug (<a class="link" href="FoObject.html" title="FoObject">FoObject</a> *object,
<a
href="../glib/glib-Error-Reporting.html#GError"
>GError</a> **debug);</pre>
<p>
Calls the 'log_debug' method of the class of <em class="parameter"><code>object</code></em>.
</p>
<p>
The called method clears <em class="parameter"><code>error</code></em>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
<td> <a class="link" href="FoObject.html" title="FoObject"><span class="type">FoObject</span></a> that is subject of <em class="parameter"><code>error</code></em>.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>debug</code></em> :</span></p></td>
<td> <a
href="../glib/glib-Error-Reporting.html#GError"
><span class="type">GError</span></a> with debugging information.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="fo-object-log-or-propagate-error"></a><h3>fo_object_log_or_propagate_error ()</h3>
<pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> fo_object_log_or_propagate_error (<a class="link" href="FoObject.html" title="FoObject">FoObject</a> *fo_object,
<a
href="../glib/glib-Error-Reporting.html#GError"
>GError</a> **dest,
<a
href="../glib/glib-Error-Reporting.html#GError"
>GError</a> *src);</pre>
<p>
If can propagate <em class="parameter"><code>src</code></em> to <em class="parameter"><code>dest</code></em>, do so, otherwise log <em class="parameter"><code>src</code></em> using
<a class="link" href="FoObject.html#fo-object-log-error" title="fo_object_log_error ()"><code class="function">fo_object_log_error()</code></a>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>fo_object</code></em> :</span></p></td>
<td> <a class="link" href="FoObject.html" title="FoObject"><span class="type">FoObject</span></a> that is the subject of <em class="parameter"><code>src</code></em>.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>dest</code></em> :</span></p></td>
<td> <a
href="../glib/glib-Error-Reporting.html#GError"
><span class="type">GError</span></a> to which to propagate <em class="parameter"><code>src</code></em>, or NULL.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>src</code></em> :</span></p></td>
<td> <a
href="../glib/glib-Error-Reporting.html#GError"
><span class="type">GError</span></a> with information about error that occurred.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> if error propagated, otherwise <a
href="../glib/glib-Standard-Macros.html#FALSE:CAPS"
><code class="literal">FALSE</code></a>.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="fo-object-maybe-propagate-error"></a><h3>fo_object_maybe_propagate_error ()</h3>
<pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> fo_object_maybe_propagate_error (<a class="link" href="FoObject.html" title="FoObject">FoObject</a> *fo_object,
<a
href="../glib/glib-Error-Reporting.html#GError"
>GError</a> **dest,
<a
href="../glib/glib-Error-Reporting.html#GError"
>GError</a> *src,
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> continue_after_error);</pre>
<p>
If <em class="parameter"><code>continue_after_error</code></em> is <a
href="../glib/glib-Standard-Macros.html#FALSE:CAPS"
><code class="literal">FALSE</code></a> and can propagate <em class="parameter"><code>src</code></em> to <em class="parameter"><code>dest</code></em>,
then do so, otherwise log <em class="parameter"><code>src</code></em> using <a class="link" href="FoObject.html#fo-object-log-error" title="fo_object_log_error ()"><code class="function">fo_object_log_error()</code></a>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>fo_object</code></em> :</span></p></td>
<td> <a class="link" href="FoObject.html" title="FoObject"><span class="type">FoObject</span></a> that is the subject of <em class="parameter"><code>src</code></em>.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>dest</code></em> :</span></p></td>
<td> <a
href="../glib/glib-Error-Reporting.html#GError"
><span class="type">GError</span></a> to which to propagate <em class="parameter"><code>src</code></em>, or NULL.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>src</code></em> :</span></p></td>
<td> <a
href="../glib/glib-Error-Reporting.html#GError"
><span class="type">GError</span></a> with information about error that occurred.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>continue_after_error</code></em> :</span></p></td>
<td> Whether or not to continue after an error.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> if error propagated, otherwise <a
href="../glib/glib-Standard-Macros.html#FALSE:CAPS"
><code class="literal">FALSE</code></a>.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="fo-object-hash"></a><h3>fo_object_hash ()</h3>
<pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#guint"
>guint</a> fo_object_hash (<a class="link" href="FoObject.html" title="FoObject">FoObject</a> *object,
<a
href="../glib/glib-Error-Reporting.html#GError"
>GError</a> **error);</pre>
<p>
Create a hash code for the object.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
<td> <a class="link" href="FoObject.html" title="FoObject"><span class="type">FoObject</span></a> for which to get hash value.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
<td> <a
href="../glib/glib-Error-Reporting.html#GError"
><span class="type">GError</span></a> with information about error that occurred.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> Hash code for the object.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="fo-object-equal"></a><h3>fo_object_equal ()</h3>
<pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> fo_object_equal (<a class="link" href="FoObject.html" title="FoObject">FoObject</a> *a,
<a class="link" href="FoObject.html" title="FoObject">FoObject</a> *b,
<a
href="../glib/glib-Error-Reporting.html#GError"
>GError</a> **error);</pre>
<p>
Compare <em class="parameter"><code>a</code></em> to <em class="parameter"><code>b</code></em> using the 'equal_func' of the class of <em class="parameter"><code>a</code></em>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>a</code></em> :</span></p></td>
<td> First object to compare.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>b</code></em> :</span></p></td>
<td> Second object to compare.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
<td> <a
href="../glib/glib-Error-Reporting.html#GError"
><span class="type">GError</span></a> with information about error that occurred.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> if the objects are equal.
</td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.10</div>
</body>
</html>
|