<!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"/> <title>glibmm: Gio::DBus::MethodInfo Class Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="doxygen.css" rel="stylesheet" type="text/css"/> </head> <body> <!-- Generated by Doxygen 1.7.2 --> <div class="navigation" id="top"> <div 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> <li><a href="examples.html"><span>Examples</span></a></li> </ul> </div> <div 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="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div class="navpath"> <ul> <li><a class="el" href="namespaceGio.html">Gio</a> </li> <li><a class="el" href="namespaceGio_1_1DBus.html">DBus</a> </li> <li><a class="el" href="classGio_1_1DBus_1_1MethodInfo.html">MethodInfo</a> </li> </ul> </div> </div> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> | <a href="#pro-methods">Protected Member Functions</a> | <a href="#related">Related Functions</a> </div> <div class="headertitle"> <h1>Gio::DBus::MethodInfo Class Reference<br/> <small> [<a class="el" href="group__DBus.html">D-Bus API</a>]</small> </h1> </div> </div> <div class="contents"> <!-- doxytag: class="Gio::DBus::MethodInfo" --> <p>Stores information about a method on an D-Bus interface. <a href="#_details">More...</a></p> <p><code>#include <giomm/dbusintrospection.h></code></p> <p><a href="classGio_1_1DBus_1_1MethodInfo-members.html">List of all members.</a></p> <table class="memberdecls"> <tr><td colspan="2"><h2><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1DBus_1_1MethodInfo.html#a23a15a583b2c6519651fa4eb2b677ecf">reference</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Increment the reference count for this object. <a href="#a23a15a583b2c6519651fa4eb2b677ecf"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1DBus_1_1MethodInfo.html#afe99e0548c6b97ddd2aa34f7a7ab54d7">unreference</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Decrement the reference count for this object. <a href="#afe99e0548c6b97ddd2aa34f7a7ab54d7"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">GDBusMethodInfo* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1DBus_1_1MethodInfo.html#a4ab8c6e7a8ed42501225ecbdddd2659d">gobj</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C instance. <a href="#a4ab8c6e7a8ed42501225ecbdddd2659d"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">const GDBusMethodInfo* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1DBus_1_1MethodInfo.html#a992d797aa32b5819fe1719ad17e2a901">gobj</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C instance. <a href="#a992d797aa32b5819fe1719ad17e2a901"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">GDBusMethodInfo* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1DBus_1_1MethodInfo.html#a42da69b351d31875b7859342f6e85221">gobj_copy</a> () const </td></tr> <tr><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="#a42da69b351d31875b7859342f6e85221"></a><br/></td></tr> <tr><td colspan="2"><h2><a name="pro-methods"></a> Protected Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1DBus_1_1MethodInfo.html#ae120ea53641674f77c731d75ffa8d446">MethodInfo</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1DBus_1_1MethodInfo.html#afc5880a98d188831377c6f6ba32d6a5d">operator delete</a> (void*, <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01136.html#ad477e282dc33a113ed64628b9b32e3dd">size_t</a>)</td></tr> <tr><td colspan="2"><h2><a name="related"></a> Related Functions</h2></td></tr> <tr><td colspan="2"><p>(Note that these are not member functions.) </p> <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><br class="typebreak"/> < <a class="el" href="classGio_1_1DBus_1_1MethodInfo.html">Gio::DBus::MethodInfo</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1DBus_1_1MethodInfo.html#a4f3b875fa0c513dff47215ac106f8ab4">wrap</a> (GDBusMethodInfo* object, bool take_copy=false)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">A <a class="el" href="namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. <a href="#a4f3b875fa0c513dff47215ac106f8ab4"></a><br/></td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <p>Stores information about a method on an D-Bus interface. </p> <dl class="since_2_28"><dt><b><a class="el" href="since_2_28.html#_since_2_28000098">Since glibmm 2.28:</a></b></dt><dd></dd></dl> <hr/><h2>Constructor & Destructor Documentation</h2> <a class="anchor" id="ae120ea53641674f77c731d75ffa8d446"></a><!-- doxytag: member="Gio::DBus::MethodInfo::MethodInfo" ref="ae120ea53641674f77c731d75ffa8d446" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Gio::DBus::MethodInfo::MethodInfo </td> <td>(</td> <td class="paramname"> )</td> <td><code> [protected]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="a4ab8c6e7a8ed42501225ecbdddd2659d"></a><!-- doxytag: member="Gio::DBus::MethodInfo::gobj" ref="a4ab8c6e7a8ed42501225ecbdddd2659d" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">GDBusMethodInfo* Gio::DBus::MethodInfo::gobj </td> <td>(</td> <td class="paramname"> )</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Provides access to the underlying C instance. </p> </div> </div> <a class="anchor" id="a992d797aa32b5819fe1719ad17e2a901"></a><!-- doxytag: member="Gio::DBus::MethodInfo::gobj" ref="a992d797aa32b5819fe1719ad17e2a901" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const GDBusMethodInfo* Gio::DBus::MethodInfo::gobj </td> <td>(</td> <td class="paramname"> )</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Provides access to the underlying C instance. </p> </div> </div> <a class="anchor" id="a42da69b351d31875b7859342f6e85221"></a><!-- doxytag: member="Gio::DBus::MethodInfo::gobj_copy" ref="a42da69b351d31875b7859342f6e85221" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">GDBusMethodInfo* Gio::DBus::MethodInfo::gobj_copy </td> <td>(</td> <td class="paramname"> )</td> <td> const</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="afc5880a98d188831377c6f6ba32d6a5d"></a><!-- doxytag: member="Gio::DBus::MethodInfo::operator delete" ref="afc5880a98d188831377c6f6ba32d6a5d" args="(void *, size_t)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gio::DBus::MethodInfo::operator delete </td> <td>(</td> <td class="paramtype">void * </td> <td class="paramname">, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01136.html#ad477e282dc33a113ed64628b9b32e3dd">size_t</a> </td> <td class="paramname"> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td><code> [protected]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a23a15a583b2c6519651fa4eb2b677ecf"></a><!-- doxytag: member="Gio::DBus::MethodInfo::reference" ref="a23a15a583b2c6519651fa4eb2b677ecf" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gio::DBus::MethodInfo::reference </td> <td>(</td> <td class="paramname"> )</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Increment the reference count for this object. </p> <p>You should never need to do this manually - use the object via a RefPtr instead. </p> </div> </div> <a class="anchor" id="afe99e0548c6b97ddd2aa34f7a7ab54d7"></a><!-- doxytag: member="Gio::DBus::MethodInfo::unreference" ref="afe99e0548c6b97ddd2aa34f7a7ab54d7" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gio::DBus::MethodInfo::unreference </td> <td>(</td> <td class="paramname"> )</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Decrement the reference count for this object. </p> <p>You should never need to do this manually - use the object via a RefPtr instead. </p> </div> </div> <hr/><h2>Friends And Related Function Documentation</h2> <a class="anchor" id="a4f3b875fa0c513dff47215ac106f8ab4"></a><!-- doxytag: member="Gio::DBus::MethodInfo::wrap" ref="a4f3b875fa0c513dff47215ac106f8ab4" args="(GDBusMethodInfo *object, bool take_copy=false)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGio_1_1DBus_1_1MethodInfo.html">Gio::DBus::MethodInfo</a> > wrap </td> <td>(</td> <td class="paramtype">GDBusMethodInfo * </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><code> [related]</code></td> </tr> </table> </div> <div class="memdoc"> <p>A <a class="el" href="namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. </p> <dl><dt><b>Parameters:</b></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="return"><dt><b>Returns:</b></dt><dd>A C++ instance that wraps this C instance. </dd></dl> </div> </div> </div> <hr class="footer"/><address class="footer"><small>Generated on Tue Apr 5 2011 16:07:13 for glibmm by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.2 </small></address> </body> </html>