<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.3.1"/> <title>libgdamm: Gnome::Gda::Batch Class Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">libgdamm  <span id="projectnumber">4.99.7</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.3.1 --> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li class="current"><a href="annotated.html"><span>Classes</span></a></li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="classes.html"><span>Class Index</span></a></li> <li><a href="inherits.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="namespaceGnome.html">Gnome</a></li><li class="navelem"><a class="el" href="namespaceGnome_1_1Gda.html">Gda</a></li><li class="navelem"><a class="el" href="classGnome_1_1Gda_1_1Batch.html">Batch</a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="summary"> <a href="#pub-types">Public Types</a> | <a href="#pub-methods">Public Member Functions</a> | <a href="#pub-static-methods">Static Public Member Functions</a> | <a href="#pro-methods">Protected Member Functions</a> | <a href="#related">Related Functions</a> | <a href="classGnome_1_1Gda_1_1Batch-members.html">List of all members</a> </div> <div class="headertitle"> <div class="title">Gnome::Gda::Batch Class Reference<div class="ingroups"><a class="el" href="group__DataHandlers.html">Data Handlers</a></div></div> </div> </div><!--header--> <div class="contents"> <p>Multiple SQL statements grouped together. <a href="classGnome_1_1Gda_1_1Batch.html#details">More...</a></p> <div class="dynheader"> Inheritance diagram for Gnome::Gda::Batch:</div> <div class="dyncontent"> <div class="center"><img src="classGnome_1_1Gda_1_1Batch__inherit__graph.png" border="0" usemap="#Gnome_1_1Gda_1_1Batch_inherit__map" alt="Inheritance graph"/></div> <map name="Gnome_1_1Gda_1_1Batch_inherit__map" id="Gnome_1_1Gda_1_1Batch_inherit__map"> </map> <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div> <div class="dynheader"> Collaboration diagram for Gnome::Gda::Batch:</div> <div class="dyncontent"> <div class="center"><img src="classGnome_1_1Gda_1_1Batch__coll__graph.png" border="0" usemap="#Gnome_1_1Gda_1_1Batch_coll__map" alt="Collaboration graph"/></div> <map name="Gnome_1_1Gda_1_1Batch_coll__map" id="Gnome_1_1Gda_1_1Batch_coll__map"> </map> <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a> Public Types</h2></td></tr> <tr class="memitem:a43587fd24c94cee5eba3979c1ba1c8b4"><td class="memItemLeft" align="right" valign="top">typedef std::vector<br class="typebreak"/> < <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< const <br class="typebreak"/> <a class="el" href="classGnome_1_1Gda_1_1Statement.html">Statement</a> > > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Batch.html#a43587fd24c94cee5eba3979c1ba1c8b4">StatementVector</a></td></tr> <tr class="separator:a43587fd24c94cee5eba3979c1ba1c8b4"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr class="memitem:aa1667a4cf05247a18a36e70328d7cf8f"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Batch.html#aa1667a4cf05247a18a36e70328d7cf8f">~Batch</a> ()</td></tr> <tr class="separator:aa1667a4cf05247a18a36e70328d7cf8f"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:add9b3259c35cae8694bc395b97d2a5c3"><td class="memItemLeft" align="right" valign="top">GdaBatch* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Batch.html#add9b3259c35cae8694bc395b97d2a5c3">gobj</a> ()</td></tr> <tr class="memdesc:add9b3259c35cae8694bc395b97d2a5c3"><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#add9b3259c35cae8694bc395b97d2a5c3">More...</a><br/></td></tr> <tr class="separator:add9b3259c35cae8694bc395b97d2a5c3"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a34cfe18b2b6826c2b472b98ce4498f57"><td class="memItemLeft" align="right" valign="top">const GdaBatch* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Batch.html#a34cfe18b2b6826c2b472b98ce4498f57">gobj</a> () const </td></tr> <tr class="memdesc:a34cfe18b2b6826c2b472b98ce4498f57"><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#a34cfe18b2b6826c2b472b98ce4498f57">More...</a><br/></td></tr> <tr class="separator:a34cfe18b2b6826c2b472b98ce4498f57"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:af3168d7df949822dd2427ffd649ec9e0"><td class="memItemLeft" align="right" valign="top">GdaBatch* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Batch.html#af3168d7df949822dd2427ffd649ec9e0">gobj_copy</a> ()</td></tr> <tr class="memdesc:af3168d7df949822dd2427ffd649ec9e0"><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. <a href="#af3168d7df949822dd2427ffd649ec9e0">More...</a><br/></td></tr> <tr class="separator:af3168d7df949822dd2427ffd649ec9e0"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ac5ee4617fa2fb99cc3fff871c52597ce"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGnome_1_1Gda_1_1Batch.html">Batch</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Batch.html#ac5ee4617fa2fb99cc3fff871c52597ce">copy</a> ()</td></tr> <tr class="memdesc:ac5ee4617fa2fb99cc3fff871c52597ce"><td class="mdescLeft"> </td><td class="mdescRight">Copy constructor. <a href="#ac5ee4617fa2fb99cc3fff871c52597ce">More...</a><br/></td></tr> <tr class="separator:ac5ee4617fa2fb99cc3fff871c52597ce"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aec518b8822724995ae72e4ea7175d5cf"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Batch.html#aec518b8822724995ae72e4ea7175d5cf">add_statement</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGnome_1_1Gda_1_1Statement.html">Statement</a> >& stmt)</td></tr> <tr class="memdesc:aec518b8822724995ae72e4ea7175d5cf"><td class="mdescLeft"> </td><td class="mdescRight">Add <em>stmt</em> to the list of statements managed by <em>batch</em>. <a href="#aec518b8822724995ae72e4ea7175d5cf">More...</a><br/></td></tr> <tr class="separator:aec518b8822724995ae72e4ea7175d5cf"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a166ba9968bcf90d7c210fe97660d7d9d"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Batch.html#a166ba9968bcf90d7c210fe97660d7d9d">remove_statement</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGnome_1_1Gda_1_1Statement.html">Statement</a> >& stmt)</td></tr> <tr class="memdesc:a166ba9968bcf90d7c210fe97660d7d9d"><td class="mdescLeft"> </td><td class="mdescRight">Removes <em>stmt</em> from the list of statements managed by <em>batch</em>. <a href="#a166ba9968bcf90d7c210fe97660d7d9d">More...</a><br/></td></tr> <tr class="separator:a166ba9968bcf90d7c210fe97660d7d9d"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a9800c35c2306c622732545ff5f1077fa"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Batch.html#a9800c35c2306c622732545ff5f1077fa">serialize</a> () const </td></tr> <tr class="memdesc:a9800c35c2306c622732545ff5f1077fa"><td class="mdescLeft"> </td><td class="mdescRight">Creates a string representing the contents of <em>batch</em>. <a href="#a9800c35c2306c622732545ff5f1077fa">More...</a><br/></td></tr> <tr class="separator:a9800c35c2306c622732545ff5f1077fa"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a8b1ec11db8e46642880c2dbe4f5b0a73"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGnome_1_1Gda_1_1Batch.html#a43587fd24c94cee5eba3979c1ba1c8b4">StatementVector</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Batch.html#a8b1ec11db8e46642880c2dbe4f5b0a73">get_statements</a> () const </td></tr> <tr class="memdesc:a8b1ec11db8e46642880c2dbe4f5b0a73"><td class="mdescLeft"> </td><td class="mdescRight">Get a list of the <a class="el" href="classGnome_1_1Gda_1_1Statement.html" title="Single SQL statement.">Gda::Statement</a> objects contained in <em>batch</em>. <a href="#a8b1ec11db8e46642880c2dbe4f5b0a73">More...</a><br/></td></tr> <tr class="separator:a8b1ec11db8e46642880c2dbe4f5b0a73"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ae8236fc74733e881e94b50340638a768"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Batch.html#ae8236fc74733e881e94b50340638a768">get_parameters</a> (<a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGnome_1_1Gda_1_1Set.html">Set</a> >& out_params)</td></tr> <tr class="memdesc:ae8236fc74733e881e94b50340638a768"><td class="mdescLeft"> </td><td class="mdescRight">Get a new <a class="el" href="classGnome_1_1Gda_1_1Set.html" title="Container for several values.">Gda::Set</a> object which groups all the execution parameters which <em>stmt</em> needs. <a href="#ae8236fc74733e881e94b50340638a768">More...</a><br/></td></tr> <tr class="separator:ae8236fc74733e881e94b50340638a768"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aee4862f7a4b66cb29b36427e2622d838"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1SignalProxy1.html">Glib::SignalProxy1</a>< void, <br class="typebreak"/> <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGnome_1_1Gda_1_1Statement.html">Statement</a> > > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Batch.html#aee4862f7a4b66cb29b36427e2622d838">signal_changed</a> ()</td></tr> <tr class="separator:aee4862f7a4b66cb29b36427e2622d838"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a> Static Public Member Functions</h2></td></tr> <tr class="memitem:a651b8571b106d9b42310bbc76dd1624c"><td class="memItemLeft" align="right" valign="top">static GType </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Batch.html#a651b8571b106d9b42310bbc76dd1624c">get_type</a> ()</td></tr> <tr class="memdesc:a651b8571b106d9b42310bbc76dd1624c"><td class="mdescLeft"> </td><td class="mdescRight">Get the GType for this class, for use with the underlying GObject type system. <a href="#a651b8571b106d9b42310bbc76dd1624c">More...</a><br/></td></tr> <tr class="separator:a651b8571b106d9b42310bbc76dd1624c"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ab36cc4a5bee20894def6900795b983fc"><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGnome_1_1Gda_1_1Batch.html">Batch</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Batch.html#ab36cc4a5bee20894def6900795b983fc">create</a> ()</td></tr> <tr class="separator:ab36cc4a5bee20894def6900795b983fc"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a> Protected Member Functions</h2></td></tr> <tr class="memitem:ad6d0bf7010c38a058d83e72e3d443164"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Batch.html#ad6d0bf7010c38a058d83e72e3d443164">Batch</a> ()</td></tr> <tr class="separator:ad6d0bf7010c38a058d83e72e3d443164"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="related"></a> Related Functions</h2></td></tr> <tr><td class="ititle" colspan="2"><p>(Note that these are not member functions.) </p> </td></tr> <tr class="memitem:ac4995f1d2849807eebd549b3d6063de7"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGnome_1_1Gda_1_1Batch.html">Gnome::Gda::Batch</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Batch.html#ac4995f1d2849807eebd549b3d6063de7">wrap</a> (GdaBatch* object, bool take_copy=false)</td></tr> <tr class="memdesc:ac4995f1d2849807eebd549b3d6063de7"><td class="mdescLeft"> </td><td class="mdescRight">A <a class="elRef" href="../../../glibmm-2.4/reference/html/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. <a href="#ac4995f1d2849807eebd549b3d6063de7">More...</a><br/></td></tr> <tr class="separator:ac4995f1d2849807eebd549b3d6063de7"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"><p>Multiple SQL statements grouped together. </p> <p>The <a class="el" href="classGnome_1_1Gda_1_1Batch.html" title="Multiple SQL statements grouped together.">Gda::Batch</a> object represents one or more SQL statements (as <a class="el" href="classGnome_1_1Gda_1_1Statement.html" title="Single SQL statement.">Gda::Statement</a> objects) in a single object. A <a class="el" href="classGnome_1_1Gda_1_1Batch.html" title="Multiple SQL statements grouped together.">Gda::Batch</a> can either be built "manually" by assembling together several <a class="el" href="classGnome_1_1Gda_1_1Statement.html" title="Single SQL statement.">Gda::Statement</a> objects, or from an SQL string using a <a class="el" href="classGnome_1_1Gda_1_1SqlParser.html" title="SQL parser.">Gda::SqlParser</a> object. </p> </div><h2 class="groupheader">Member Typedef Documentation</h2> <a class="anchor" id="a43587fd24c94cee5eba3979c1ba1c8b4"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">typedef std::vector<<a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a><const <a class="el" href="classGnome_1_1Gda_1_1Statement.html">Statement</a>> > <a class="el" href="classGnome_1_1Gda_1_1Batch.html#a43587fd24c94cee5eba3979c1ba1c8b4">Gnome::Gda::Batch::StatementVector</a></td> </tr> </table> </div><div class="memdoc"> </div> </div> <h2 class="groupheader">Constructor & Destructor Documentation</h2> <a class="anchor" id="aa1667a4cf05247a18a36e70328d7cf8f"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual Gnome::Gda::Batch::~Batch </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> </div> </div> <a class="anchor" id="ad6d0bf7010c38a058d83e72e3d443164"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">Gnome::Gda::Batch::Batch </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">protected</span></span> </td> </tr> </table> </div><div class="memdoc"> </div> </div> <h2 class="groupheader">Member Function Documentation</h2> <a class="anchor" id="aec518b8822724995ae72e4ea7175d5cf"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gnome::Gda::Batch::add_statement </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGnome_1_1Gda_1_1Statement.html">Statement</a> >& </td> <td class="paramname"><em>stmt</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Add <em>stmt</em> to the list of statements managed by <em>batch</em>. </p> <p>A <a class="el" href="classGnome_1_1Gda_1_1Statement.html" title="Single SQL statement.">Gda::Statement</a> object can be added multiple times to a <a class="el" href="classGnome_1_1Gda_1_1Batch.html" title="Multiple SQL statements grouped together.">Gda::Batch</a> object. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">stmt</td><td>A statement to add to <em>batch's</em> statements list. </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="ac5ee4617fa2fb99cc3fff871c52597ce"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGnome_1_1Gda_1_1Batch.html">Batch</a>> Gnome::Gda::Batch::copy </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Copy constructor. </p> <dl class="section return"><dt>Returns</dt><dd>A the new copy of <em>orig</em>. </dd></dl> </div> </div> <a class="anchor" id="ab36cc4a5bee20894def6900795b983fc"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">static <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGnome_1_1Gda_1_1Batch.html">Batch</a>> Gnome::Gda::Batch::create </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">static</span></span> </td> </tr> </table> </div><div class="memdoc"> </div> </div> <a class="anchor" id="ae8236fc74733e881e94b50340638a768"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Gnome::Gda::Batch::get_parameters </td> <td>(</td> <td class="paramtype"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGnome_1_1Gda_1_1Set.html">Set</a> >& </td> <td class="paramname"><em>out_params</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Get a new <a class="el" href="classGnome_1_1Gda_1_1Set.html" title="Container for several values.">Gda::Set</a> object which groups all the execution parameters which <em>stmt</em> needs. </p> <p>This new object is returned though <em>out_params</em>.</p> <p>Note that if <em>stmt</em> does not need any parameter, then <em>out_params</em> is set to <code>0</code>. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">out_params</td><td>A place to store a new <a class="el" href="classGnome_1_1Gda_1_1Set.html" title="Container for several values.">Gda::Set</a> object, or <code>0</code>. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd><code>true</code> if no error occurred. </dd></dl> </div> </div> <a class="anchor" id="a8b1ec11db8e46642880c2dbe4f5b0a73"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classGnome_1_1Gda_1_1Batch.html#a43587fd24c94cee5eba3979c1ba1c8b4">StatementVector</a> Gnome::Gda::Batch::get_statements </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Get a list of the <a class="el" href="classGnome_1_1Gda_1_1Statement.html" title="Single SQL statement.">Gda::Statement</a> objects contained in <em>batch</em>. </p> <dl class="section return"><dt>Returns</dt><dd>A list of <a class="el" href="classGnome_1_1Gda_1_1Statement.html" title="Single SQL statement.">Gda::Statement</a> which should not be modified. </dd></dl> </div> </div> <a class="anchor" id="a651b8571b106d9b42310bbc76dd1624c"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">static GType Gnome::Gda::Batch::get_type </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">static</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Get the GType for this class, for use with the underlying GObject type system. </p> </div> </div> <a class="anchor" id="add9b3259c35cae8694bc395b97d2a5c3"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">GdaBatch* Gnome::Gda::Batch::gobj </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Provides access to the underlying C GObject. </p> </div> </div> <a class="anchor" id="a34cfe18b2b6826c2b472b98ce4498f57"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">const GdaBatch* Gnome::Gda::Batch::gobj </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Provides access to the underlying C GObject. </p> </div> </div> <a class="anchor" id="af3168d7df949822dd2427ffd649ec9e0"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">GdaBatch* Gnome::Gda::Batch::gobj_copy </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. </p> </div> </div> <a class="anchor" id="a166ba9968bcf90d7c210fe97660d7d9d"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gnome::Gda::Batch::remove_statement </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGnome_1_1Gda_1_1Statement.html">Statement</a> >& </td> <td class="paramname"><em>stmt</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Removes <em>stmt</em> from the list of statements managed by <em>batch</em>. </p> <p>If <em>stmt</em> is present several times in <em>batch's</em> statements' list, then only the first one is removed. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">stmt</td><td>A statement to remove from <em>batch's</em> statements list. </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="a9800c35c2306c622732545ff5f1077fa"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> Gnome::Gda::Batch::serialize </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Creates a string representing the contents of <em>batch</em>. </p> <dl class="section return"><dt>Returns</dt><dd>A string containing the serialized version of <em>batch</em>. </dd></dl> </div> </div> <a class="anchor" id="aee4862f7a4b66cb29b36427e2622d838"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1SignalProxy1.html">Glib::SignalProxy1</a>< void,<a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGnome_1_1Gda_1_1Statement.html">Statement</a>> > Gnome::Gda::Batch::signal_changed </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <dl class="section user"><dt>Slot Prototype:</dt><dd><code>void on_my_changed(Glib::RefPtr<Statement> stmt)</code> </dd></dl> </div> </div> <h2 class="groupheader">Friends And Related Function Documentation</h2> <a class="anchor" id="ac4995f1d2849807eebd549b3d6063de7"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGnome_1_1Gda_1_1Batch.html">Gnome::Gda::Batch</a> > wrap </td> <td>(</td> <td class="paramtype">GdaBatch * </td> <td class="paramname"><em>object</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"><em>take_copy</em> = <code>false</code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">related</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>A <a class="elRef" href="../../../glibmm-2.4/reference/html/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">object</td><td>The C instance. </td></tr> <tr><td class="paramname">take_copy</td><td>False if the result should take ownership of the C instance. True if it should take a new copy or ref. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>A C++ instance that wraps this C instance. </dd></dl> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li>libgdamm/batch.h</li> </ul> </div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated on Wed Apr 24 2013 11:43:47 for libgdamm by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.3.1 </small></address> </body> </html>