1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
<title>Symbol comprehension</title>
6
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
7
<link rel="home" href="index.html" title="API Documentation for the Zeitgeist Client Library">
8
<link rel="up" href="ch02.html" title="Utility Functions">
9
<link rel="prev" href="zeitgeist-1.0-Timestamp-handling.html" title="Timestamp handling">
10
<link rel="next" href="ch03.html" title="Enumerations and Macros">
11
<meta name="generator" content="GTK-Doc V1.16 (XML mode)">
12
<link rel="stylesheet" href="style.css" type="text/css">
14
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
17
<td><a accesskey="p" href="zeitgeist-1.0-Timestamp-handling.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
18
<td><a accesskey="u" href="ch02.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
19
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
20
<th width="100%" align="center">API Documentation for the Zeitgeist Client Library</th>
21
<td><a accesskey="n" href="ch03.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
23
<tr><td colspan="5" class="shortcuts">
24
<a href="#zeitgeist-1.0-Symbol-comprehension.synopsis" class="shortcut">Top</a>
26
<a href="#zeitgeist-1.0-Symbol-comprehension.description" class="shortcut">Description</a>
29
<div class="refentry">
30
<a name="zeitgeist-1.0-Symbol-comprehension"></a><div class="titlepage"></div>
31
<div class="refnamediv"><table width="100%"><tr>
33
<h2><span class="refentrytitle"><a name="zeitgeist-1.0-Symbol-comprehension.top_of_page"></a>Symbol comprehension</span></h2>
34
<p>Symbol comprehension — Used to get information about Interpretation and/or
35
Manifestation symbols</p>
37
<td valign="top" align="right"></td>
39
<div class="refsynopsisdiv">
40
<a name="zeitgeist-1.0-Symbol-comprehension.synopsis"></a><h2>Synopsis</h2>
41
<pre class="synopsis">
42
#include <zeitgeist.h>
44
<a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> * <a class="link" href="zeitgeist-1.0-Symbol-comprehension.html#zeitgeist-symbol-get-parents" title="zeitgeist_symbol_get_parents ()">zeitgeist_symbol_get_parents</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *symbol</code></em>);
45
<a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> * <a class="link" href="zeitgeist-1.0-Symbol-comprehension.html#zeitgeist-symbol-get-children" title="zeitgeist_symbol_get_children ()">zeitgeist_symbol_get_children</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *symbol</code></em>);
46
<a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> * <a class="link" href="zeitgeist-1.0-Symbol-comprehension.html#zeitgeist-symbol-get-all-children" title="zeitgeist_symbol_get_all_children ()">zeitgeist_symbol_get_all_children</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *symbol</code></em>);
47
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="zeitgeist-1.0-Symbol-comprehension.html#zeitgeist-symbol-is-a" title="zeitgeist_symbol_is_a ()">zeitgeist_symbol_is_a</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *symbol</code></em>,
48
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *parent</code></em>);
51
<div class="refsect1">
52
<a name="zeitgeist-1.0-Symbol-comprehension.description"></a><h2>Description</h2>
54
<div class="refsect1">
55
<a name="zeitgeist-1.0-Symbol-comprehension.details"></a><h2>Details</h2>
56
<div class="refsect2">
57
<a name="zeitgeist-symbol-get-parents"></a><h3>zeitgeist_symbol_get_parents ()</h3>
58
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> * zeitgeist_symbol_get_parents (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *symbol</code></em>);</pre>
60
Gets list of immediate parents of the specified symbol.
62
<div class="variablelist"><table border="0">
63
<col align="left" valign="top">
66
<td><p><span class="term"><em class="parameter"><code>symbol</code></em> :</span></p></td>
70
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
71
<td>A newly allocated list of immediate parents of this symbol.
72
The data elements of the list contain strings which you
73
do not own, use <a href="http://library.gnome.org/devel/glib/unstable/glib-String-Utility-Functions.html#g-strdup"><code class="function">g_strdup()</code></a> if you intend to work with them.
74
Free the list with a call to <a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#g-list-free"><code class="function">g_list_free()</code></a>.</td>
80
<div class="refsect2">
81
<a name="zeitgeist-symbol-get-children"></a><h3>zeitgeist_symbol_get_children ()</h3>
82
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> * zeitgeist_symbol_get_children (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *symbol</code></em>);</pre>
84
Gets list of immediate children of the specified symbol.
86
<div class="variablelist"><table border="0">
87
<col align="left" valign="top">
90
<td><p><span class="term"><em class="parameter"><code>symbol</code></em> :</span></p></td>
94
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
95
<td>A newly allocated list of immediate children of this symbol.
96
The data elements of the list contain strings which you
97
do not own, use <a href="http://library.gnome.org/devel/glib/unstable/glib-String-Utility-Functions.html#g-strdup"><code class="function">g_strdup()</code></a> if you intend to work with them.
98
Free the list with a call to <a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#g-list-free"><code class="function">g_list_free()</code></a>.</td>
104
<div class="refsect2">
105
<a name="zeitgeist-symbol-get-all-children"></a><h3>zeitgeist_symbol_get_all_children ()</h3>
106
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> * zeitgeist_symbol_get_all_children (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *symbol</code></em>);</pre>
108
Gets list of all children of the specified symbol.
110
<div class="variablelist"><table border="0">
111
<col align="left" valign="top">
114
<td><p><span class="term"><em class="parameter"><code>symbol</code></em> :</span></p></td>
118
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
119
<td>A newly allocated list of all children of this symbol (includes
120
also children of children recursively).
121
The data elements of the list contain strings which you
122
do not own, use <a href="http://library.gnome.org/devel/glib/unstable/glib-String-Utility-Functions.html#g-strdup"><code class="function">g_strdup()</code></a> if you intend to work with them.
123
Free the list with a call to <a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#g-list-free"><code class="function">g_list_free()</code></a>.</td>
129
<div class="refsect2">
130
<a name="zeitgeist-symbol-is-a"></a><h3>zeitgeist_symbol_is_a ()</h3>
131
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> zeitgeist_symbol_is_a (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *symbol</code></em>,
132
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *parent</code></em>);</pre>
134
Determines if <em class="parameter"><code>symbol</code></em> is child of <em class="parameter"><code>parent</code></em>.
136
<div class="variablelist"><table border="0">
137
<col align="left" valign="top">
140
<td><p><span class="term"><em class="parameter"><code>symbol</code></em> :</span></p></td>
144
<td><p><span class="term"><em class="parameter"><code>parent</code></em> :</span></p></td>
145
<td>Parent symbol.</td>
148
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
149
<td>True if <em class="parameter"><code>symbol</code></em> is child of <em class="parameter"><code>parent</code></em> (or equal to <em class="parameter"><code>parent</code></em>),
150
FALSE otherwise.</td>
159
Generated by GTK-Doc V1.16</div>
b'\\ No newline at end of file'