~ubuntu-branches/ubuntu/gutsy/libbonobo/gutsy

« back to all changes in this revision

Viewing changes to doc/api/html/libbonobo-bonobo-arg.html

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2007-09-17 16:38:13 UTC
  • mfrom: (1.1.16 upstream)
  • Revision ID: james.westby@ubuntu.com-20070917163813-sg2l3nt1q6s3lybq
Tags: 2.20.0-0ubuntu1
* New upstream version:
  - Add unit test for bug 427992.
  - Align configure switches
  - Updated translations

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
<head>
4
4
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
5
5
<title>bonobo-arg</title>
6
 
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
 
6
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
7
7
<link rel="start" href="index.html" title="Libbonobo Reference Manual">
8
8
<link rel="up" href="property-bags.html" title="Property Bags, Events, Listeners">
9
9
<link rel="prev" href="libbonobo-bonobo-property-bag.html" title="BonoboPropertyBag">
28
28
<th width="100%" align="center">Libbonobo Reference Manual</th>
29
29
<td><a accesskey="n" href="libbonobo-bonobo-property-bag-client.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
30
30
</tr>
31
 
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2606206" class="shortcut">Top</a>
 
31
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id3088925" class="shortcut">Top</a>
32
32
                  &#160;|&#160;
33
 
                  <a href="#id2606801" class="shortcut">Description</a></nobr></td></tr>
 
33
                  <a href="#id3089520" class="shortcut">Description</a></nobr></td></tr>
34
34
</table>
35
35
<div class="refentry" lang="en">
36
36
<a name="libbonobo-bonobo-arg"></a><div class="titlepage"></div>
37
37
<div class="refnamediv"><table width="100%"><tr>
38
38
<td valign="top">
39
39
<h2>
40
 
<a name="id2606206"></a><span class="refentrytitle">bonobo-arg</span>
 
40
<a name="id3088925"></a><span class="refentrytitle">bonobo-arg</span>
41
41
</h2>
42
42
<p>bonobo-arg &#8212; simplified CORBA_Any wrappers</p>
43
43
</td>
49
49
 
50
50
 
51
51
 
52
 
typedef             <a href="libbonobo-bonobo-arg.html#BonoboArg">BonoboArg</a>;
53
 
typedef             <a href="libbonobo-bonobo-arg.html#BonoboArgType">BonoboArgType</a>;
54
 
#define             <a href="libbonobo-bonobo-arg.html#BONOBO-ARG-NULL:CAPS">BONOBO_ARG_NULL</a>
55
 
#define             <a href="libbonobo-bonobo-arg.html#BONOBO-ARG-BOOLEAN:CAPS">BONOBO_ARG_BOOLEAN</a>
56
 
#define             <a href="libbonobo-bonobo-arg.html#BONOBO-ARG-SHORT:CAPS">BONOBO_ARG_SHORT</a>
57
 
#define             <a href="libbonobo-bonobo-arg.html#BONOBO-ARG-INT:CAPS">BONOBO_ARG_INT</a>
58
 
#define             <a href="libbonobo-bonobo-arg.html#BONOBO-ARG-LONG:CAPS">BONOBO_ARG_LONG</a>
59
 
#define             <a href="libbonobo-bonobo-arg.html#BONOBO-ARG-LONGLONG:CAPS">BONOBO_ARG_LONGLONG</a>
60
 
#define             <a href="libbonobo-bonobo-arg.html#BONOBO-ARG-FLOAT:CAPS">BONOBO_ARG_FLOAT</a>
61
 
#define             <a href="libbonobo-bonobo-arg.html#BONOBO-ARG-DOUBLE:CAPS">BONOBO_ARG_DOUBLE</a>
62
 
#define             <a href="libbonobo-bonobo-arg.html#BONOBO-ARG-CHAR:CAPS">BONOBO_ARG_CHAR</a>
63
 
#define             <a href="libbonobo-bonobo-arg.html#BONOBO-ARG-STRING:CAPS">BONOBO_ARG_STRING</a>
64
 
#define             <a href="libbonobo-bonobo-arg.html#BONOBO-ARG-GET-GENERAL:CAPS">BONOBO_ARG_GET_GENERAL</a>              (a,c,t,e)
65
 
#define             <a href="libbonobo-bonobo-arg.html#BONOBO-ARG-SET-GENERAL:CAPS">BONOBO_ARG_SET_GENERAL</a>              (a,v,c,t,e)
66
 
#define             <a href="libbonobo-bonobo-arg.html#BONOBO-ARG-GET-BOOLEAN:CAPS">BONOBO_ARG_GET_BOOLEAN</a>              (a)
67
 
#define             <a href="libbonobo-bonobo-arg.html#BONOBO-ARG-SET-BOOLEAN:CAPS">BONOBO_ARG_SET_BOOLEAN</a>              (a,v)
68
 
#define             <a href="libbonobo-bonobo-arg.html#BONOBO-ARG-GET-SHORT:CAPS">BONOBO_ARG_GET_SHORT</a>                (a)
69
 
#define             <a href="libbonobo-bonobo-arg.html#BONOBO-ARG-SET-SHORT:CAPS">BONOBO_ARG_SET_SHORT</a>                (a,v)
70
 
#define             <a href="libbonobo-bonobo-arg.html#BONOBO-ARG-GET-INT:CAPS">BONOBO_ARG_GET_INT</a>                  (a)
71
 
#define             <a href="libbonobo-bonobo-arg.html#BONOBO-ARG-SET-INT:CAPS">BONOBO_ARG_SET_INT</a>                  (a,v)
72
 
#define             <a href="libbonobo-bonobo-arg.html#BONOBO-ARG-GET-LONG:CAPS">BONOBO_ARG_GET_LONG</a>                 (a)
73
 
#define             <a href="libbonobo-bonobo-arg.html#BONOBO-ARG-SET-LONG:CAPS">BONOBO_ARG_SET_LONG</a>                 (a,v)
74
 
#define             <a href="libbonobo-bonobo-arg.html#BONOBO-ARG-GET-LONGLONG:CAPS">BONOBO_ARG_GET_LONGLONG</a>             (a)
75
 
#define             <a href="libbonobo-bonobo-arg.html#BONOBO-ARG-SET-LONGLONG:CAPS">BONOBO_ARG_SET_LONGLONG</a>             (a,v)
76
 
#define             <a href="libbonobo-bonobo-arg.html#BONOBO-ARG-GET-FLOAT:CAPS">BONOBO_ARG_GET_FLOAT</a>                (a)
77
 
#define             <a href="libbonobo-bonobo-arg.html#BONOBO-ARG-SET-FLOAT:CAPS">BONOBO_ARG_SET_FLOAT</a>                (a,v)
78
 
#define             <a href="libbonobo-bonobo-arg.html#BONOBO-ARG-GET-DOUBLE:CAPS">BONOBO_ARG_GET_DOUBLE</a>               (a)
79
 
#define             <a href="libbonobo-bonobo-arg.html#BONOBO-ARG-SET-DOUBLE:CAPS">BONOBO_ARG_SET_DOUBLE</a>               (a,v)
80
 
#define             <a href="libbonobo-bonobo-arg.html#BONOBO-ARG-GET-CHAR:CAPS">BONOBO_ARG_GET_CHAR</a>                 (a)
81
 
#define             <a href="libbonobo-bonobo-arg.html#BONOBO-ARG-SET-CHAR:CAPS">BONOBO_ARG_SET_CHAR</a>                 (a,v)
82
 
#define             <a href="libbonobo-bonobo-arg.html#BONOBO-ARG-GET-STRING:CAPS">BONOBO_ARG_GET_STRING</a>               (a)
83
 
#define             <a href="libbonobo-bonobo-arg.html#BONOBO-ARG-SET-STRING:CAPS">BONOBO_ARG_SET_STRING</a>               (a,v)
84
 
<a href="libbonobo-bonobo-arg.html#BonoboArg">BonoboArg</a>*          <a href="libbonobo-bonobo-arg.html#bonobo-arg-new">bonobo_arg_new</a>                      (<a href="libbonobo-bonobo-arg.html#BonoboArgType">BonoboArgType</a> t);
85
 
<a href="libbonobo-bonobo-arg.html#BonoboArg">BonoboArg</a>*          <a href="libbonobo-bonobo-arg.html#bonobo-arg-new-from">bonobo_arg_new_from</a>                 (<a href="libbonobo-bonobo-arg.html#BonoboArgType">BonoboArgType</a> t,
86
 
                                                         gconstpointer data);
87
 
void                <a href="libbonobo-bonobo-arg.html#bonobo-arg-release">bonobo_arg_release</a>                  (<a href="libbonobo-bonobo-arg.html#BonoboArg">BonoboArg</a> *arg);
88
 
<a href="libbonobo-bonobo-arg.html#BonoboArg">BonoboArg</a>*          <a href="libbonobo-bonobo-arg.html#bonobo-arg-copy">bonobo_arg_copy</a>                     (const <a href="libbonobo-bonobo-arg.html#BonoboArg">BonoboArg</a> *arg);
89
 
void                <a href="libbonobo-bonobo-arg.html#bonobo-arg-from-gvalue">bonobo_arg_from_gvalue</a>              (<a href="libbonobo-bonobo-arg.html#BonoboArg">BonoboArg</a> *a,
90
 
                                                         const GValue *value);
91
 
<a href="libbonobo-bonobo-arg.html#BonoboArgType">BonoboArgType</a>       <a href="libbonobo-bonobo-arg.html#bonobo-arg-type-from-gtype">bonobo_arg_type_from_gtype</a>          (GType t);
92
 
void                <a href="libbonobo-bonobo-arg.html#bonobo-arg-to-gvalue">bonobo_arg_to_gvalue</a>                (GValue *value,
93
 
                                                         const <a href="libbonobo-bonobo-arg.html#BonoboArg">BonoboArg</a> *arg);
94
 
GType               <a href="libbonobo-bonobo-arg.html#bonobo-arg-type-to-gtype">bonobo_arg_type_to_gtype</a>            (<a href="libbonobo-bonobo-arg.html#BonoboArgType">BonoboArgType</a> id);
95
 
