<HTML ><HEAD ><TITLE >bonobo-arg</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK REL="HOME" TITLE="Libbonobo Reference Manual" HREF="index.html"><LINK REL="UP" TITLE="Libbonobo API Reference Manual" HREF="c4.html"><LINK REL="PREVIOUS" TITLE="BonoboXObject" HREF="libbonobo-bonobo-xobject.html"><LINK REL="NEXT" TITLE="bonobo-config-database" HREF="libbonobo-bonobo-config-database.html"></HEAD ><BODY CLASS="REFENTRY" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" ><DIV CLASS="NAVHEADER" ><TABLE WIDTH="100%" BORDER="0" BGCOLOR="#000000" CELLPADDING="1" CELLSPACING="0" ><TR ><TH COLSPAN="4" ALIGN="center" ><FONT COLOR="#FFFFFF" SIZE="5" >Libbonobo Reference Manual</FONT ></TH ></TR ><TR ><TD WIDTH="25%" BGCOLOR="#C00000" ALIGN="left" ><A HREF="libbonobo-bonobo-xobject.html" ><FONT COLOR="#FFFFFF" SIZE="3" ><B ><<< Previous Page</B ></FONT ></A ></TD ><TD WIDTH="25%" BGCOLOR="#0000C0" ALIGN="center" ><FONT COLOR="#FFFFFF" SIZE="3" ><B ><A HREF="index.html" ><FONT COLOR="#FFFFFF" SIZE="3" ><B >Home</B ></FONT ></A ></B ></FONT ></TD ><TD WIDTH="25%" BGCOLOR="#00C000" ALIGN="center" ><FONT COLOR="#FFFFFF" SIZE="3" ><B ><A HREF="c4.html" ><FONT COLOR="#FFFFFF" SIZE="3" ><B >Up</B ></FONT ></A ></B ></FONT ></TD ><TD WIDTH="25%" BGCOLOR="#C00000" ALIGN="right" ><A HREF="libbonobo-bonobo-config-database.html" ><FONT COLOR="#FFFFFF" SIZE="3" ><B >Next Page >>></B ></FONT ></A ></TD ></TR ></TABLE ></DIV ><H1 ><A NAME="LIBBONOBO-BONOBO-ARG" ></A >bonobo-arg</H1 ><DIV CLASS="REFNAMEDIV" ><A NAME="AEN4661" ></A ><H2 >Name</H2 >bonobo-arg -- simplified CORBA_Any wrappers</DIV ><DIV CLASS="REFSYNOPSISDIV" ><A NAME="AEN4664" ></A ><H2 >Synopsis</H2 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="SYNOPSIS" > typedef <A HREF="libbonobo-bonobo-arg.html#BONOBOARG" >BonoboArg</A >; typedef <A HREF="libbonobo-bonobo-arg.html#BONOBOARGTYPE" >BonoboArgType</A >; #define <A HREF="libbonobo-bonobo-arg.html#BONOBO-ARG-NULL-CAPS" >BONOBO_ARG_NULL</A > #define <A HREF="libbonobo-bonobo-arg.html#BONOBO-ARG-BOOLEAN-CAPS" >BONOBO_ARG_BOOLEAN</A > #define <A HREF="libbonobo-bonobo-arg.html#BONOBO-ARG-SHORT-CAPS" >BONOBO_ARG_SHORT</A > #define <A HREF="libbonobo-bonobo-arg.html#BONOBO-ARG-INT-CAPS" >BONOBO_ARG_INT</A > #define <A HREF="libbonobo-bonobo-arg.html#BONOBO-ARG-LONG-CAPS" >BONOBO_ARG_LONG</A > #define <A HREF="libbonobo-bonobo-arg.html#BONOBO-ARG-LONGLONG-CAPS" >BONOBO_ARG_LONGLONG</A > #define <A HREF="libbonobo-bonobo-arg.html#BONOBO-ARG-FLOAT-CAPS" >BONOBO_ARG_FLOAT</A > #define <A HREF="libbonobo-bonobo-arg.html#BONOBO-ARG-DOUBLE-CAPS" >BONOBO_ARG_DOUBLE</A > #define <A HREF="libbonobo-bonobo-arg.html#BONOBO-ARG-CHAR-CAPS" >BONOBO_ARG_CHAR</A > #define <A HREF="libbonobo-bonobo-arg.html#BONOBO-ARG-STRING-CAPS" >BONOBO_ARG_STRING</A > #define <A HREF="libbonobo-bonobo-arg.html#BONOBO-ARG-GET-GENERAL-CAPS" >BONOBO_ARG_GET_GENERAL</A > (a,c,t,e) #define <A HREF="libbonobo-bonobo-arg.html#BONOBO-ARG-SET-GENERAL-CAPS" >BONOBO_ARG_SET_GENERAL</A > (a,v,c,t,e) #define <A HREF="libbonobo-bonobo-arg.html#BONOBO-ARG-GET-BOOLEAN-CAPS" >BONOBO_ARG_GET_BOOLEAN</A > (a) #define <A HREF="libbonobo-bonobo-arg.html#BONOBO-ARG-SET-BOOLEAN-CAPS" >BONOBO_ARG_SET_BOOLEAN</A > (a,v) #define <A HREF="libbonobo-bonobo-arg.html#BONOBO-ARG-GET-SHORT-CAPS" >BONOBO_ARG_GET_SHORT</A > (a) #define <A HREF="libbonobo-bonobo-arg.html#BONOBO-ARG-SET-SHORT-CAPS" >BONOBO_ARG_SET_SHORT</A > (a,v) #define <A HREF="libbonobo-bonobo-arg.html#BONOBO-ARG-GET-INT-CAPS" >BONOBO_ARG_GET_INT</A > (a) #define <A HREF="libbonobo-bonobo-arg.html#BONOBO-ARG-SET-INT-CAPS" >BONOBO_ARG_SET_INT</A > (a,v) #define <A HREF="libbonobo-bonobo-arg.html#BONOBO-ARG-GET-LONG-CAPS" >BONOBO_ARG_GET_LONG</A > (a) #define <A HREF="libbonobo-bonobo-arg.html#BONOBO-ARG-SET-LONG-CAPS" >BONOBO_ARG_SET_LONG</A > (a,v) #define <A HREF="libbonobo-bonobo-arg.html#BONOBO-ARG-GET-LONGLONG-CAPS" >BONOBO_ARG_GET_LONGLONG</A > (a) #define <A HREF="libbonobo-bonobo-arg.html#BONOBO-ARG-SET-LONGLONG-CAPS" >BONOBO_ARG_SET_LONGLONG</A > (a,v) #define <A HREF="libbonobo-bonobo-arg.html#BONOBO-ARG-GET-FLOAT-CAPS" >BONOBO_ARG_GET_FLOAT</A > (a) #define <A HREF="libbonobo-bonobo-arg.html#BONOBO-ARG-SET-FLOAT-CAPS" >BONOBO_ARG_SET_FLOAT</A > (a,v) #define <A HREF="libbonobo-bonobo-arg.html#BONOBO-ARG-GET-DOUBLE-CAPS" >BONOBO_ARG_GET_DOUBLE</A > (a) #define <A HREF="libbonobo-bonobo-arg.html#BONOBO-ARG-SET-DOUBLE-CAPS" >BONOBO_ARG_SET_DOUBLE</A > (a,v) #define <A HREF="libbonobo-bonobo-arg.html#BONOBO-ARG-GET-CHAR-CAPS" >BONOBO_ARG_GET_CHAR</A > (a) #define <A HREF="libbonobo-bonobo-arg.html#BONOBO-ARG-SET-CHAR-CAPS" >BONOBO_ARG_SET_CHAR</A > (a,v) #define <A HREF="libbonobo-bonobo-arg.html#BONOBO-ARG-GET-STRING-CAPS" >BONOBO_ARG_GET_STRING</A > (a) #define <A HREF="libbonobo-bonobo-arg.html#BONOBO-ARG-SET-STRING-CAPS" >BONOBO_ARG_SET_STRING</A > (a,v) <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); <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, gconstpointer data); void <A HREF="libbonobo-bonobo-arg.html#BONOBO-ARG-RELEASE" >bonobo_arg_release</A > (<A HREF="libbonobo-bonobo-arg.html#BONOBOARG" >BonoboArg</A > *arg); <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); 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, const GValue *value); <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); void <A HREF="libbonobo-bonobo-arg.html#BONOBO-ARG-TO-GVALUE" >bonobo_arg_to_gvalue</A > (GValue *value, const <A HREF="libbonobo-bonobo-arg.html#BONOBOARG" >BonoboArg</A > *arg); 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); 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, const <A HREF="libbonobo-bonobo-arg.html#BONOBOARG" >BonoboArg</A > *b, CORBA_Environment *opt_ev); 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, <A HREF="libbonobo-bonobo-arg.html#BONOBOARGTYPE" >BonoboArgType</A > b, CORBA_Environment *opt_ev);</PRE ></TD ></TR ></TABLE ></DIV ><DIV CLASS="REFSECT1" ><A NAME="AEN4733" ></A ><H2 >Description</H2 ><P >The BonoboArg code, and macros are designed to make the use of CORBA_Any's slightly simpler by providing a glib like binding for them. The bonobo-arg code also provides mappings between Gtk Args and CORBA_anys.</P ><P >A typical use of the BonoboArg macros would be in <DIV CLASS="EXAMPLE" ><A NAME="AEN4737" ></A ><P ><B >Example 1. Property bag implementation</B ></P ><TABLE BORDER="0" BGCOLOR="#D8F8D8" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >static void get_prop (BonoboPropertyBag *bag, BonoboArg *arg, guint arg_id, CORBA_Environment *ev, gpointer user_data) { GtkObject *clock = user_data; switch (arg_id) { case PROP_RUNNING: { BONOBO_ARG_SET_BOOLEAN (arg, is_it_running); break; } default: bonobo_exception_set (ev, ex_Bonobo_PropertyBag_NotFound); break; } } </PRE ></TD ></TR ></TABLE ></DIV ></P ></DIV ><DIV CLASS="REFSECT1" ><A NAME="AEN4740" ></A ><H2 >Details</H2 ><DIV CLASS="REFSECT2" ><A NAME="AEN4742" ></A ><H3 ><A NAME="BONOBOARG" ></A >BonoboArg</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >typedef CORBA_any BonoboArg;</PRE ></TD ></TR ></TABLE ><P >A glib style looking type alias for a CORBA_any</P ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN4747" ></A ><H3 ><A NAME="BONOBOARGTYPE" ></A >BonoboArgType</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >typedef CORBA_TypeCode BonoboArgType;</PRE ></TD ></TR ></TABLE ><P >A glib style looking typedef for a CORBA type description.</P ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN4752" ></A ><H3 ><A NAME="BONOBO-ARG-NULL-CAPS" ></A >BONOBO_ARG_NULL</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >#define BONOBO_ARG_NULL TC_null</PRE ></TD ></TR ></TABLE ><P >the null type</P ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN4757" ></A ><H3 ><A NAME="BONOBO-ARG-BOOLEAN-CAPS" ></A >BONOBO_ARG_BOOLEAN</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >#define BONOBO_ARG_BOOLEAN TC_CORBA_boolean</PRE ></TD ></TR ></TABLE ><P >the boolean type</P ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN4762" ></A ><H3 ><A NAME="BONOBO-ARG-SHORT-CAPS" ></A >BONOBO_ARG_SHORT</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >#define BONOBO_ARG_SHORT TC_CORBA_short</PRE ></TD ></TR ></TABLE ><P ></P ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN4767" ></A ><H3 ><A NAME="BONOBO-ARG-INT-CAPS" ></A >BONOBO_ARG_INT</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >#define BONOBO_ARG_INT TC_CORBA_long</PRE ></TD ></TR ></TABLE ><P >the integer type [ in fact a long ]</P ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN4772" ></A ><H3 ><A NAME="BONOBO-ARG-LONG-CAPS" ></A >BONOBO_ARG_LONG</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >#define BONOBO_ARG_LONG TC_CORBA_long</PRE ></TD ></TR ></TABLE ><P >the long type</P ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN4777" ></A ><H3 ><A NAME="BONOBO-ARG-LONGLONG-CAPS" ></A >BONOBO_ARG_LONGLONG</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >#define BONOBO_ARG_LONGLONG TC_CORBA_long_long</PRE ></TD ></TR ></TABLE ><P ></P ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN4782" ></A ><H3 ><A NAME="BONOBO-ARG-FLOAT-CAPS" ></A >BONOBO_ARG_FLOAT</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >#define BONOBO_ARG_FLOAT TC_CORBA_float</PRE ></TD ></TR ></TABLE ><P >the float type</P ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN4787" ></A ><H3 ><A NAME="BONOBO-ARG-DOUBLE-CAPS" ></A >BONOBO_ARG_DOUBLE</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >#define BONOBO_ARG_DOUBLE TC_CORBA_double</PRE ></TD ></TR ></TABLE ><P >the double type</P ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN4792" ></A ><H3 ><A NAME="BONOBO-ARG-CHAR-CAPS" ></A >BONOBO_ARG_CHAR</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >#define BONOBO_ARG_CHAR TC_CORBA_char</PRE ></TD ></TR ></TABLE ><P ></P ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN4797" ></A ><H3 ><A NAME="BONOBO-ARG-STRING-CAPS" ></A >BONOBO_ARG_STRING</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >#define BONOBO_ARG_STRING TC_CORBA_string</PRE ></TD ></TR ></TABLE ><P >the string type</P ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN4802" ></A ><H3 ><A NAME="BONOBO-ARG-GET-GENERAL-CAPS" ></A >BONOBO_ARG_GET_GENERAL()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >#define BONOBO_ARG_GET_GENERAL(a,c,t,e)</PRE ></TD ></TR ></TABLE ><P >A macro to extract a value from a BonoboArg with the given CORBA type <TT CLASS="PARAMETER" ><I >t</I ></TT >.</P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN4808" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >a</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >the BonoboArg</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >c</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >a BonoboArgType for checking</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >t</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >the C type of the value eg. for BONOBO_ARG_LONG: CORBA_long</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >e</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >an optional CORBA_Environment or NULL. </TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN4829" ></A ><H3 ><A NAME="BONOBO-ARG-SET-GENERAL-CAPS" ></A >BONOBO_ARG_SET_GENERAL()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >#define BONOBO_ARG_SET_GENERAL(a,v,c,t,e)</PRE ></TD ></TR ></TABLE ><P >A macro to insert a value into an empty BonoboArg with the given CORBA type <TT CLASS="PARAMETER" ><I >t</I ></TT >.</P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN4835" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >a</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >the BonoboArg</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >v</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >a pointer to the value to insert.</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >c</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >a BonoboArgType for checking</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >t</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >the C type of the value eg. for BONOBO_ARG_LONG: CORBA_long</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >e</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >an optional CORBA_Environment or NULL. </TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN4860" ></A ><H3 ><A NAME="BONOBO-ARG-GET-BOOLEAN-CAPS" ></A >BONOBO_ARG_GET_BOOLEAN()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >#define BONOBO_ARG_GET_BOOLEAN(a) (BONOBO_ARG_GET_GENERAL (a, TC_CORBA_boolean, CORBA_boolean, NULL))</PRE ></TD ></TR ></TABLE ><P >this macro returns a CORBA_boolean from inside a BonoboArg, if the BonoboArg's type does not match, the behavior is undefined, and may cause faults.</P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN4865" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >a</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >the BonoboArg to extract the value from. </TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN4874" ></A ><H3 ><A NAME="BONOBO-ARG-SET-BOOLEAN-CAPS" ></A >BONOBO_ARG_SET_BOOLEAN()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >#define BONOBO_ARG_SET_BOOLEAN(a,v) (BONOBO_ARG_SET_GENERAL (a, v, TC_CORBA_boolean, CORBA_boolean, NULL))</PRE ></TD ></TR ></TABLE ><P >This macro sets the value of <TT CLASS="PARAMETER" ><I >a</I ></TT > to contain <TT CLASS="PARAMETER" ><I >v</I ></TT ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN4881" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >a</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >the Bonobo arg to insert the value into</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >v</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >a CORBA_boolean. </TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN4894" ></A ><H3 ><A NAME="BONOBO-ARG-GET-SHORT-CAPS" ></A >BONOBO_ARG_GET_SHORT()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >#define BONOBO_ARG_GET_SHORT(a) (BONOBO_ARG_GET_GENERAL (a, TC_CORBA_short, CORBA_short, NULL))</PRE ></TD ></TR ></TABLE ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN4899" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >a</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > </TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN4908" ></A ><H3 ><A NAME="BONOBO-ARG-SET-SHORT-CAPS" ></A >BONOBO_ARG_SET_SHORT()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >#define BONOBO_ARG_SET_SHORT(a,v) (BONOBO_ARG_SET_GENERAL (a, v, TC_CORBA_short, CORBA_short, NULL))</PRE ></TD ></TR ></TABLE ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN4913" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >a</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > </TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >v</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > </TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN4926" ></A ><H3 ><A NAME="BONOBO-ARG-GET-INT-CAPS" ></A >BONOBO_ARG_GET_INT()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >#define BONOBO_ARG_GET_INT(a) (BONOBO_ARG_GET_GENERAL (a, TC_CORBA_long, CORBA_long, NULL))</PRE ></TD ></TR ></TABLE ><P >this macro returns a CORBA_long from inside a BonoboArg, if the BonoboArg's type does not match, the behavior is undefined, and may cause faults.</P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN4931" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >a</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >the BonoboArg to extract the value from. </TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN4940" ></A ><H3 ><A NAME="BONOBO-ARG-SET-INT-CAPS" ></A >BONOBO_ARG_SET_INT()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >#define BONOBO_ARG_SET_INT(a,v) (BONOBO_ARG_SET_GENERAL (a, v, TC_CORBA_long, CORBA_long, NULL))</PRE ></TD ></TR ></TABLE ><P >This macro sets the value of <TT CLASS="PARAMETER" ><I >a</I ></TT > to contain <TT CLASS="PARAMETER" ><I >v</I ></TT ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN4947" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >a</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >the Bonobo arg to insert the value into</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >v</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >a CORBA_long. </TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN4960" ></A ><H3 ><A NAME="BONOBO-ARG-GET-LONG-CAPS" ></A >BONOBO_ARG_GET_LONG()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >#define BONOBO_ARG_GET_LONG(a) (BONOBO_ARG_GET_GENERAL (a, TC_CORBA_long, CORBA_long, NULL))</PRE ></TD ></TR ></TABLE ><P >this macro returns a CORBA_long from from inside a BonoboArg, if the BonoboArg's type does not match, the behavior is undefined, and may cause faults.</P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN4965" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >a</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >the BonoboArg to extract the value from. </TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN4974" ></A ><H3 ><A NAME="BONOBO-ARG-SET-LONG-CAPS" ></A >BONOBO_ARG_SET_LONG()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >#define BONOBO_ARG_SET_LONG(a,v) (BONOBO_ARG_SET_GENERAL (a, v, TC_CORBA_long, CORBA_long, NULL))</PRE ></TD ></TR ></TABLE ><P >This macro sets the value of <TT CLASS="PARAMETER" ><I >a</I ></TT > to contain <TT CLASS="PARAMETER" ><I >v</I ></TT ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN4981" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >a</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >the Bonobo arg to insert the value into</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >v</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >a CORBA_long. </TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN4994" ></A ><H3 ><A NAME="BONOBO-ARG-GET-LONGLONG-CAPS" ></A >BONOBO_ARG_GET_LONGLONG()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >#define BONOBO_ARG_GET_LONGLONG(a) (BONOBO_ARG_GET_GENERAL (a, TC_CORBA_long_long, CORBA_long_long, NULL))</PRE ></TD ></TR ></TABLE ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN4999" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >a</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > </TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN5008" ></A ><H3 ><A NAME="BONOBO-ARG-SET-LONGLONG-CAPS" ></A >BONOBO_ARG_SET_LONGLONG()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >#define BONOBO_ARG_SET_LONGLONG(a,v) (BONOBO_ARG_SET_GENERAL (a, v, TC_CORBA_long_long, CORBA_long_long, NULL))</PRE ></TD ></TR ></TABLE ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN5013" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >a</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > </TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >v</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > </TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN5026" ></A ><H3 ><A NAME="BONOBO-ARG-GET-FLOAT-CAPS" ></A >BONOBO_ARG_GET_FLOAT()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >#define BONOBO_ARG_GET_FLOAT(a) (BONOBO_ARG_GET_GENERAL (a, TC_CORBA_float, CORBA_float, NULL))</PRE ></TD ></TR ></TABLE ><P >this macro returns a CORBA_float from inside a BonoboArg, if the BonoboArg's type does not match, the behavior is undefined, and may cause faults.</P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN5031" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >a</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >the BonoboArg to extract the value from. </TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN5040" ></A ><H3 ><A NAME="BONOBO-ARG-SET-FLOAT-CAPS" ></A >BONOBO_ARG_SET_FLOAT()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >#define BONOBO_ARG_SET_FLOAT(a,v) (BONOBO_ARG_SET_GENERAL (a, v, TC_CORBA_float, CORBA_float, NULL))</PRE ></TD ></TR ></TABLE ><P >This macro sets the value of <TT CLASS="PARAMETER" ><I >a</I ></TT > to contain <TT CLASS="PARAMETER" ><I >v</I ></TT ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN5047" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >a</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >the Bonobo arg to insert the value into</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >v</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >a CORBA_float. </TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN5060" ></A ><H3 ><A NAME="BONOBO-ARG-GET-DOUBLE-CAPS" ></A >BONOBO_ARG_GET_DOUBLE()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >#define BONOBO_ARG_GET_DOUBLE(a) (BONOBO_ARG_GET_GENERAL (a, TC_CORBA_double, CORBA_double, NULL))</PRE ></TD ></TR ></TABLE ><P >this macro returns a CORBA_double from inside a BonoboArg, if the BonoboArg's type does not match, the behavior is undefined, and may cause faults.</P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN5065" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >a</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >the BonoboArg to extract the value from. </TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN5074" ></A ><H3 ><A NAME="BONOBO-ARG-SET-DOUBLE-CAPS" ></A >BONOBO_ARG_SET_DOUBLE()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >#define BONOBO_ARG_SET_DOUBLE(a,v) (BONOBO_ARG_SET_GENERAL (a, v, TC_CORBA_double, CORBA_double, NULL))</PRE ></TD ></TR ></TABLE ><P >This macro sets the value of <TT CLASS="PARAMETER" ><I >a</I ></TT > to contain <TT CLASS="PARAMETER" ><I >v</I ></TT ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN5081" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >a</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >the Bonobo arg to insert the value into</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >v</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >a CORBA_double. </TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN5094" ></A ><H3 ><A NAME="BONOBO-ARG-GET-CHAR-CAPS" ></A >BONOBO_ARG_GET_CHAR()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >#define BONOBO_ARG_GET_CHAR(a) (BONOBO_ARG_GET_GENERAL (a, TC_CORBA_char, CORBA_char, NULL))</PRE ></TD ></TR ></TABLE ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN5099" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >a</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > </TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN5108" ></A ><H3 ><A NAME="BONOBO-ARG-SET-CHAR-CAPS" ></A >BONOBO_ARG_SET_CHAR()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >#define BONOBO_ARG_SET_CHAR(a,v) (BONOBO_ARG_SET_GENERAL (a, v, TC_CORBA_char, CORBA_char, NULL))</PRE ></TD ></TR ></TABLE ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN5113" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >a</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > </TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >v</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > </TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN5126" ></A ><H3 ><A NAME="BONOBO-ARG-GET-STRING-CAPS" ></A >BONOBO_ARG_GET_STRING()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >#define BONOBO_ARG_GET_STRING(a)</PRE ></TD ></TR ></TABLE ><P >this macro returns a const CORBA_char * from from inside a BonoboArg, if the BonoboArg's type does not match, the behavior is undefined, and may cause faults. The pointer to the string is only valid for the scope of the lifetime of <TT CLASS="PARAMETER" ><I >a</I ></TT >.</P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN5132" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >a</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >the BonoboArg to extract the value from. </TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN5141" ></A ><H3 ><A NAME="BONOBO-ARG-SET-STRING-CAPS" ></A >BONOBO_ARG_SET_STRING()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >#define BONOBO_ARG_SET_STRING(a,v)</PRE ></TD ></TR ></TABLE ><P >This macro sets the value of <TT CLASS="PARAMETER" ><I >a</I ></TT > to contain a duplicated copy of <TT CLASS="PARAMETER" ><I >v</I ></TT ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN5148" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >a</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >the Bonobo arg to insert the value into</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >v</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >a CORBA_char *. </TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN5161" ></A ><H3 ><A NAME="BONOBO-ARG-NEW" ></A >bonobo_arg_new ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><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 ></TD ></TR ></TABLE ><P >Create a new BonoboArg with the specified type the value of the BonoboArg is initially empty.</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN5169" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >t</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the BonoboArgType eg. TC_CORBA_long</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><SPAN CLASS="emphasis" ><I CLASS="EMPHASIS" >Returns</I ></SPAN > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > </TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN5182" ></A ><H3 ><A NAME="BONOBO-ARG-NEW-FROM" ></A >bonobo_arg_new_from ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><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, gconstpointer data);</PRE ></TD ></TR ></TABLE ><P >Create a new BonoboArg with the specified type and data</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN5191" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >t</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the BonoboArgType eg. TC_CORBA_long</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >data</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the data for the BonoboArg to be created</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><SPAN CLASS="emphasis" ><I CLASS="EMPHASIS" >Returns</I ></SPAN > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > </TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN5208" ></A ><H3 ><A NAME="BONOBO-ARG-RELEASE" ></A >bonobo_arg_release ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >void bonobo_arg_release (<A HREF="libbonobo-bonobo-arg.html#BONOBOARG" >BonoboArg</A > *arg);</PRE ></TD ></TR ></TABLE ><P >This frees the memory associated with <TT CLASS="PARAMETER" ><I >arg</I ></TT ></P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN5216" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >arg</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the bonobo arg.</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN5225" ></A ><H3 ><A NAME="BONOBO-ARG-COPY" ></A >bonobo_arg_copy ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><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 ></TD ></TR ></TABLE ><P >This function duplicates <TT CLASS="PARAMETER" ><I >a</I ></TT > by a deep copy</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN5234" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >arg</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the bonobo arg</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><SPAN CLASS="emphasis" ><I CLASS="EMPHASIS" >Returns</I ></SPAN > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" >a copy of <TT CLASS="PARAMETER" ><I >arg</I ></TT ></TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN5248" ></A ><H3 ><A NAME="BONOBO-ARG-FROM-GVALUE" ></A >bonobo_arg_from_gvalue ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >void bonobo_arg_from_gvalue (<A HREF="libbonobo-bonobo-arg.html#BONOBOARG" >BonoboArg</A > *a, const GValue *value);</PRE ></TD ></TR ></TABLE ><P >This maps a GValue <TT CLASS="PARAMETER" ><I >value</I ></TT > to a BonoboArg <TT CLASS="PARAMETER" ><I >a</I ></TT >; <TT CLASS="PARAMETER" ><I >a</I ></TT > must point to a freshly allocated BonoboArg eg. such as returned by bonobo_arg_new</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN5259" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >a</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > pointer to blank BonoboArg</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >value</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > </TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN5272" ></A ><H3 ><A NAME="BONOBO-ARG-TYPE-FROM-GTYPE" ></A >bonobo_arg_type_from_gtype ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" ><A HREF="libbonobo-bonobo-arg.html#BONOBOARGTYPE" >BonoboArgType</A > bonobo_arg_type_from_gtype (GType t);</PRE ></TD ></TR ></TABLE ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN5279" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >t</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > </TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><SPAN CLASS="emphasis" ><I CLASS="EMPHASIS" >Returns</I ></SPAN > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > </TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN5292" ></A ><H3 ><A NAME="BONOBO-ARG-TO-GVALUE" ></A >bonobo_arg_to_gvalue ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >void bonobo_arg_to_gvalue (GValue *value, const <A HREF="libbonobo-bonobo-arg.html#BONOBOARG" >BonoboArg</A > *arg);</PRE ></TD ></TR ></TABLE ><P >Maps a BonoboArg to a GtkArg; <TT CLASS="PARAMETER" ><I >a</I ></TT > must point to a blank GtkArg.</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN5301" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >value</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > </TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >arg</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the BonoboArg to copy</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN5314" ></A ><H3 ><A NAME="BONOBO-ARG-TYPE-TO-GTYPE" ></A >bonobo_arg_type_to_gtype ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >GType bonobo_arg_type_to_gtype (<A HREF="libbonobo-bonobo-arg.html#BONOBOARGTYPE" >BonoboArgType</A > id);</PRE ></TD ></TR ></TABLE ><P >This maps a BonoboArgType to a GType</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN5322" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >id</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the BonoboArgType</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><SPAN CLASS="emphasis" ><I CLASS="EMPHASIS" >Returns</I ></SPAN > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the mapped type or 0 on failure</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN5335" ></A ><H3 ><A NAME="BONOBO-ARG-IS-EQUAL" ></A >bonobo_arg_is_equal ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >gboolean bonobo_arg_is_equal (const <A HREF="libbonobo-bonobo-arg.html#BONOBOARG" >BonoboArg</A > *a, const <A HREF="libbonobo-bonobo-arg.html#BONOBOARG" >BonoboArg</A > *b, CORBA_Environment *opt_ev);</PRE ></TD ></TR ></TABLE ><P >Compares two BonoboArgs for equivalence; will return TRUE if equivalent for all simple cases. For Object references CORBA sometimes denies 2 object references are equivalent even if they are [ this is a feature_not_bug ].</P ><P >This function is commutative.</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN5346" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >a</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > a bonobo arg</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >b</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > another bonobo arg</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >opt_ev</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > optional exception environment or NULL.</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><SPAN CLASS="emphasis" ><I CLASS="EMPHASIS" >Returns</I ></SPAN > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > TRUE if <TT CLASS="PARAMETER" ><I >a</I ></TT > == <TT CLASS="PARAMETER" ><I >b</I ></TT ></TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN5369" ></A ><H3 ><A NAME="BONOBO-ARG-TYPE-IS-EQUAL" ></A >bonobo_arg_type_is_equal ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >gboolean bonobo_arg_type_is_equal (<A HREF="libbonobo-bonobo-arg.html#BONOBOARGTYPE" >BonoboArgType</A > a, <A HREF="libbonobo-bonobo-arg.html#BONOBOARGTYPE" >BonoboArgType</A > b, CORBA_Environment *opt_ev);</PRE ></TD ></TR ></TABLE ><P >This compares two BonoboArgType's in <TT CLASS="PARAMETER" ><I >a</I ></TT > and <TT CLASS="PARAMETER" ><I >b</I ></TT >. The <TT CLASS="PARAMETER" ><I >opt_ev</I ></TT > is an optional CORBA_Environment for exceptions, or NULL. This function is commutative.</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><A NAME="AEN5382" ></A ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TBODY ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >a</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > a type code</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >b</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > a type code</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >opt_ev</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > optional exception environment or NULL.</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><SPAN CLASS="emphasis" ><I CLASS="EMPHASIS" >Returns</I ></SPAN > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > TRUE if equal, FALSE if different</TD ></TR ></TBODY ></TABLE ><P ></P ></DIV ></DIV ></DIV ><DIV CLASS="NAVFOOTER" ><BR CLEAR="all"><BR><TABLE WIDTH="100%" BORDER="0" BGCOLOR="#000000" CELLPADDING="1" CELLSPACING="0" ><TR ><TD WIDTH="25%" BGCOLOR="#C00000" ALIGN="left" ><A HREF="libbonobo-bonobo-xobject.html" ><FONT COLOR="#FFFFFF" SIZE="3" ><B ><<< Previous Page</B ></FONT ></A ></TD ><TD WIDTH="25%" BGCOLOR="#0000C0" ALIGN="center" ><FONT COLOR="#FFFFFF" SIZE="3" ><B ><A HREF="index.html" ><FONT COLOR="#FFFFFF" SIZE="3" ><B >Home</B ></FONT ></A ></B ></FONT ></TD ><TD WIDTH="25%" BGCOLOR="#00C000" ALIGN="center" ><FONT COLOR="#FFFFFF" SIZE="3" ><B ><A HREF="c4.html" ><FONT COLOR="#FFFFFF" SIZE="3" ><B >Up</B ></FONT ></A ></B ></FONT ></TD ><TD WIDTH="25%" BGCOLOR="#C00000" ALIGN="right" ><A HREF="libbonobo-bonobo-config-database.html" ><FONT COLOR="#FFFFFF" SIZE="3" ><B >Next Page >>></B ></FONT ></A ></TD ></TR ><TR ><TD COLSPAN="2" ALIGN="left" ><FONT COLOR="#FFFFFF" SIZE="3" ><B >BonoboXObject</B ></FONT ></TD ><TD COLSPAN="2" ALIGN="right" ><FONT COLOR="#FFFFFF" SIZE="3" ><B >bonobo-config-database</B ></FONT ></TD ></TR ></TABLE ></DIV ></BODY ></HTML >