<!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: Glib::Container_Helpers::TypeTraits< Glib::RefPtr< Gio::File > > Struct Template 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="namespaceGlib.html">Glib</a> </li> <li><a class="el" href="namespaceGlib_1_1Container__Helpers.html">Container_Helpers</a> </li> <li><a class="el" href="structGlib_1_1Container__Helpers_1_1TypeTraits_3_01Glib_1_1RefPtr_3_01Gio_1_1File_01_4_01_4.html">TypeTraits< Glib::RefPtr< Gio::File > ></a> </li> </ul> </div> </div> <div class="header"> <div class="summary"> <a href="#pub-types">Public Types</a> | <a href="#pub-static-methods">Static Public Member Functions</a> </div> <div class="headertitle"> <h1>Glib::Container_Helpers::TypeTraits< Glib::RefPtr< Gio::File > > Struct Template Reference</h1> </div> </div> <div class="contents"> <!-- doxytag: class="Glib::Container_Helpers::TypeTraits< Glib::RefPtr< Gio::File > >" --> <p>This specialization of <a class="el" href="structGlib_1_1Container__Helpers_1_1TypeTraits.html" title="Generic TypeTraits implementation.">TypeTraits</a> exists because the default use of Glib::wrap(GObject*), instead of a specific Glib::wrap(GSomeInterface*), would not return a wrapper for an interface. <a href="#_details">More...</a></p> <p><code>#include <giomm/file.h></code></p> <p><a href="structGlib_1_1Container__Helpers_1_1TypeTraits_3_01Glib_1_1RefPtr_3_01Gio_1_1File_01_4_01_4-members.html">List of all members.</a></p> <table class="memberdecls"> <tr><td colspan="2"><h2><a name="pub-types"></a> Public Types</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGio_1_1File.html">Gio::File</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="structGlib_1_1Container__Helpers_1_1TypeTraits_3_01Glib_1_1RefPtr_3_01Gio_1_1File_01_4_01_4.html#a4ef5847d9a1ceb3540c6f37fb84f3f9d">CppType</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top">typedef GFile* </td><td class="memItemRight" valign="bottom"><a class="el" href="structGlib_1_1Container__Helpers_1_1TypeTraits_3_01Glib_1_1RefPtr_3_01Gio_1_1File_01_4_01_4.html#a8e7f39ac1d1f8eee5fe499c477d54037">CType</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top">typedef GFile* </td><td class="memItemRight" valign="bottom"><a class="el" href="structGlib_1_1Container__Helpers_1_1TypeTraits_3_01Glib_1_1RefPtr_3_01Gio_1_1File_01_4_01_4.html#a1d6f26bc8a4c8c0bbe31d9fb63f74496">CTypeNonConst</a></td></tr> <tr><td colspan="2"><h2><a name="pub-static-methods"></a> Static Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="structGlib_1_1Container__Helpers_1_1TypeTraits_3_01Glib_1_1RefPtr_3_01Gio_1_1File_01_4_01_4.html#a8e7f39ac1d1f8eee5fe499c477d54037">CType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structGlib_1_1Container__Helpers_1_1TypeTraits_3_01Glib_1_1RefPtr_3_01Gio_1_1File_01_4_01_4.html#a5ed75ac118201014697bba4563b92b09">to_c_type</a> (const <a class="el" href="classGlib_1_1RefPtr.html">CppType</a>& item)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classGlib_1_1RefPtr.html">CppType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structGlib_1_1Container__Helpers_1_1TypeTraits_3_01Glib_1_1RefPtr_3_01Gio_1_1File_01_4_01_4.html#ad96b5b0c8e14d8a9907b883b71c0b866">to_cpp_type</a> (const <a class="el" href="structGlib_1_1Container__Helpers_1_1TypeTraits_3_01Glib_1_1RefPtr_3_01Gio_1_1File_01_4_01_4.html#a8e7f39ac1d1f8eee5fe499c477d54037">CType</a>& item)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="structGlib_1_1Container__Helpers_1_1TypeTraits_3_01Glib_1_1RefPtr_3_01Gio_1_1File_01_4_01_4.html#a0499b2de3c3f92b15c7e73a0d08dc585">release_c_type</a> (<a class="el" href="structGlib_1_1Container__Helpers_1_1TypeTraits_3_01Glib_1_1RefPtr_3_01Gio_1_1File_01_4_01_4.html#a8e7f39ac1d1f8eee5fe499c477d54037">CType</a> item)</td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <h3>template <><br/> struct Glib::Container_Helpers::TypeTraits< Glib::RefPtr< Gio::File > ></h3> <p>This specialization of <a class="el" href="structGlib_1_1Container__Helpers_1_1TypeTraits.html" title="Generic TypeTraits implementation.">TypeTraits</a> exists because the default use of Glib::wrap(GObject*), instead of a specific Glib::wrap(GSomeInterface*), would not return a wrapper for an interface. </p> <hr/><h2>Member Typedef Documentation</h2> <a class="anchor" id="a4ef5847d9a1ceb3540c6f37fb84f3f9d"></a><!-- doxytag: member="Glib::Container_Helpers::TypeTraits< Glib::RefPtr< Gio::File > >::CppType" ref="a4ef5847d9a1ceb3540c6f37fb84f3f9d" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">typedef <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGio_1_1File.html">Gio::File</a>> <a class="el" href="structGlib_1_1Container__Helpers_1_1TypeTraits.html">Glib::Container_Helpers::TypeTraits</a>< <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGio_1_1File.html">Gio::File</a> > >::<a class="el" href="classGlib_1_1RefPtr.html">CppType</a></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a8e7f39ac1d1f8eee5fe499c477d54037"></a><!-- doxytag: member="Glib::Container_Helpers::TypeTraits< Glib::RefPtr< Gio::File > >::CType" ref="a8e7f39ac1d1f8eee5fe499c477d54037" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">typedef GFile* <a class="el" href="structGlib_1_1Container__Helpers_1_1TypeTraits.html">Glib::Container_Helpers::TypeTraits</a>< <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGio_1_1File.html">Gio::File</a> > >::<a class="el" href="structGlib_1_1Container__Helpers_1_1TypeTraits_3_01Glib_1_1RefPtr_3_01Gio_1_1File_01_4_01_4.html#a8e7f39ac1d1f8eee5fe499c477d54037">CType</a></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a1d6f26bc8a4c8c0bbe31d9fb63f74496"></a><!-- doxytag: member="Glib::Container_Helpers::TypeTraits< Glib::RefPtr< Gio::File > >::CTypeNonConst" ref="a1d6f26bc8a4c8c0bbe31d9fb63f74496" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">typedef GFile* <a class="el" href="structGlib_1_1Container__Helpers_1_1TypeTraits.html">Glib::Container_Helpers::TypeTraits</a>< <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGio_1_1File.html">Gio::File</a> > >::<a class="el" href="structGlib_1_1Container__Helpers_1_1TypeTraits_3_01Glib_1_1RefPtr_3_01Gio_1_1File_01_4_01_4.html#a1d6f26bc8a4c8c0bbe31d9fb63f74496">CTypeNonConst</a></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="a0499b2de3c3f92b15c7e73a0d08dc585"></a><!-- doxytag: member="Glib::Container_Helpers::TypeTraits< Glib::RefPtr< Gio::File > >::release_c_type" ref="a0499b2de3c3f92b15c7e73a0d08dc585" args="(CType item)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static void <a class="el" href="structGlib_1_1Container__Helpers_1_1TypeTraits.html">Glib::Container_Helpers::TypeTraits</a>< <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGio_1_1File.html">Gio::File</a> > >::release_c_type </td> <td>(</td> <td class="paramtype"><a class="el" href="structGlib_1_1Container__Helpers_1_1TypeTraits_3_01Glib_1_1RefPtr_3_01Gio_1_1File_01_4_01_4.html#a8e7f39ac1d1f8eee5fe499c477d54037">CType</a> </td> <td class="paramname"> <em>item</em> )</td> <td><code> [inline, static]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a5ed75ac118201014697bba4563b92b09"></a><!-- doxytag: member="Glib::Container_Helpers::TypeTraits< Glib::RefPtr< Gio::File > >::to_c_type" ref="a5ed75ac118201014697bba4563b92b09" args="(const CppType &item)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static <a class="el" href="structGlib_1_1Container__Helpers_1_1TypeTraits_3_01Glib_1_1RefPtr_3_01Gio_1_1File_01_4_01_4.html#a8e7f39ac1d1f8eee5fe499c477d54037">CType</a> <a class="el" href="structGlib_1_1Container__Helpers_1_1TypeTraits.html">Glib::Container_Helpers::TypeTraits</a>< <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGio_1_1File.html">Gio::File</a> > >::to_c_type </td> <td>(</td> <td class="paramtype">const <a class="el" href="classGlib_1_1RefPtr.html">CppType</a>& </td> <td class="paramname"> <em>item</em> )</td> <td><code> [inline, static]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="ad96b5b0c8e14d8a9907b883b71c0b866"></a><!-- doxytag: member="Glib::Container_Helpers::TypeTraits< Glib::RefPtr< Gio::File > >::to_cpp_type" ref="ad96b5b0c8e14d8a9907b883b71c0b866" args="(const CType &item)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static <a class="el" href="classGlib_1_1RefPtr.html">CppType</a> <a class="el" href="structGlib_1_1Container__Helpers_1_1TypeTraits.html">Glib::Container_Helpers::TypeTraits</a>< <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGio_1_1File.html">Gio::File</a> > >::to_cpp_type </td> <td>(</td> <td class="paramtype">const <a class="el" href="structGlib_1_1Container__Helpers_1_1TypeTraits_3_01Glib_1_1RefPtr_3_01Gio_1_1File_01_4_01_4.html#a8e7f39ac1d1f8eee5fe499c477d54037">CType</a>& </td> <td class="paramname"> <em>item</em> )</td> <td><code> [inline, static]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> </div> <hr class="footer"/><address class="footer"><small>Generated on Tue Apr 5 2011 16:07:14 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>