gboolean            <a href="libbonobo-bonobo-arg.html#bonobo-arg-is-equal">bonobo_arg_is_equal</a>                 (const <a href="libbonobo-bonobo-arg.html#BonoboArg">BonoboArg</a> *a,
96
 
                                                         const <a href="libbonobo-bonobo-arg.html#BonoboArg">BonoboArg</a> *b,
 
52
typedef             <a class="link" href="libbonobo-bonobo-arg.html#BonoboArg">BonoboArg</a>;
 
53
typedef             <a class="link" href="libbonobo-bonobo-arg.html#BonoboArgType">BonoboArgType</a>;
 
54
#define             <a class="link" href="libbonobo-bonobo-arg.html#BONOBO-ARG-NULL:CAPS">BONOBO_ARG_NULL</a>
 
55
#define             <a class="link" href="libbonobo-bonobo-arg.html#BONOBO-ARG-BOOLEAN:CAPS">BONOBO_ARG_BOOLEAN</a>
 
56
#define             <a class="link" href="libbonobo-bonobo-arg.html#BONOBO-ARG-SHORT:CAPS">BONOBO_ARG_SHORT</a>
 
57
#define             <a class="link" href="libbonobo-bonobo-arg.html#BONOBO-ARG-INT:CAPS">BONOBO_ARG_INT</a>
 
58
#define             <a class="link" href="libbonobo-bonobo-arg.html#BONOBO-ARG-LONG:CAPS">BONOBO_ARG_LONG</a>
 
59
#define             <a class="link" href="libbonobo-bonobo-arg.html#BONOBO-ARG-LONGLONG:CAPS">BONOBO_ARG_LONGLONG</a>
 
60
#define             <a class="link" href="libbonobo-bonobo-arg.html#BONOBO-ARG-FLOAT:CAPS">BONOBO_ARG_FLOAT</a>
 
61
#define             <a class="link" href="libbonobo-bonobo-arg.html#BONOBO-ARG-DOUBLE:CAPS">BONOBO_ARG_DOUBLE</a>
 
62
#define             <a class="link" href="libbonobo-bonobo-arg.html#BONOBO-ARG-CHAR:CAPS">BONOBO_ARG_CHAR</a>
 
63
#define             <a class="link" href="libbonobo-bonobo-arg.html#BONOBO-ARG-STRING:CAPS">BONOBO_ARG_STRING</a>
 
64
#define             <a class="link" href="libbonobo-bonobo-arg.html#BONOBO-ARG-GET-GENERAL:CAPS">BONOBO_ARG_GET_GENERAL</a>              (a,c,t,e)
 
65
#define             <a class="link" href="libbonobo-bonobo-arg.html#BONOBO-ARG-SET-GENERAL:CAPS">BONOBO_ARG_SET_GENERAL</a>              (a,v,c,t,e)
 
66
#define             <a class="link" href="libbonobo-bonobo-arg.html#BONOBO-ARG-GET-BOOLEAN:CAPS">BONOBO_ARG_GET_BOOLEAN</a>              (a)
 
67
#define             <a class="link" href="libbonobo-bonobo-arg.html#BONOBO-ARG-SET-BOOLEAN:CAPS">BONOBO_ARG_SET_BOOLEAN</a>              (a,v)
 
68
#define             <a class="link" href="libbonobo-bonobo-arg.html#BONOBO-ARG-GET-SHORT:CAPS">BONOBO_ARG_GET_SHORT</a>                (a)
 
69
#define             <a class="link" href="libbonobo-bonobo-arg.html#BONOBO-ARG-SET-SHORT:CAPS">BONOBO_ARG_SET_SHORT</a>                (a,v)
 
70
#define             <a class="link" href="libbonobo-bonobo-arg.html#BONOBO-ARG-GET-INT:CAPS">BONOBO_ARG_GET_INT</a>                  (a)
 
71
#define             <a class="link" href="libbonobo-bonobo-arg.html#BONOBO-ARG-SET-INT:CAPS">BONOBO_ARG_SET_INT</a>                  (a,v)
 
72
#define             <a class="link" href="libbonobo-bonobo-arg.html#BONOBO-ARG-GET-LONG:CAPS">BONOBO_ARG_GET_LONG</a>                 (a)
 
73
#define             <a class="link" href="libbonobo-bonobo-arg.html#BONOBO-ARG-SET-LONG:CAPS">BONOBO_ARG_SET_LONG</a>                 (a,v)
 
74
#define             <a class="link" href="libbonobo-bonobo-arg.html#BONOBO-ARG-GET-LONGLONG:CAPS">BONOBO_ARG_GET_LONGLONG</a>             (a)
 
75
#define             <a class="link" href="libbonobo-bonobo-arg.html#BONOBO-ARG-SET-LONGLONG:CAPS">BONOBO_ARG_SET_LONGLONG</a>             (a,v)
 
76
#define             <a class="link" href="libbonobo-bonobo-arg.html#BONOBO-ARG-GET-FLOAT:CAPS">BONOBO_ARG_GET_FLOAT</a>                (a)
 
77
#define             <a class="link" href="libbonobo-bonobo-arg.html#BONOBO-ARG-SET-FLOAT:CAPS">BONOBO_ARG_SET_FLOAT</a>                (a,v)
 
78
#define             <a class="link" href="libbonobo-bonobo-arg.html#BONOBO-ARG-GET-DOUBLE:CAPS">BONOBO_ARG_GET_DOUBLE</a>               (a)
 
79
#define             <a class="link" href="libbonobo-bonobo-arg.html#BONOBO-ARG-SET-DOUBLE:CAPS">BONOBO_ARG_SET_DOUBLE</a>               (a,v)
 
80
#define             <a class="link" href="libbonobo-bonobo-arg.html#BONOBO-ARG-GET-CHAR:CAPS">BONOBO_ARG_GET_CHAR</a>                 (a)
 
81
#define             <a class="link" href="libbonobo-bonobo-arg.html#BONOBO-ARG-SET-CHAR:CAPS">BONOBO_ARG_SET_CHAR</a>                 (a,v)
 
82
#define             <a class="link" href="libbonobo-bonobo-arg.html#BONOBO-ARG-GET-STRING:CAPS">BONOBO_ARG_GET_STRING</a>               (a)
 
83
#define             <a class="link" href="libbonobo-bonobo-arg.html#BONOBO-ARG-SET-STRING:CAPS">BONOBO_ARG_SET_STRING</a>               (a,v)
 
84
<a class="link" href="libbonobo-bonobo-arg.html#BonoboArg">BonoboArg</a>*          <a class="link" href="libbonobo-bonobo-arg.html#bonobo-arg-new">bonobo_arg_new</a>                      (<a class="link" href="libbonobo-bonobo-arg.html#BonoboArgType">BonoboArgType</a> t);
 
85
<a class="link" href="libbonobo-bonobo-arg.html#BonoboArg">BonoboArg</a>*          <a class="link" href="libbonobo-bonobo-arg.html#bonobo-arg-new-from">bonobo_arg_new_from</a>                 (<a class="link" href="libbonobo-bonobo-arg.html#BonoboArgType">BonoboArgType</a> t,
 
86
                                                         <a
 
87
href="../glib/glib-Basic-Types.html#gconstpointer"
 
88
>gconstpointer</a> data);
 
89
void                <a class="link" href="libbonobo-bonobo-arg.html#bonobo-arg-release">bonobo_arg_release</a>                  (<a class="link" href="libbonobo-bonobo-arg.html#BonoboArg">BonoboArg</a> *arg);
 
90
<a class="link" href="libbonobo-bonobo-arg.html#BonoboArg">BonoboArg</a>*          <a class="link" href="libbonobo-bonobo-arg.html#bonobo-arg-copy">bonobo_arg_copy</a>                     (const <a class="link" href="libbonobo-bonobo-arg.html#BonoboArg">BonoboArg</a> *arg);
 
91
void                <a class="link" href="libbonobo-bonobo-arg.html#bonobo-arg-from-gvalue">bonobo_arg_from_gvalue</a>              (<a class="link" href="libbonobo-bonobo-arg.html#BonoboArg">BonoboArg</a> *a,
 
92
                                                         const <a
 
93
href="../gobject/gobject-Generic-values.html#GValue"
 
94
>GValue</a> *value);
 
95
<a class="link" href="libbonobo-bonobo-arg.html#BonoboArgType">BonoboArgType</a>       <a class="link" href="libbonobo-bonobo-arg.html#bonobo-arg-type-from-gtype">bonobo_arg_type_from_gtype</a>          (<a
 
96
href="../gobject/gobject-Type-Information.html#GType"
 
97
>GType</a> t);
 
98
void                <a class="link" href="libbonobo-bonobo-arg.html#bonobo-arg-to-gvalue">bonobo_arg_to_gvalue</a>                (<a
 
99
href="../gobject/gobject-Generic-values.html#GValue"
 
100
>GValue</a> *value,
 
101
                                                         const <a class="link" href="libbonobo-bonobo-arg.html#BonoboArg">BonoboArg</a> *arg);
 
102
<a
 
103
href="../gobject/gobject-Type-Information.html#GType"
 
104
>GType</a>               <a class="link" href="libbonobo-bonobo-arg.html#bonobo-arg-type-to-gtype">bonobo_arg_type_to_gtype</a>            (<a class="link" href="libbonobo-bonobo-arg.html#BonoboArgType">BonoboArgType</a> id);
 
105
<a
 
106
href="../glib/glib-Basic-Types.html#gboolean"
 
107
>gboolean</a>            <a class="link" href="libbonobo-bonobo-arg.html#bonobo-arg-is-equal">bonobo_arg_is_equal</a>                 (const <a class="link" href="libbonobo-bonobo-arg.html#BonoboArg">BonoboArg</a> *a,
 
108
                                                         const <a class="link" href="libbonobo-bonobo-arg.html#BonoboArg">BonoboArg</a> *b,
97
109
                                                         CORBA_Environment *opt_ev);
98
 
gboolean            <a href="libbonobo-bonobo-arg.html#bonobo-arg-type-is-equal">bonobo_arg_type_is_equal</a>            (<a href="libbonobo-bonobo-arg.html#BonoboArgType">BonoboArgType</a> a,
99
 
                                                         <a href="libbonobo-bonobo-arg.html#BonoboArgType">BonoboArgType</a> b,
 
110
<a
 
111
href="../glib/glib-Basic-Types.html#gboolean"
 
112
>gboolean</a>            <a class="link" href="libbonobo-bonobo-arg.html#bonobo-arg-type-is-equal">bonobo_arg_type_is_equal</a>            (<a class="link" href="libbonobo-bonobo-arg.html#BonoboArgType">BonoboArgType</a> a,
 
113
                                                         <a class="link" href="libbonobo-bonobo-arg.html#BonoboArgType">BonoboArgType</a> b,
100
114
                                                         CORBA_Environment *opt_ev);
101
115
</pre>
102
116
</div>
103
117
<div class="refsect1" lang="en">
104
 
<a name="id2606801"></a><h2>Description</h2>
 
118
<a name="id3089520"></a><h2>Description</h2>
105
119
<p>
106
120
The BonoboArg code, and macros are designed to make the
107
121
use of CORBA_Any's slightly simpler by providing a glib
112
126
A typical use of the BonoboArg macros would be in 
113
127
  </p>
114
128
<div class="example">
115
 
<a name="id2606821"></a><p class="title"><b>Example&#160;14.&#160;Property bag implementation</b></p>
 
129
<a name="id3089540"></a><p class="title"><b>Example&#160;14.&#160;Property bag implementation</b></p>
116
130
<div class="example-contents"><pre class="programlisting">
117
131
static void
118
132
get_prop (BonoboPropertyBag *bag,
141
155
</p>
142
156
</div>
143
157
<div class="refsect1" lang="en">
144
 
<a name="id2606842"></a><h2>Details</h2>
 
158
<a name="id3089561"></a><h2>Details</h2>
145
159
<div class="refsect2" lang="en">
146
 
<a name="id2606852"></a><h3>
 
160
<a name="id3089571"></a><h3>
147
161
<a name="BonoboArg"></a>BonoboArg</h3>
148
 
<a class="indexterm" name="id2606864"></a><pre class="programlisting">typedef CORBA_any      BonoboArg;
 
162
<a class="indexterm" name="id3089583"></a><pre class="programlisting">typedef CORBA_any      BonoboArg;
149
163
</pre>
150
164
<p>
151
165
A glib style looking type alias for a CORBA_any
153
167
</div>
154
168
<hr>
155
169
<div class="refsect2" lang="en">
156
 
<a name="id2606881"></a><h3>
 
170
<a name="id3089600"></a><h3>
157
171
<a name="BonoboArgType"></a>BonoboArgType</h3>
158
 
<a class="indexterm" name="id2606893"></a><pre class="programlisting">typedef CORBA_TypeCode BonoboArgType;
 
172
<a class="indexterm" name="id3089612"></a><pre class="programlisting">typedef CORBA_TypeCode BonoboArgType;
159
173
</pre>
160
174
<p>
161
175
A glib style looking typedef for a CORBA type description.
163
177
</div>
164
178
<hr>
165
179
<div class="refsect2" lang="en">
166
 
<a name="id2606910"></a><h3>
 
180
<a name="id3089629"></a><h3>
167
181
<a name="BONOBO-ARG-NULL:CAPS"></a>BONOBO_ARG_NULL</h3>
168
 
<a class="indexterm" name="id2606923"></a><pre class="programlisting">#define BONOBO_ARG_NULL     TC_null
 
182
<a class="indexterm" name="id3089642"></a><pre class="programlisting">#define BONOBO_ARG_NULL     TC_null
169
183
</pre>
170
184
<p>
171
185
the null type
173
187
</div>
174
188
<hr>
175
189
<div class="refsect2" lang="en">
176
 
<a name="id2606939"></a><h3>
 
190
<a name="id3089658"></a><h3>
177
191
<a name="BONOBO-ARG-BOOLEAN:CAPS"></a>BONOBO_ARG_BOOLEAN</h3>
178
 
<a class="indexterm" name="id2606952"></a><pre class="programlisting">#define BONOBO_ARG_BOOLEAN  TC_CORBA_boolean
 
192
<a class="indexterm" name="id3089671"></a><pre class="programlisting">#define BONOBO_ARG_BOOLEAN  TC_CORBA_boolean
179
193
</pre>
180
194
<p>
181
195
the boolean type
183
197
</div>
184
198
<hr>
185
199
<div class="refsect2" lang="en">
186
 
<a name="id2606968"></a><h3>
 
200
<a name="id3089687"></a><h3>
187
201
<a name="BONOBO-ARG-SHORT:CAPS"></a>BONOBO_ARG_SHORT</h3>
188
 
<a class="indexterm" name="id2606982"></a><pre class="programlisting">#define BONOBO_ARG_SHORT    TC_CORBA_short
 
202
<a class="indexterm" name="id3089701"></a><pre class="programlisting">#define BONOBO_ARG_SHORT    TC_CORBA_short
189
203
</pre>
190
204
<p>
191
205
the short type
193
207
</div>
194
208
<hr>
195
209
<div class="refsect2" lang="en">
196
 
<a name="id2606998"></a><h3>
 
210
<a name="id3089716"></a><h3>
197
211
<a name="BONOBO-ARG-INT:CAPS"></a>BONOBO_ARG_INT</h3>
198
 
<a class="indexterm" name="id2607009"></a><pre class="programlisting">#define BONOBO_ARG_INT      TC_CORBA_long
 
212
<a class="indexterm" name="id3089728"></a><pre class="programlisting">#define BONOBO_ARG_INT      TC_CORBA_long
199
213
</pre>
200
214
<p>
201
215
the integer type [ in fact a long ]
203
217
</div>
204
218
<hr>
205
219
<div class="refsect2" lang="en">
206
 
<a name="id2607026"></a><h3>
 
220
<a name="id3089745"></a><h3>
207
221
<a name="BONOBO-ARG-LONG:CAPS"></a>BONOBO_ARG_LONG</h3>
208
 
<a class="indexterm" name="id2607039"></a><pre class="programlisting">#define BONOBO_ARG_LONG     TC_CORBA_long
 
222
<a class="indexterm" name="id3089758"></a><pre class="programlisting">#define BONOBO_ARG_LONG     TC_CORBA_long
209
223
</pre>
210
224
<p>
211
225
the long type
213
227
</div>
214
228
<hr>
215
229
<div class="refsect2" lang="en">
216
 
<a name="id2607055"></a><h3>
 
230
<a name="id3089774"></a><h3>
217
231
<a name="BONOBO-ARG-LONGLONG:CAPS"></a>BONOBO_ARG_LONGLONG</h3>
218
 
<a class="indexterm" name="id2607068"></a><pre class="programlisting">#define BONOBO_ARG_LONGLONG TC_CORBA_long_long
 
232
<a class="indexterm" name="id3089787"></a><pre class="programlisting">#define BONOBO_ARG_LONGLONG TC_CORBA_long_long
219
233
</pre>
220
234
<p>
221
235
the long long type
223
237
</div>
224
238
<hr>
225
239
<div class="refsect2" lang="en">
226
 
<a name="id2607084"></a><h3>
 
240
<a name="id3089802"></a><h3>
227
241
<a name="BONOBO-ARG-FLOAT:CAPS"></a>BONOBO_ARG_FLOAT</h3>
228
 
<a class="indexterm" name="id2607097"></a><pre class="programlisting">#define BONOBO_ARG_FLOAT    TC_CORBA_float
 
242
<a class="indexterm" name="id3089816"></a><pre class="programlisting">#define BONOBO_ARG_FLOAT    TC_CORBA_float
229
243
</pre>
230
244
<p>
231
245
the float type
233
247
</div>
234
248
<hr>
235
249
<div class="refsect2" lang="en">
236
 
<a name="id2607113"></a><h3>
 
250
<a name="id3089832"></a><h3>
237
251
<a name="BONOBO-ARG-DOUBLE:CAPS"></a>BONOBO_ARG_DOUBLE</h3>
238
 
<a class="indexterm" name="id2607126"></a><pre class="programlisting">#define BONOBO_ARG_DOUBLE   TC_CORBA_double
 
252
<a class="indexterm" name="id3089845"></a><pre class="programlisting">#define BONOBO_ARG_DOUBLE   TC_CORBA_double
239
253
</pre>
240
254
<p>
241
255
the double type
243
257
</div>
244
258
<hr>
245
259
<div class="refsect2" lang="en">
246
 
<a name="id2607142"></a><h3>
 
260
<a name="id3089861"></a><h3>
247
261
<a name="BONOBO-ARG-CHAR:CAPS"></a>BONOBO_ARG_CHAR</h3>
248
 
<a class="indexterm" name="id2607155"></a><pre class="programlisting">#define BONOBO_ARG_CHAR     TC_CORBA_char
 
262
<a class="indexterm" name="id3089874"></a><pre class="programlisting">#define BONOBO_ARG_CHAR     TC_CORBA_char
249
263
</pre>
250
264
<p>
251
265
the char type
253
267
</div>
254
268
<hr>
255
269
<div class="refsect2" lang="en">
256
 
<a name="id2607171"></a><h3>
 
270
<a name="id3089890"></a><h3>
257
271
<a name="BONOBO-ARG-STRING:CAPS"></a>BONOBO_ARG_STRING</h3>
258
 
<a class="indexterm" name="id2607184"></a><pre class="programlisting">#define BONOBO_ARG_STRING   TC_CORBA_string
 
272
<a class="indexterm" name="id3089902"></a><pre class="programlisting">#define BONOBO_ARG_STRING   TC_CORBA_string
259
273
</pre>
260
274
<p>
261
275
the string type
263
277
</div>
264
278
<hr>
265
279
<div class="refsect2" lang="en">
266
 
<a name="id2607200"></a><h3>
 
280
<a name="id3089918"></a><h3>
267
281
<a name="BONOBO-ARG-GET-GENERAL:CAPS"></a>BONOBO_ARG_GET_GENERAL()</h3>
268
 
<a class="indexterm" name="id2607212"></a><pre class="programlisting">#define             BONOBO_ARG_GET_GENERAL(a,c,t,e)</pre>
 
282
<a class="indexterm" name="id3089931"></a><pre class="programlisting">#define             BONOBO_ARG_GET_GENERAL(a,c,t,e)</pre>
269
283
<p>
270
284
A macro to extract a value from a BonoboArg with
271
285
the given CORBA type <em class="parameter"><code>t</code></em>.
274
288
<col align="left" valign="top">
275
289
<tbody>
276
290
<tr>
277
 
<td><span class="term"><em class="parameter"><code>a</code></em>&#160;:</span></td>
 
291
<td><p><span class="term"><em class="parameter"><code>a</code></em>&#160;:</span></p></td>
278
292
<td>the BonoboArg
279
293
</td>
280
294
</tr>
281
295
<tr>
282
 
<td><span class="term"><em class="parameter"><code>c</code></em>&#160;:</span></td>
 
296
<td><p><span class="term"><em class="parameter"><code>c</code></em>&#160;:</span></p></td>
283
297
<td>a BonoboArgType for checking
284
298
</td>
285
299
</tr>
286
300
<tr>
287
 
<td><span class="term"><em class="parameter"><code>t</code></em>&#160;:</span></td>
 
301
<td><p><span class="term"><em class="parameter"><code>t</code></em>&#160;:</span></p></td>
288
302
<td>the C type of the value eg. for BONOBO_ARG_LONG: CORBA_long
289
303
</td>
290
304
</tr>
291
305
<tr>
292
 
<td><span class="term"><em class="parameter"><code>e</code></em>&#160;:</span></td>
 
306
<td><p><span class="term"><em class="parameter"><code>e</code></em>&#160;:</span></p></td>
293
307
<td>an optional CORBA_Environment or NULL.
294
308
 
295
309
 
300
314
</div>
301
315
<hr>
302
316
<div class="refsect2" lang="en">
303
 
<a name="id2607295"></a><h3>
 
317
<a name="id3090014"></a><h3>
304
318
<a name="BONOBO-ARG-SET-GENERAL:CAPS"></a>BONOBO_ARG_SET_GENERAL()</h3>
305
 
<a class="indexterm" name="id2607308"></a><pre class="programlisting">#define             BONOBO_ARG_SET_GENERAL(a,v,c,t,e)</pre>
 
319
<a class="indexterm" name="id3090027"></a><pre class="programlisting">#define             BONOBO_ARG_SET_GENERAL(a,v,c,t,e)</pre>
306
320
<p>
307
321
A macro to insert a value into an empty BonoboArg with
308
322
the given CORBA type <em class="parameter"><code>t</code></em>.
311
325
<col align="left" valign="top">
312
326
<tbody>
313
327
<tr>
314
 
<td><span class="term"><em class="parameter"><code>a</code></em>&#160;:</span></td>
 
328
<td><p><span class="term"><em class="parameter"><code>a</code></em>&#160;:</span></p></td>
315
329
<td>the BonoboArg
316
330
</td>
317
331
</tr>
318
332
<tr>
319
 
<td><span class="term"><em class="parameter"><code>v</code></em>&#160;:</span></td>
 
333
<td><p><span class="term"><em class="parameter"><code>v</code></em>&#160;:</span></p></td>
320
334
<td>a pointer to the value to insert.
321
335
</td>
322
336
</tr>
323
337
<tr>
324
 
<td><span class="term"><em class="parameter"><code>c</code></em>&#160;:</span></td>
 
338
<td><p><span class="term"><em class="parameter"><code>c</code></em>&#160;:</span></p></td>
325
339
<td>a BonoboArgType for checking
326
340
</td>
327
341
</tr>
328
342
<tr>
329
 
<td><span class="term"><em class="parameter"><code>t</code></em>&#160;:</span></td>
 
343
<td><p><span class="term"><em class="parameter"><code>t</code></em>&#160;:</span></p></td>
330
344
<td>the C type of the value eg. for BONOBO_ARG_LONG: CORBA_long
331
345
</td>
332
346
</tr>
333
347
<tr>
334
 
<td><span class="term"><em class="parameter"><code>e</code></em>&#160;:</span></td>
 
348
<td><p><span class="term"><em class="parameter"><code>e</code></em>&#160;:</span></p></td>
335
349
<td>an optional CORBA_Environment or NULL.
336
350
 
337
351
 
342
356
</div>
343
357
<hr>
344
358
<div class="refsect2" lang="en">
345
 
<a name="id2607405"></a><h3>
 
359
<a name="id3090124"></a><h3>
346
360
<a name="BONOBO-ARG-GET-BOOLEAN:CAPS"></a>BONOBO_ARG_GET_BOOLEAN()</h3>
347
 
<a class="indexterm" name="id2607419"></a><pre class="programlisting">#define BONOBO_ARG_GET_BOOLEAN(a)   (BONOBO_ARG_GET_GENERAL (a, TC_CORBA_boolean, CORBA_boolean, NULL))
 
361
<a class="indexterm" name="id3090138"></a><pre class="programlisting">#define BONOBO_ARG_GET_BOOLEAN(a)   (BONOBO_ARG_GET_GENERAL (a, TC_CORBA_boolean, CORBA_boolean, NULL))
348
362
</pre>
349
363
<p>
350
364
This macro returns a CORBA_boolean from inside a BonoboArg.
354
368
<div class="variablelist"><table border="0">
355
369
<col align="left" valign="top">
356
370
<tbody><tr>
357
 
<td><span class="term"><em class="parameter"><code>a</code></em>&#160;:</span></td>
 
371
<td><p><span class="term"><em class="parameter"><code>a</code></em>&#160;:</span></p></td>
358
372
<td>the BonoboArg to extract the value from.
359
373
 
360
374
 
364
378
</div>
365
379
<hr>
366
380
<div class="refsect2" lang="en">
367
 
<a name="id2607456"></a><h3>
 
381
<a name="id3090175"></a><h3>
368
382
<a name="BONOBO-ARG-SET-BOOLEAN:CAPS"></a>BONOBO_ARG_SET_BOOLEAN()</h3>
369
 
<a class="indexterm" name="id2607469"></a><pre class="programlisting">#define BONOBO_ARG_SET_BOOLEAN(a,v) (BONOBO_ARG_SET_GENERAL (a, v, TC_CORBA_boolean, CORBA_boolean, NULL))
 
383
<a class="indexterm" name="id3090188"></a><pre class="programlisting">#define BONOBO_ARG_SET_BOOLEAN(a,v) (BONOBO_ARG_SET_GENERAL (a, v, TC_CORBA_boolean, CORBA_boolean, NULL))
370
384
</pre>
371
385
<p>
372
386
This macro sets the value of <em class="parameter"><code>a</code></em> to contain <em class="parameter"><code>v</code></em>
375
389
<col align="left" valign="top">
376
390
<tbody>
377
391
<tr>
378
 
<td><span class="term"><em class="parameter"><code>a</code></em>&#160;:</span></td>
 
392
<td><p><span class="term"><em class="parameter"><code>a</code></em>&#160;:</span></p></td>
379
393
<td>the Bonobo arg to insert the value into
380
394
</td>
381
395
</tr>
382
396
<tr>
383
 
<td><span class="term"><em class="parameter"><code>v</code></em>&#160;:</span></td>
 
397
<td><p><span class="term"><em class="parameter"><code>v</code></em>&#160;:</span></p></td>
384
398
<td>a CORBA_boolean.
385
399
 
386
400
 
391
405
</div>
392
406
<hr>
393
407
<div class="refsect2" lang="en">
394
 
<a name="id2607530"></a><h3>
 
408
<a name="id3090249"></a><h3>
395
409
<a name="BONOBO-ARG-GET-SHORT:CAPS"></a>BONOBO_ARG_GET_SHORT()</h3>
396
 
<a class="indexterm" name="id2607543"></a><pre class="programlisting">#define BONOBO_ARG_GET_SHORT(a)     (BONOBO_ARG_GET_GENERAL (a, TC_CORBA_short, CORBA_short, NULL))
 
410
<a class="indexterm" name="id3090262"></a><pre class="programlisting">#define BONOBO_ARG_GET_SHORT(a)     (BONOBO_ARG_GET_GENERAL (a, TC_CORBA_short, CORBA_short, NULL))
397
411
</pre>
398
412
<p>
399
413
This macro returns a CORBA_short from inside a BonoboArg.
403
417
<div class="variablelist"><table border="0">
404
418
<col align="left" valign="top">
405
419
<tbody><tr>
406
 
<td><span class="term"><em class="parameter"><code>a</code></em>&#160;:</span></td>
 
420
<td><p><span class="term"><em class="parameter"><code>a</code></em>&#160;:</span></p></td>
407
421
<td>the BonoboArg to extract the value from.
408
422
 
409
423
 
413
427
</div>
414
428
<hr>
415
429
<div class="refsect2" lang="en">
416
 
<a name="id2607581"></a><h3>
 
430
<a name="id3090300"></a><h3>
417
431
<a name="BONOBO-ARG-SET-SHORT:CAPS"></a>BONOBO_ARG_SET_SHORT()</h3>
418
 
<a class="indexterm" name="id2607594"></a><pre class="programlisting">#define BONOBO_ARG_SET_SHORT(a,v)   (BONOBO_ARG_SET_GENERAL (a, v, TC_CORBA_short, CORBA_short, NULL))
 
432
<a class="indexterm" name="id3090313"></a><pre class="programlisting">#define BONOBO_ARG_SET_SHORT(a,v)   (BONOBO_ARG_SET_GENERAL (a, v, TC_CORBA_short, CORBA_short, NULL))
419
433
</pre>
420
434
<p>
421
435
This macro sets the value of <em class="parameter"><code>a</code></em> to contain <em class="parameter"><code>v</code></em>
424
438
<col align="left" valign="top">
425
439
<tbody>
426
440
<tr>
427
 
<td><span class="term"><em class="parameter"><code>a</code></em>&#160;:</span></td>
 
441
<td><p><span class="term"><em class="parameter"><code>a</code></em>&#160;:</span></p></td>
428
442
<td>the Bonobo arg to insert the value into
429
443
</td>
430
444
</tr>
431
445
<tr>
432
 
<td><span class="term"><em class="parameter"><code>v</code></em>&#160;:</span></td>
 
446
<td><p><span class="term"><em class="parameter"><code>v</code></em>&#160;:</span></p></td>
433
447
<td>a CORBA_short.
434
448
 
435
449
 
440
454
</div>
441
455
<hr>
442
456
<div class="refsect2" lang="en">
443
 
<a name="id2607654"></a><h3>
 
457
<a name="id3090373"></a><h3>
444
458
<a name="BONOBO-ARG-GET-INT:CAPS"></a>BONOBO_ARG_GET_INT()</h3>
445
 
<a class="indexterm" name="id2607668"></a><pre class="programlisting">#define BONOBO_ARG_GET_INT(a)       (BONOBO_ARG_GET_GENERAL (a, TC_CORBA_long, CORBA_long, NULL))
 
459
<a class="indexterm" name="id3090387"></a><pre class="programlisting">#define BONOBO_ARG_GET_INT(a)       (BONOBO_ARG_GET_GENERAL (a, TC_CORBA_long, CORBA_long, NULL))
446
460
</pre>
447
461
<p>
448
462
this macro returns a CORBA_long from inside a BonoboArg,
452
466
<div class="variablelist"><table border="0">
453
467
<col align="left" valign="top">
454
468
<tbody><tr>
455
 
<td><span class="term"><em class="parameter"><code>a</code></em>&#160;:</span></td>
 
469
<td><p><span class="term"><em class="parameter"><code>a</code></em>&#160;:</span></p></td>
456
470
<td>the BonoboArg to extract the value from.
457
471
 
458
472
 
462
476
</div>
463
477
<hr>
464
478
<div class="refsect2" lang="en">
465
 
<a name="id2607705"></a><h3>
 
479
<a name="id3090424"></a><h3>
466
480
<a name="BONOBO-ARG-SET-INT:CAPS"></a>BONOBO_ARG_SET_INT()</h3>
467
 
<a class="indexterm" name="id2607718"></a><pre class="programlisting">#define BONOBO_ARG_SET_INT(a,v)     (BONOBO_ARG_SET_GENERAL (a, v, TC_CORBA_long, CORBA_long, NULL))
 
481
<a class="indexterm" name="id3090437"></a><pre class="programlisting">#define BONOBO_ARG_SET_INT(a,v)     (BONOBO_ARG_SET_GENERAL (a, v, TC_CORBA_long, CORBA_long, NULL))
468
482
</pre>
469
483
<p>
470
484
This macro sets the value of <em class="parameter"><code>a</code></em> to contain <em class="parameter"><code>v</code></em>
473
487
<col align="left" valign="top">
474
488
<tbody>
475
489
<tr>
476
 
<td><span class="term"><em class="parameter"><code>a</code></em>&#160;:</span></td>
 
490
<td><p><span class="term"><em class="parameter"><code>a</code></em>&#160;:</span></p></td>
477
491
<td>the Bonobo arg to insert the value into
478
492
</td>
479
493
</tr>
480
494
<tr>
481
 
<td><span class="term"><em class="parameter"><code>v</code></em>&#160;:</span></td>
 
495
<td><p><span class="term"><em class="parameter"><code>v</code></em>&#160;:</span></p></td>
482
496
<td>a CORBA_long.
483
497
 
484
498
 
489
503
</div>
490
504
<hr>
491
505
<div class="refsect2" lang="en">
492
 
<a name="id2607779"></a><h3>
 
506
<a name="id3090498"></a><h3>
493
507
<a name="BONOBO-ARG-GET-LONG:CAPS"></a>BONOBO_ARG_GET_LONG()</h3>
494
 
<a class="indexterm" name="id2607792"></a><pre class="programlisting">#define BONOBO_ARG_GET_LONG(a)      (BONOBO_ARG_GET_GENERAL (a, TC_CORBA_long, CORBA_long, NULL))
 
508
<a class="indexterm" name="id3090511"></a><pre class="programlisting">#define BONOBO_ARG_GET_LONG(a)      (BONOBO_ARG_GET_GENERAL (a, TC_CORBA_long, CORBA_long, NULL))
495
509
</pre>
496
510
<p>
497
511
this macro returns a CORBA_long from from inside a BonoboArg,
501
515
<div class="variablelist"><table border="0">
502
516
<col align="left" valign="top">
503
517
<tbody><tr>
504
 
<td><span class="term"><em class="parameter"><code>a</code></em>&#160;:</span></td>
 
518
<td><p><span class="term"><em class="parameter"><code>a</code></em>&#160;:</span></p></td>
505
519
<td>the BonoboArg to extract the value from.
506
520
 
507
521
 
511
525
</div>
512
526
<hr>
513
527
<div class="refsect2" lang="en">
514
 
<a name="id2607829"></a><h3>
 
528
<a name="id3090548"></a><h3>
515
529
<a name="BONOBO-ARG-SET-LONG:CAPS"></a>BONOBO_ARG_SET_LONG()</h3>
516
 
<a class="indexterm" name="id2607842"></a><pre class="programlisting">#define BONOBO_ARG_SET_LONG(a,v)    (BONOBO_ARG_SET_GENERAL (a, v, TC_CORBA_long, CORBA_long, NULL))
 
530
<a class="indexterm" name="id3090561"></a><pre class="programlisting">#define BONOBO_ARG_SET_LONG(a,v)    (BONOBO_ARG_SET_GENERAL (a, v, TC_CORBA_long, CORBA_long, NULL))
517
531
</pre>
518
532
<p>
519
533
This macro sets the value of <em class="parameter"><code>a</code></em> to contain <em class="parameter"><code>v</code></em>
522
536
<col align="left" valign="top">
523
537
<tbody>
524
538
<tr>
525
 
<td><span class="term"><em class="parameter"><code>a</code></em>&#160;:</span></td>
 
539
<td><p><span class="term"><em class="parameter"><code>a</code></em>&#160;:</span></p></td>
526
540
<td>the Bonobo arg to insert the value into
527
541
</td>
528
542
</tr>
529
543
<tr>
530
 
<td><span class="term"><em class="parameter"><code>v</code></em>&#160;:</span></td>
 
544
<td><p><span class="term"><em class="parameter"><code>v</code></em>&#160;:</span></p></td>
531
545
<td>a CORBA_long.
532
546
 
533
547
 
538
552
</div>
539
553
<hr>
540
554
<div class="refsect2" lang="en">
541
 
<a name="id2607902"></a><h3>
 
555
<a name="id3090621"></a><h3>
542
556
<a name="BONOBO-ARG-GET-LONGLONG:CAPS"></a>BONOBO_ARG_GET_LONGLONG()</h3>
543
 
<a class="indexterm" name="id2607917"></a><pre class="programlisting">#define BONOBO_ARG_GET_LONGLONG(a)  (BONOBO_ARG_GET_GENERAL (a, TC_CORBA_long_long, CORBA_long_long, NULL))
 
557
<a class="indexterm" name="id3090636"></a><pre class="programlisting">#define BONOBO_ARG_GET_LONGLONG(a)  (BONOBO_ARG_GET_GENERAL (a, TC_CORBA_long_long, CORBA_long_long, NULL))
544
558
</pre>
545
559
<p>
546
560
this macro returns a CORBA_long_long from from inside a BonoboArg,
550
564
<div class="variablelist"><table border="0">
551
565
<col align="left" valign="top">
552
566
<tbody><tr>
553
 
<td><span class="term"><em class="parameter"><code>a</code></em>&#160;:</span></td>
 
567
<td><p><span class="term"><em class="parameter"><code>a</code></em>&#160;:</span></p></td>
554
568
<td>the BonoboArg to extract the value from.
555
569
 
556
570
 
560
574
</div>
561
575
<hr>
562
576
<div class="refsect2" lang="en">
563
 
<a name="id2607955"></a><h3>
 
577
<a name="id3090674"></a><h3>
564
578
<a name="BONOBO-ARG-SET-LONGLONG:CAPS"></a>BONOBO_ARG_SET_LONGLONG()</h3>
565
 
<a class="indexterm" name="id2607968"></a><pre class="programlisting">#define BONOBO_ARG_SET_LONGLONG(a,v) (BONOBO_ARG_SET_GENERAL (a, v, TC_CORBA_long_long, CORBA_long_long, NULL))
 
579
<a class="indexterm" name="id3090687"></a><pre class="programlisting">#define BONOBO_ARG_SET_LONGLONG(a,v) (BONOBO_ARG_SET_GENERAL (a, v, TC_CORBA_long_long, CORBA_long_long, NULL))
566
580
</pre>
567
581
<p>
568
582
This macro sets the value of <em class="parameter"><code>a</code></em> to contain <em class="parameter"><code>v</code></em>
571
585
<col align="left" valign="top">
572
586
<tbody>
573
587
<tr>
574
 
<td><span class="term"><em class="parameter"><code>a</code></em>&#160;:</span></td>
 
588
<td><p><span class="term"><em class="parameter"><code>a</code></em>&#160;:</span></p></td>
575
589
<td>the Bonobo arg to insert the value into
576
590
</td>
577
591
</tr>
578
592
<tr>
579
 
<td><span class="term"><em class="parameter"><code>v</code></em>&#160;:</span></td>
 
593
<td><p><span class="term"><em class="parameter"><code>v</code></em>&#160;:</span></p></td>
580
594
<td>a CORBA_long_long.
581
595
 
582
596
 
587
601
</div>
588
602
<hr>
589
603
<div class="refsect2" lang="en">
590
 
<a name="id2608028"></a><h3>
 
604
<a name="id3090747"></a><h3>
591
605
<a name="BONOBO-ARG-GET-FLOAT:CAPS"></a>BONOBO_ARG_GET_FLOAT()</h3>
592
 
<a class="indexterm" name="id2608041"></a><pre class="programlisting">#define BONOBO_ARG_GET_FLOAT(a)     (BONOBO_ARG_GET_GENERAL (a, TC_CORBA_float, CORBA_float, NULL))
 
606
<a class="indexterm" name="id3090760"></a><pre class="programlisting">#define BONOBO_ARG_GET_FLOAT(a)     (BONOBO_ARG_GET_GENERAL (a, TC_CORBA_float, CORBA_float, NULL))
593
607
</pre>
594
608
<p>
595
609
this macro returns a CORBA_float from inside a BonoboArg,
599
613
<div class="variablelist"><table border="0">
600
614
<col align="left" valign="top">
601
615
<tbody><tr>
602
 
<td><span class="term"><em class="parameter"><code>a</code></em>&#160;:</span></td>
 
616
<td><p><span class="term"><em class="parameter"><code>a</code></em>&#160;:</span></p></td>
603
617
<td>the BonoboArg to extract the value from.
604
618
 
605
619
 
609
623
</div>
610
624
<hr>
611
625
<div class="refsect2" lang="en">
612
 
<a name="id2608079"></a><h3>
 
626
<a name="id3090798"></a><h3>
613
627
<a name="BONOBO-ARG-SET-FLOAT:CAPS"></a>BONOBO_ARG_SET_FLOAT()</h3>
614
 
<a class="indexterm" name="id2608092"></a><pre class="programlisting">#define BONOBO_ARG_SET_FLOAT(a,v)   (BONOBO_ARG_SET_GENERAL (a, v, TC_CORBA_float, CORBA_float, NULL))
 
628
<a class="indexterm" name="id3090811"></a><pre class="programlisting">#define BONOBO_ARG_SET_FLOAT(a,v)   (BONOBO_ARG_SET_GENERAL (a, v, TC_CORBA_float, CORBA_float, NULL))
615
629
</pre>
616
630
<p>
617
631
This macro sets the value of <em class="parameter"><code>a</code></em> to contain <em class="parameter"><code>v</code></em>
620
634
<col align="left" valign="top">
621
635
<tbody>
622
636
<tr>
623
 
<td><span class="term"><em class="parameter"><code>a</code></em>&#160;:</span></td>
 
637
<td><p><span class="term"><em class="parameter"><code>a</code></em>&#160;:</span></p></td>
624
638
<td>the Bonobo arg to insert the value into
625
639
</td>
626
640
</tr>
627
641
<tr>
628
 
<td><span class="term"><em class="parameter"><code>v</code></em>&#160;:</span></td>
 
642
<td><p><span class="term"><em class="parameter"><code>v</code></em>&#160;:</span></p></td>
629
643
<td>a CORBA_float.
630
644
 
631
645
 
636
650
</div>
637
651
<hr>
638
652
<div class="refsect2" lang="en">
639
 
<a name="id2608153"></a><h3>
 
653
<a name="id3090872"></a><h3>
640
654
<a name="BONOBO-ARG-GET-DOUBLE:CAPS"></a>BONOBO_ARG_GET_DOUBLE()</h3>
641
 
<a class="indexterm" name="id2608166"></a><pre class="programlisting">#define BONOBO_ARG_GET_DOUBLE(a)    (BONOBO_ARG_GET_GENERAL (a, TC_CORBA_double, CORBA_double, NULL))
 
655
<a class="indexterm" name="id3090885"></a><pre class="programlisting">#define BONOBO_ARG_GET_DOUBLE(a)    (BONOBO_ARG_GET_GENERAL (a, TC_CORBA_double, CORBA_double, NULL))
642
656
</pre>
643
657
<p>
644
658
This macro returns a CORBA_double from inside a BonoboArg.
648
662
<div class="variablelist"><table border="0">
649
663
<col align="left" valign="top">
650
664
<tbody><tr>
651
 
<td><span class="term"><em class="parameter"><code>a</code></em>&#160;:</span></td>
 
665
<td><p><span class="term"><em class="parameter"><code>a</code></em>&#160;:</span></p></td>
652
666
<td>the BonoboArg to extract the value from.
653
667
 
654
668
 
658
672
</div>
659
673
<hr>
660
674
<div class="refsect2" lang="en">
661
 
<a name="id2608204"></a><h3>
 
675
<a name="id3090923"></a><h3>
662
676
<a name="BONOBO-ARG-SET-DOUBLE:CAPS"></a>BONOBO_ARG_SET_DOUBLE()</h3>
663
 
<a class="indexterm" name="id2608217"></a><pre class="programlisting">#define BONOBO_ARG_SET_DOUBLE(a,v)  (BONOBO_ARG_SET_GENERAL (a, v, TC_CORBA_double, CORBA_double, NULL))
 
677
<a class="indexterm" name="id3090936"></a><pre class="programlisting">#define BONOBO_ARG_SET_DOUBLE(a,v)  (BONOBO_ARG_SET_GENERAL (a, v, TC_CORBA_double, CORBA_double, NULL))
664
678
</pre>
665
679
<p>
666
680
This macro sets the value of <em class="parameter"><code>a</code></em> to contain <em class="parameter"><code>v</code></em>
669
683
<col align="left" valign="top">
670
684
<tbody>
671
685
<tr>
672
 
<td><span class="term"><em class="parameter"><code>a</code></em>&#160;:</span></td>
 
686
<td><p><span class="term"><em class="parameter"><code>a</code></em>&#160;:</span></p></td>
673
687
<td>the Bonobo arg to insert the value into
674
688
</td>
675
689
</tr>
676
690
<tr>
677
 
<td><span class="term"><em class="parameter"><code>v</code></em>&#160;:</span></td>
 
691
<td><p><span class="term"><em class="parameter"><code>v</code></em>&#160;:</span></p></td>
678
692
<td>a CORBA_double.
679
693
 
680
694
 
685
699
</div>
686
700
<hr>
687
701
<div class="refsect2" lang="en">
688
 
<a name="id2608278"></a><h3>
 
702
<a name="id3090997"></a><h3>
689
703
<a name="BONOBO-ARG-GET-CHAR:CAPS"></a>BONOBO_ARG_GET_CHAR()</h3>
690
 
<a class="indexterm" name="id2608290"></a><pre class="programlisting">#define BONOBO_ARG_GET_CHAR(a)      (BONOBO_ARG_GET_GENERAL (a, TC_CORBA_char, CORBA_char, NULL))
 
704
<a class="indexterm" name="id3091009"></a><pre class="programlisting">#define BONOBO_ARG_GET_CHAR(a)      (BONOBO_ARG_GET_GENERAL (a, TC_CORBA_char, CORBA_char, NULL))
691
705
</pre>
692
706
<p>
693
707
This macro returns a CORBA_char from inside a BonoboArg,
697
711
<div class="variablelist"><table border="0">
698
712
<col align="left" valign="top">
699
713
<tbody><tr>
700
 
<td><span class="term"><em class="parameter"><code>a</code></em>&#160;:</span></td>
 
714
<td><p><span class="term"><em class="parameter"><code>a</code></em>&#160;:</span></p></td>
701
715
<td>the BonoboArg to extract the value from.
702
716
 
703
717
 
707
721
</div>
708
722
<hr>
709
723
<div class="refsect2" lang="en">
710
 
<a name="id2608328"></a><h3>
 
724
<a name="id3091047"></a><h3>
711
725
<a name="BONOBO-ARG-SET-CHAR:CAPS"></a>BONOBO_ARG_SET_CHAR()</h3>
712
 
<a class="indexterm" name="id2608341"></a><pre class="programlisting">#define BONOBO_ARG_SET_CHAR(a,v)    (BONOBO_ARG_SET_GENERAL (a, v, TC_CORBA_char, CORBA_char, NULL))
 
726
<a class="indexterm" name="id3091060"></a><pre class="programlisting">#define BONOBO_ARG_SET_CHAR(a,v)    (BONOBO_ARG_SET_GENERAL (a, v, TC_CORBA_char, CORBA_char, NULL))
713
727
</pre>
714
728
<p>
715
729
This macro sets the value of <em class="parameter"><code>a</code></em> to contain <em class="parameter"><code>v</code></em>
718
732
<col align="left" valign="top">
719
733
<tbody>
720
734
<tr>
721
 
<td><span class="term"><em class="parameter"><code>a</code></em>&#160;:</span></td>
 
735
<td><p><span class="term"><em class="parameter"><code>a</code></em>&#160;:</span></p></td>
722
736
<td>the Bonobo arg to insert the value into
723
737
</td>
724
738
</tr>
725
739
<tr>
726
 
<td><span class="term"><em class="parameter"><code>v</code></em>&#160;:</span></td>
 
740
<td><p><span class="term"><em class="parameter"><code>v</code></em>&#160;:</span></p></td>
727
741
<td>a CORBA_char.
728
742
 
729
743
 
734
748
</div>
735
749
<hr>
736
750
<div class="refsect2" lang="en">
737
 
<a name="id2608401"></a><h3>
 
751
<a name="id3091120"></a><h3>
738
752
<a name="BONOBO-ARG-GET-STRING:CAPS"></a>BONOBO_ARG_GET_STRING()</h3>
739
 
<a class="indexterm" name="id2608414"></a><pre class="programlisting">#define             BONOBO_ARG_GET_STRING(a)</pre>
 
753
<a class="indexterm" name="id3091133"></a><pre class="programlisting">#define             BONOBO_ARG_GET_STRING(a)</pre>
740
754
<p>
741
755
this macro returns a const CORBA_char * from from inside a
742
756
BonoboArg, if the BonoboArg's type does not match, the
747
761
<div class="variablelist"><table border="0">
748
762
<col align="left" valign="top">
749
763
<tbody><tr>
750
 
<td><span class="term"><em class="parameter"><code>a</code></em>&#160;:</span></td>
 
764
<td><p><span class="term"><em class="parameter"><code>a</code></em>&#160;:</span></p></td>
751
765
<td>the BonoboArg to extract the value from.
752
766
 
753
767
 
757
771
</div>
758
772
<hr>
759
773
<div class="refsect2" lang="en">
760
 
<a name="id2608458"></a><h3>
 
774
<a name="id3091176"></a><h3>
761
775
<a name="BONOBO-ARG-SET-STRING:CAPS"></a>BONOBO_ARG_SET_STRING()</h3>
762
 
<a class="indexterm" name="id2608471"></a><pre class="programlisting">#define             BONOBO_ARG_SET_STRING(a,v)</pre>
 
776
<a class="indexterm" name="id3091190"></a><pre class="programlisting">#define             BONOBO_ARG_SET_STRING(a,v)</pre>
763
777
<p>
764
778
This macro sets the value of <em class="parameter"><code>a</code></em> to contain a
765
779
duplicated copy of <em class="parameter"><code>v</code></em>
768
782
<col align="left" valign="top">
769
783
<tbody>
770
784
<tr>
771
 
<td><span class="term"><em class="parameter"><code>a</code></em>&#160;:</span></td>
 
785
<td><p><span class="term"><em class="parameter"><code>a</code></em>&#160;:</span></p></td>
772
786
<td>the Bonobo arg to insert the value into
773
787
</td>
774
788
</tr>
775
789
<tr>
776
 
<td><span class="term"><em class="parameter"><code>v</code></em>&#160;:</span></td>
 
790
<td><p><span class="term"><em class="parameter"><code>v</code></em>&#160;:</span></p></td>
777
791
<td>a CORBA_char *.
778
792
 
779
793
 
784
798
</div>
785
799
<hr>
786
800
<div class="refsect2" lang="en">
787
 
<a name="id2608531"></a><h3>
 
801
<a name="id3091250"></a><h3>
788
802
<a name="bonobo-arg-new"></a>bonobo_arg_new ()</h3>
789
 
<a class="indexterm" name="id2608543"></a><pre class="programlisting"><a href="libbonobo-bonobo-arg.html#BonoboArg">BonoboArg</a>*          bonobo_arg_new                      (<a href="libbonobo-bonobo-arg.html#BonoboArgType">BonoboArgType</a> t);</pre>
 
803
<a class="indexterm" name="id3091262"></a><pre class="programlisting"><a class="link" href="libbonobo-bonobo-arg.html#BonoboArg">BonoboArg</a>*          bonobo_arg_new                      (<a class="link" href="libbonobo-bonobo-arg.html#BonoboArgType">BonoboArgType</a> t);</pre>
790
804
<p>
791
805
Create a new BonoboArg with the specified type
792
806
the value of the BonoboArg is initially empty.</p>
797
811
<col align="left" valign="top">
798
812
<tbody>
799
813
<tr>
800
 
<td><span class="term"><em class="parameter"><code>t</code></em>&#160;:</span></td>
 
814
<td><p><span class="term"><em class="parameter"><code>t</code></em>&#160;:</span></p></td>
801
815
<td> the BonoboArgType eg. TC_CORBA_long
802
816
</td>
803
817
</tr>
804
818
<tr>
805
 
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
806
 
<td> the new <a href="libbonobo-bonobo-arg.html#BonoboArg"><span class="type">BonoboArg</span></a>
 
819
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
 
820
<td> the new <a class="link" href="libbonobo-bonobo-arg.html#BonoboArg"><span class="type">BonoboArg</span></a>
807
821
</td>
808
822
</tr>
809
823
</tbody>
811
825
</div>
812
826
<hr>
813
827
<div class="refsect2" lang="en">
814
 
<a name="id2608613"></a><h3>
 
828
<a name="id3091332"></a><h3>
815
829
<a name="bonobo-arg-new-from"></a>bonobo_arg_new_from ()</h3>
816
 
<a class="indexterm" name="id2608627"></a><pre class="programlisting"><a href="libbonobo-bonobo-arg.html#BonoboArg">BonoboArg</a>*          bonobo_arg_new_from                 (<a href="libbonobo-bonobo-arg.html#BonoboArgType">BonoboArgType</a> t,
817
 
                                                         gconstpointer data);</pre>
 
830
<a class="indexterm" name="id3091346"></a><pre class="programlisting"><a class="link" href="libbonobo-bonobo-arg.html#BonoboArg">BonoboArg</a>*          bonobo_arg_new_from                 (<a class="link" href="libbonobo-bonobo-arg.html#BonoboArgType">BonoboArgType</a> t,
 
831
                                                         <a
 
832
href="../glib/glib-Basic-Types.html#gconstpointer"
 
833
>gconstpointer</a> data);</pre>
818
834
<p>
819
835
Create a new BonoboArg with the specified type and data</p>
820
836
<p>
824
840
<col align="left" valign="top">
825
841
<tbody>
826
842
<tr>
827
 
<td><span class="term"><em class="parameter"><code>t</code></em>&#160;:</span></td>
 
843
<td><p><span class="term"><em class="parameter"><code>t</code></em>&#160;:</span></p></td>
828
844
<td> the BonoboArgType eg. TC_CORBA_long
829
845
</td>
830
846
</tr>
831
847
<tr>
832
 
<td><span class="term"><em class="parameter"><code>data</code></em>&#160;:</span></td>
 
848
<td><p><span class="term"><em class="parameter"><code>data</code></em>&#160;:</span></p></td>
833
849
<td> the data for the BonoboArg to be created
834
850
</td>
835
851
</tr>
836
852
<tr>
837
 
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
838
 
<td> the new <a href="libbonobo-bonobo-arg.html#BonoboArg"><span class="type">BonoboArg</span></a>
 
853
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
 
854
<td> the new <a class="link" href="libbonobo-bonobo-arg.html#BonoboArg"><span class="type">BonoboArg</span></a>
839
855
</td>
840
856
</tr>
841
857
</tbody>
843
859
</div>
844
860
<hr>
845
861
<div class="refsect2" lang="en">
846
 
<a name="id2608718"></a><h3>
 
862
<a name="id3091437"></a><h3>
847
863
<a name="bonobo-arg-release"></a>bonobo_arg_release ()</h3>
848
 
<a class="indexterm" name="id2608731"></a><pre class="programlisting">void                bonobo_arg_release                  (<a href="libbonobo-bonobo-arg.html#BonoboArg">BonoboArg</a> *arg);</pre>
 
864
<a class="indexterm" name="id3091450"></a><pre class="programlisting">void                bonobo_arg_release                  (<a class="link" href="libbonobo-bonobo-arg.html#BonoboArg">BonoboArg</a> *arg);</pre>
849
865
<p>
850
866
This frees the memory associated with <em class="parameter"><code>arg</code></em></p>
851
867
<p>
854
870
<div class="variablelist"><table border="0">
855
871
<col align="left" valign="top">
856
872
<tbody><tr>
857
 
<td><span class="term"><em class="parameter"><code>arg</code></em>&#160;:</span></td>
 
873
<td><p><span class="term"><em class="parameter"><code>arg</code></em>&#160;:</span></p></td>
858
874
<td> the bonobo arg.
859
875
</td>
860
876
</tr></tbody>
862
878
</div>
863
879
<hr>
864
880
<div class="refsect2" lang="en">
865
 
<a name="id2608785"></a><h3>
 
881
<a name="id3091504"></a><h3>
866
882
<a name="bonobo-arg-copy"></a>bonobo_arg_copy ()</h3>
867
 
<a class="indexterm" name="id2608798"></a><pre class="programlisting"><a href="libbonobo-bonobo-arg.html#BonoboArg">BonoboArg</a>*          bonobo_arg_copy                     (const <a href="libbonobo-bonobo-arg.html#BonoboArg">BonoboArg</a> *arg);</pre>
 
883
<a class="indexterm" name="id3091517"></a><pre class="programlisting"><a class="link" href="libbonobo-bonobo-arg.html#BonoboArg">BonoboArg</a>*          bonobo_arg_copy                     (const <a class="link" href="libbonobo-bonobo-arg.html#BonoboArg">BonoboArg</a> *arg);</pre>
868
884
<p>
869
885
This function duplicates <em class="parameter"><code>a</code></em> by a deep copy</p>
870
886
<p>
874
890
<col align="left" valign="top">
875
891
<tbody>
876
892
<tr>
877
 
<td><span class="term"><em class="parameter"><code>arg</code></em>&#160;:</span></td>
 
893
<td><p><span class="term"><em class="parameter"><code>arg</code></em>&#160;:</span></p></td>
878
894
<td> the bonobo arg
879
895
</td>
880
896
</tr>
881
897
<tr>
882
 
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
898
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
883
899
<td> a copy of <em class="parameter"><code>arg</code></em>
884
900
</td>
885
901
</tr>
888
904
</div>
889
905
<hr>
890
906
<div class="refsect2" lang="en">
891
 
<a name="id2608870"></a><h3>
 
907
<a name="id3091588"></a><h3>
892
908
<a name="bonobo-arg-from-gvalue"></a>bonobo_arg_from_gvalue ()</h3>
893
 
<a class="indexterm" name="id2608883"></a><pre class="programlisting">void                bonobo_arg_from_gvalue              (<a href="libbonobo-bonobo-arg.html#BonoboArg">BonoboArg</a> *a,
894
 
                                                         const GValue *value);</pre>
 
909
<a class="indexterm" name="id3091602"></a><pre class="programlisting">void                bonobo_arg_from_gvalue              (<a class="link" href="libbonobo-bonobo-arg.html#BonoboArg">BonoboArg</a> *a,
 
910
                                                         const <a
 
911
href="../gobject/gobject-Generic-values.html#GValue"
 
912
>GValue</a> *value);</pre>
895
913
<p>
896
914
This maps a GValue <em class="parameter"><code>value</code></em> to a BonoboArg <em class="parameter"><code>a</code></em>;
897
915
<em class="parameter"><code>a</code></em> must point to a freshly allocated BonoboArg
903
921
<col align="left" valign="top">
904
922
<tbody>
905
923
<tr>
906
 
<td><span class="term"><em class="parameter"><code>a</code></em>&#160;:</span></td>
 
924
<td><p><span class="term"><em class="parameter"><code>a</code></em>&#160;:</span></p></td>
907
925
<td> pointer to blank BonoboArg
908
926
</td>
909
927
</tr>
910
928
<tr>
911
 
<td><span class="term"><em class="parameter"><code>value</code></em>&#160;:</span></td>
912
 
<td> <span class="type">GValue</span> to copy
 
929
<td><p><span class="term"><em class="parameter"><code>value</code></em>&#160;:</span></p></td>
 
930
<td> <a
 
931
href="../gobject/gobject-Generic-values.html#GValue"
 
932
><span class="type">GValue</span></a> to copy
913
933
</td>
914
934
</tr>
915
935
</tbody>
917
937
</div>
918
938
<hr>
919
939
<div class="refsect2" lang="en">
920
 
<a name="id2608981"></a><h3>
 
940
<a name="id3091700"></a><h3>
921
941
<a name="bonobo-arg-type-from-gtype"></a>bonobo_arg_type_from_gtype ()</h3>
922
 
<a class="indexterm" name="id2608995"></a><pre class="programlisting"><a href="libbonobo-bonobo-arg.html#BonoboArgType">BonoboArgType</a>       bonobo_arg_type_from_gtype          (GType t);</pre>
 
942
<a class="indexterm" name="id3091714"></a><pre class="programlisting"><a class="link" href="libbonobo-bonobo-arg.html#BonoboArgType">BonoboArgType</a>       bonobo_arg_type_from_gtype          (<a
 
943
href="../gobject/gobject-Type-Information.html#GType"
 
944
>GType</a> t);</pre>
923
945
<p>
924
946
 
925
947
</p>
927
949
<col align="left" valign="top">
928
950
<tbody>
929
951
<tr>
930
 
<td><span class="term"><em class="parameter"><code>t</code></em>&#160;:</span></td>
 
952
<td><p><span class="term"><em class="parameter"><code>t</code></em>&#160;:</span></p></td>
931
953
<td>
932
954
</td>
933
955
</tr>
934
956
<tr>
935
 
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
957
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
936
958
<td>
937
959
 
938
960
 
943
965
</div>
944
966
<hr>
945
967
<div class="refsect2" lang="en">
946
 
<a name="id2609051"></a><h3>
 
968
<a name="id3091770"></a><h3>
947
969
<a name="bonobo-arg-to-gvalue"></a>bonobo_arg_to_gvalue ()</h3>
948
 
<a class="indexterm" name="id2609064"></a><pre class="programlisting">void                bonobo_arg_to_gvalue                (GValue *value,
949
 
                                                         const <a href="libbonobo-bonobo-arg.html#BonoboArg">BonoboArg</a> *arg);</pre>
 
970
<a class="indexterm" name="id3091783"></a><pre class="programlisting">void                bonobo_arg_to_gvalue                (<a
 
971
href="../gobject/gobject-Generic-values.html#GValue"
 
972
>GValue</a> *value,
 
973
                                                         const <a class="link" href="libbonobo-bonobo-arg.html#BonoboArg">BonoboArg</a> *arg);</pre>
950
974
<p>
951
975
Maps a BonoboArg to a GtkArg; <em class="parameter"><code>a</code></em> must point
952
976
to a blank GtkArg.</p>
957
981
<col align="left" valign="top">
958
982
<tbody>
959
983
<tr>
960
 
<td><span class="term"><em class="parameter"><code>value</code></em>&#160;:</span></td>
961
 
<td> pointer to a blank <span class="type">GValue</span>
 
984
<td><p><span class="term"><em class="parameter"><code>value</code></em>&#160;:</span></p></td>
 
985
<td> pointer to a blank <a
 
986
href="../gobject/gobject-Generic-values.html#GValue"
 
987
><span class="type">GValue</span></a>
962
988
</td>
963
989
</tr>
964
990
<tr>
965
 
<td><span class="term"><em class="parameter"><code>arg</code></em>&#160;:</span></td>
 
991
<td><p><span class="term"><em class="parameter"><code>arg</code></em>&#160;:</span></p></td>
966
992
<td> the BonoboArg to copy
967
993
</td>
968
994
</tr>
971
997
</div>
972
998
<hr>
973
999
<div class="refsect2" lang="en">
974
 
<a name="id2609150"></a><h3>
 
1000
<a name="id3091869"></a><h3>
975
1001
<a name="bonobo-arg-type-to-gtype"></a>bonobo_arg_type_to_gtype ()</h3>
976
 
<a class="indexterm" name="id2609164"></a><pre class="programlisting">GType               bonobo_arg_type_to_gtype            (<a href="libbonobo-bonobo-arg.html#BonoboArgType">BonoboArgType</a> id);</pre>
 
1002
<a class="indexterm" name="id3091882"></a><pre class="programlisting"><a
 
1003
href="../gobject/gobject-Type-Information.html#GType"
 
1004
>GType</a>               bonobo_arg_type_to_gtype            (<a class="link" href="libbonobo-bonobo-arg.html#BonoboArgType">BonoboArgType</a> id);</pre>
977
1005
<p>
978
1006
This maps a BonoboArgType to a GType</p>
979
1007
<p>
983
1011
<col align="left" valign="top">
984
1012
<tbody>
985
1013
<tr>
986
 
<td><span class="term"><em class="parameter"><code>id</code></em>&#160;:</span></td>
 
1014
<td><p><span class="term"><em class="parameter"><code>id</code></em>&#160;:</span></p></td>
987
1015
<td> the BonoboArgType
988
1016
</td>
989
1017
</tr>
990
1018
<tr>
991
 
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
1019
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
992
1020
<td> the mapped type or <code class="literal">0</code> on failure
993
1021
</td>
994
1022
</tr>
997
1025
</div>
998
1026
<hr>
999
1027
<div class="refsect2" lang="en">
1000
 
<a name="id2609236"></a><h3>
 
1028
<a name="id3091955"></a><h3>
1001
1029
<a name="bonobo-arg-is-equal"></a>bonobo_arg_is_equal ()</h3>
1002
 
<a class="indexterm" name="id2609250"></a><pre class="programlisting">gboolean            bonobo_arg_is_equal                 (const <a href="libbonobo-bonobo-arg.html#BonoboArg">BonoboArg</a> *a,
1003
 
                                                         const <a href="libbonobo-bonobo-arg.html#BonoboArg">BonoboArg</a> *b,
 
1030
<a class="indexterm" name="id3091969"></a><pre class="programlisting"><a
 
1031
href="../glib/glib-Basic-Types.html#gboolean"
 
1032
>gboolean</a>            bonobo_arg_is_equal                 (const <a class="link" href="libbonobo-bonobo-arg.html#BonoboArg">BonoboArg</a> *a,
 
1033
                                                         const <a class="link" href="libbonobo-bonobo-arg.html#BonoboArg">BonoboArg</a> *b,
1004
1034
                                                         CORBA_Environment *opt_ev);</pre>
1005
1035
<p>
1006
 
Compares two <a href="libbonobo-bonobo-arg.html#BonoboArg"><span class="type">BonoboArg</span></a>'s for equivalence; will return <code class="literal">TRUE</code>
 
1036
Compares two <a class="link" href="libbonobo-bonobo-arg.html#BonoboArg"><span class="type">BonoboArg</span></a>'s for equivalence; will return <a
 
1037
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
 
1038
><code class="literal">TRUE</code></a>
1007
1039
if equivalent for all simple cases. For Object references
1008
1040
CORBA sometimes denies 2 object references are equivalent
1009
1041
even if they are [ this is a feature_not_bug ].
1017
1049
<col align="left" valign="top">
1018
1050
<tbody>
1019
1051
<tr>
1020
 
<td><span class="term"><em class="parameter"><code>a</code></em>&#160;:</span></td>
 
1052
<td><p><span class="term"><em class="parameter"><code>a</code></em>&#160;:</span></p></td>
1021
1053
<td> a bonobo arg
1022
1054
</td>
1023
1055
</tr>
1024
1056
<tr>
1025
 
<td><span class="term"><em class="parameter"><code>b</code></em>&#160;:</span></td>
 
1057
<td><p><span class="term"><em class="parameter"><code>b</code></em>&#160;:</span></p></td>
1026
1058
<td> another bonobo arg
1027
1059
</td>
1028
1060
</tr>
1029
1061
<tr>
1030
 
<td><span class="term"><em class="parameter"><code>opt_ev</code></em>&#160;:</span></td>
1031
 
<td> optional exception environment or <code class="literal">NULL</code>.
 
1062
<td><p><span class="term"><em class="parameter"><code>opt_ev</code></em>&#160;:</span></p></td>
 
1063
<td> optional exception environment or <a
 
1064
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
 
1065
><code class="literal">NULL</code></a>.
1032
1066
</td>
1033
1067
</tr>
1034
1068
<tr>
1035
 
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
1036
 
<td> <code class="literal">TRUE</code> if <em class="parameter"><code>a</code></em> == <em class="parameter"><code>b</code></em>
 
1069
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
 
1070
<td> <a
 
1071
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
 
1072
><code class="literal">TRUE</code></a> if <em class="parameter"><code>a</code></em> == <em class="parameter"><code>b</code></em>
1037
1073
</td>
1038
1074
</tr>
1039
1075
</tbody>
1041
1077
</div>
1042
1078
<hr>
1043
1079
<div class="refsect2" lang="en">
1044
 
<a name="id2609410"></a><h3>
 
1080
<a name="id3092129"></a><h3>
1045
1081
<a name="bonobo-arg-type-is-equal"></a>bonobo_arg_type_is_equal ()</h3>
1046
 
<a class="indexterm" name="id2609423"></a><pre class="programlisting">gboolean            bonobo_arg_type_is_equal            (<a href="libbonobo-bonobo-arg.html#BonoboArgType">BonoboArgType</a> a,
1047
 
                                                         <a href="libbonobo-bonobo-arg.html#BonoboArgType">BonoboArgType</a> b,
 
1082
<a class="indexterm" name="id3092142"></a><pre class="programlisting"><a
 
1083
href="../glib/glib-Basic-Types.html#gboolean"
 
1084
>gboolean</a>            bonobo_arg_type_is_equal            (<a class="link" href="libbonobo-bonobo-arg.html#BonoboArgType">BonoboArgType</a> a,
 
1085
                                                         <a class="link" href="libbonobo-bonobo-arg.html#BonoboArgType">BonoboArgType</a> b,
1048
1086
                                                         CORBA_Environment *opt_ev);</pre>
1049
1087
<p>
1050
 
This compares two <a href="libbonobo-bonobo-arg.html#BonoboArgType"><span class="type">BonoboArgType</span></a>'s in <em class="parameter"><code>a</code></em> and <em class="parameter"><code>b</code></em>.
 
1088
This compares two <a class="link" href="libbonobo-bonobo-arg.html#BonoboArgType"><span class="type">BonoboArgType</span></a>'s in <em class="parameter"><code>a</code></em> and <em class="parameter"><code>b</code></em>.
1051
1089
The <em class="parameter"><code>opt_ev</code></em> is an optional <span class="type">CORBA_Environment</span> for
1052
 
exceptions, or <code class="literal">NULL</code>. This function is commutative.</p>
 
1090
exceptions, or <a
 
1091
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
 
1092
><code class="literal">NULL</code></a>. This function is commutative.</p>
1053
1093
<p>
1054
1094
 
1055
1095
</p>
1057
1097
<col align="left" valign="top">
1058
1098
<tbody>
1059
1099
<tr>
1060
 
<td><span class="term"><em class="parameter"><code>a</code></em>&#160;:</span></td>
1061
 
<td> a type code
1062
 
</td>
1063
 
</tr>
1064
 
<tr>
1065
 
<td><span class="term"><em class="parameter"><code>b</code></em>&#160;:</span></td>
1066
 
<td> a type code
1067
 
</td>
1068
 
</tr>
1069
 
<tr>
1070
 
<td><span class="term"><em class="parameter"><code>opt_ev</code></em>&#160;:</span></td>
 
1100
<td><p><span class="term"><em class="parameter"><code>a</code></em>&#160;:</span></p></td>
 
1101
<td> a type code
 
1102
</td>
 
1103
</tr>
 
1104
<tr>
 
1105
<td><p><span class="term"><em class="parameter"><code>b</code></em>&#160;:</span></p></td>
 
1106
<td> a type code
 
1107
</td>
 
1108
</tr>
 
1109
<tr>
 
1110
<td><p><span class="term"><em class="parameter"><code>opt_ev</code></em>&#160;:</span></p></td>
1071
1111
<td> optional exception environment or NULL.
1072
1112
</td>
1073
1113
</tr>
1074
1114
<tr>
1075
 
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
1076
 
<td> <code class="literal">TRUE</code> if equal, <code class="literal">FALSE</code> if different
 
1115
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
 
1116
<td> <a
 
1117
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
 
1118
><code class="literal">TRUE</code></a> if equal, <a
 
1119
href="../glib/glib-Standard-Macros.html#FALSE:CAPS"
 
1120
><code class="literal">FALSE</code></a> if different
1077
1121
</td>
1078
1122
</tr>
1079
1123
</tbody>