<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>glibmm 2.4: Gio::FileAttributeInfoList Class Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head> <body bgcolor="#ffffff"> <table border="0" width="100%"> <tr> <td width="10%" height="40"><img src="../../images/gtkmm_logo.gif" alt="logo" border="0" width="100%" height="100%"/></td> <td width="90%" height="40"><img src="../../images/top.gif" alt="top" width="100%" height="40"/></td> </tr> </table> <center> <a class="qindex" href="../../../../gtkmm-2.4/docs/index.html">Main Page</a> <a href="../../../../gtkmm-2.4/docs/reference/html/group__Widgets.html">Widgets</a> <a class="qindex" href="namespaces.html">glibmm Namespaces</a> <a href="../../../../gtkmm-2.4/docs/tutorial/html/index.html"> Book</a> </center> <hr width="100%"/> <!-- begin main content --> <div id="content"> <!-- Generated by Doxygen 1.5.3 --> <div class="nav"> <a class="el" href="namespaceGio.html">Gio</a>::<a class="el" href="classGio_1_1FileAttributeInfoList.html">FileAttributeInfoList</a></div> <h1>Gio::FileAttributeInfoList Class Reference</h1><!-- doxytag: class="Gio::FileAttributeInfoList" -->Key-Value paired file attributes. <a href="#_details">More...</a> <p> <p> <a href="classGio_1_1FileAttributeInfoList-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1FileAttributeInfoList.html#1dd9c6baf89e1254fbed44338eb0a4a6">reference</a> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1FileAttributeInfoList.html#889a9813bba642c384b9b2d05bae0823">unreference</a> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">GFileAttributeInfoList* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1FileAttributeInfoList.html#8aba8445408cbf56722946723e6919a7">gobj</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C instance. <a href="#8aba8445408cbf56722946723e6919a7"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">const <br> GFileAttributeInfoList* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1FileAttributeInfoList.html#030d5b7ddafbfa9e1b15d92254530203">gobj</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C instance. <a href="#030d5b7ddafbfa9e1b15d92254530203"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">GFileAttributeInfoList* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1FileAttributeInfoList.html#2339b9d0f1a13935e58bfd1a2210cdb8">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="#2339b9d0f1a13935e58bfd1a2210cdb8"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1FileAttributeInfoList.html#7584d4757d8ff2cab6dbc3bb1d28da94">empty</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Whether the <a class="el" href="classGio_1_1FileAttributeInfoList.html" title="Key-Value paired file attributes.">FileAttributeInfoList</a> is empty or invalid. <a href="#7584d4757d8ff2cab6dbc3bb1d28da94"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classGio_1_1FileAttributeInfo.html">FileAttributeInfo</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1FileAttributeInfoList.html#821a7de06545be2c6e18d7a53c5770eb">lookup</a> (const <a class="elRef" doxygen="libstdc++.tag.xml:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/classstd_1_1basic__string.html">std::string</a>& name) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the file attribute with the name name from list. <a href="#821a7de06545be2c6e18d7a53c5770eb"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1FileAttributeInfoList.html#ed2f07a9ff6a250c3b8fa06324765c2f">add</a> (const <a class="elRef" doxygen="libstdc++.tag.xml:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/classstd_1_1basic__string.html">std::string</a>& name, <a class="el" href="group__giommEnums.html#g5e79fa284e14b18d180741cd1c03d0e2">FileAttributeType</a> type, <a class="el" href="group__giommEnums.html#g8687b5c14230bb3e46a1df7341941f16">FileAttributeInfoFlags</a> flags=FILE_ATTRIBUTE_INFO_NONE)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Adds a new attribute with <em>name</em> to the <em>list</em> , setting its <em>type</em> and <em>flags</em> . <a href="#ed2f07a9ff6a250c3b8fa06324765c2f"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1FileAttributeInfoList.html#1dd9c6baf89e1254fbed44338eb0a4a6">reference</a> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1FileAttributeInfoList.html#889a9813bba642c384b9b2d05bae0823">unreference</a> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">GFileAttributeInfoList* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1FileAttributeInfoList.html#8aba8445408cbf56722946723e6919a7">gobj</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C instance. <a href="#8aba8445408cbf56722946723e6919a7"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">const <br> GFileAttributeInfoList* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1FileAttributeInfoList.html#030d5b7ddafbfa9e1b15d92254530203">gobj</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C instance. <a href="#030d5b7ddafbfa9e1b15d92254530203"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">GFileAttributeInfoList* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1FileAttributeInfoList.html#2339b9d0f1a13935e58bfd1a2210cdb8">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="#2339b9d0f1a13935e58bfd1a2210cdb8"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1FileAttributeInfoList.html#e30d388537b163f12846afa47638e7be">operator bool</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Whether the <a class="el" href="classGio_1_1FileAttributeInfoList.html" title="Key-Value paired file attributes.">FileAttributeInfoList</a> is valid and non empty. <a href="#e30d388537b163f12846afa47638e7be"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1FileAttributeInfoList.html#7584d4757d8ff2cab6dbc3bb1d28da94">empty</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Whether the <a class="el" href="classGio_1_1FileAttributeInfoList.html" title="Key-Value paired file attributes.">FileAttributeInfoList</a> is empty or invalid. <a href="#7584d4757d8ff2cab6dbc3bb1d28da94"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classGio_1_1FileAttributeInfo.html">FileAttributeInfo</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1FileAttributeInfoList.html#821a7de06545be2c6e18d7a53c5770eb">lookup</a> (const <a class="elRef" doxygen="libstdc++.tag.xml:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/classstd_1_1basic__string.html">std::string</a>& name) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the file attribute with the name name from list. <a href="#821a7de06545be2c6e18d7a53c5770eb"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><br> <<a class="el" href="classGio_1_1FileAttributeInfoList.html">FileAttributeInfoList</a>> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1FileAttributeInfoList.html#4253d86702cb4b18859e7ba06cb7e1fc">dup</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Makes a duplicate of a file attribute info list. <a href="#4253d86702cb4b18859e7ba06cb7e1fc"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1FileAttributeInfoList.html#ed2f07a9ff6a250c3b8fa06324765c2f">add</a> (const <a class="elRef" doxygen="libstdc++.tag.xml:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/classstd_1_1basic__string.html">std::string</a>& name, <a class="el" href="group__giommEnums.html#g5e79fa284e14b18d180741cd1c03d0e2">FileAttributeType</a> type, <a class="el" href="group__giommEnums.html#g8687b5c14230bb3e46a1df7341941f16">FileAttributeInfoFlags</a> flags=FILE_ATTRIBUTE_INFO_NONE)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Adds a new attribute with <em>name</em> to the <em>list</em>, setting its <em>type</em> and <em>flags</em>. <a href="#ed2f07a9ff6a250c3b8fa06324765c2f"></a><br></td></tr> <tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><br> <<a class="el" href="classGio_1_1FileAttributeInfoList.html">FileAttributeInfoList</a>> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1FileAttributeInfoList.html#0a0d066b1b2e3a0a533895922ff4c14a">create</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><br> <<a class="el" href="classGio_1_1FileAttributeInfoList.html">FileAttributeInfoList</a>> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1FileAttributeInfoList.html#0a0d066b1b2e3a0a533895922ff4c14a">create</a> ()</td></tr> <tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1FileAttributeInfoList.html#f647ecbd4ab360b48deae74066993251">FileAttributeInfoList</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1FileAttributeInfoList.html#f33439073a6052f731c8712aaa08ef5b">operator delete</a> (void*, <a class="el" href="classstatic_01const_01std_1_1size__t.html">size_t</a>)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1FileAttributeInfoList.html#f647ecbd4ab360b48deae74066993251">FileAttributeInfoList</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1FileAttributeInfoList.html#f33439073a6052f731c8712aaa08ef5b">operator delete</a> (void*, <a class="el" href="classstatic_01const_01std_1_1size__t.html">size_t</a>)</td></tr> <tr><td colspan="2"><br><h2>Related Functions</h2></td></tr> <tr><td colspan="2">(Note that these are not member functions.) <br><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><br> <<a class="el" href="classGio_1_1FileAttributeInfoList.html">Gio::FileAttributeInfoList</a>> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1FileAttributeInfoList.html#7f7b3ffb2c6258de375ee4cc566c0089">wrap</a> (GFileAttributeInfoList* object, bool take_copy=false)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">A <a class="el" href="namespaceGlib.html#671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. <a href="#7f7b3ffb2c6258de375ee4cc566c0089"></a><br></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> Key-Value paired file attributes. <p> <a class="el" href="classGio_1_1File.html" title="File and directory handling.">File</a> attributes in GIO consist of a list of key-value pairs.<p> Keys are strings that contain a key namespace and a key name, separated by a colon, e.g. "namespace:keyname". Namespaces are included to sort key-value pairs by namespaces for relevance. Keys can be retreived using wildcards, e.g. "standard::*" will return all of the keys in the "standard" namespace.<p> Values are stored within the list in Gio::FileAttributeValue structures. Values can store different types, listed in the enum <a class="el" href="group__giommEnums.html#g5e79fa284e14b18d180741cd1c03d0e2">Gio::FileAttributeType</a>. Upon creation of a Gio::FileAttributeValue, the type will be set to <a class="el" href="group__giommEnums.html#gg5e79fa284e14b18d180741cd1c03d0e28e0404fb81075c7cb1947d391710df6b">Gio::FILE_ATTRIBUTE_TYPE_INVALID</a>.<p> The list of possible attributes for a filesystem (pointed to by a <a class="el" href="classGio_1_1File.html" title="File and directory handling.">Gio::File</a>) is availible as a <a class="el" href="classGio_1_1FileAttributeInfoList.html" title="Key-Value paired file attributes.">Gio::FileAttributeInfoList</a>. This list is queryable by key names as indicated earlier.<p> Classes that implement Gio::FileIface will create a <a class="el" href="classGio_1_1FileAttributeInfoList.html" title="Key-Value paired file attributes.">Gio::FileAttributeInfoList</a> and install default keys and values for their given file system, architecture, and other possible implementation details (e.g., on a UNIX system, a file attribute key will be registered for the user id for a given file).<p> See <a href="http://library.gnome.org/devel/gio/unstable/gio-GFileAttribute.html">http://library.gnome.org/devel/gio/unstable/gio-GFileAttribute.html</a> for the list of default namespaces and the list of default keys.<p> <dl compact><dt><b><a class="el" href="newin2p16s.html#_newin2p16s000022">Since glibmm 2.16:</a></b></dt><dd></dd></dl> <a class="el" href="classGio_1_1File.html" title="File and directory handling.">File</a> attributes in GIO consist of a list of key-value pairs.<p> Keys are strings that contain a key namespace and a key name, separated by a colon, e.g. "namespace:keyname". Namespaces are included to sort key-value pairs by namespaces for relevance. Keys can be retreived using wildcards, e.g. "standard::*" will return all of the keys in the "standard" namespace.<p> Values are stored within the list in Gio::FileAttributeValue structures. Values can store different types, listed in the enum <a class="el" href="group__giommEnums.html#g5e79fa284e14b18d180741cd1c03d0e2">Gio::FileAttributeType</a>. Upon creation of a Gio::FileAttributeValue, the type will be set to <a class="el" href="group__giommEnums.html#gg5e79fa284e14b18d180741cd1c03d0e28e0404fb81075c7cb1947d391710df6b">Gio::FILE_ATTRIBUTE_TYPE_INVALID</a>.<p> The list of possible attributes for a filesystem (pointed to by a <a class="el" href="classGio_1_1File.html" title="File and directory handling.">Gio::File</a>) is availible as a <a class="el" href="classGio_1_1FileAttributeInfoList.html" title="Key-Value paired file attributes.">Gio::FileAttributeInfoList</a>. This list is queryable by key names as indicated earlier.<p> Classes that implement Gio::FileIface will create a <a class="el" href="classGio_1_1FileAttributeInfoList.html" title="Key-Value paired file attributes.">Gio::FileAttributeInfoList</a> and install default keys and values for their given file system, architecture, and other possible implementation details (e.g., on a UNIX system, a file attribute key will be registered for the user id for a given file).<p> See <a href="http://library.gnome.org/devel/gio/unstable/gio-GFileAttribute.html">http://library.gnome.org/devel/gio/unstable/gio-GFileAttribute.html</a> for the list of default namespaces and the list of default keys.<p> <dl compact><dt><b><a class="el" href="newin2p16s.html#_newin2p16s000024">Since glibmm 2.16:</a></b></dt><dd></dd></dl> <hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="f647ecbd4ab360b48deae74066993251"></a><!-- doxytag: member="Gio::FileAttributeInfoList::FileAttributeInfoList" ref="f647ecbd4ab360b48deae74066993251" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Gio::FileAttributeInfoList::FileAttributeInfoList </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"><code> [protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="f647ecbd4ab360b48deae74066993251"></a><!-- doxytag: member="Gio::FileAttributeInfoList::FileAttributeInfoList" ref="f647ecbd4ab360b48deae74066993251" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Gio::FileAttributeInfoList::FileAttributeInfoList </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"><code> [protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="0a0d066b1b2e3a0a533895922ff4c14a"></a><!-- doxytag: member="Gio::FileAttributeInfoList::create" ref="0a0d066b1b2e3a0a533895922ff4c14a" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGio_1_1FileAttributeInfoList.html">FileAttributeInfoList</a>> Gio::FileAttributeInfoList::create </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="1dd9c6baf89e1254fbed44338eb0a4a6"></a><!-- doxytag: member="Gio::FileAttributeInfoList::reference" ref="1dd9c6baf89e1254fbed44338eb0a4a6" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gio::FileAttributeInfoList::reference </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="889a9813bba642c384b9b2d05bae0823"></a><!-- doxytag: member="Gio::FileAttributeInfoList::unreference" ref="889a9813bba642c384b9b2d05bae0823" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gio::FileAttributeInfoList::unreference </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="8aba8445408cbf56722946723e6919a7"></a><!-- doxytag: member="Gio::FileAttributeInfoList::gobj" ref="8aba8445408cbf56722946723e6919a7" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">GFileAttributeInfoList* Gio::FileAttributeInfoList::gobj </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Provides access to the underlying C instance. <p> </div> </div><p> <a class="anchor" name="030d5b7ddafbfa9e1b15d92254530203"></a><!-- doxytag: member="Gio::FileAttributeInfoList::gobj" ref="030d5b7ddafbfa9e1b15d92254530203" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const GFileAttributeInfoList* Gio::FileAttributeInfoList::gobj </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Provides access to the underlying C instance. <p> </div> </div><p> <a class="anchor" name="2339b9d0f1a13935e58bfd1a2210cdb8"></a><!-- doxytag: member="Gio::FileAttributeInfoList::gobj_copy" ref="2339b9d0f1a13935e58bfd1a2210cdb8" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">GFileAttributeInfoList* Gio::FileAttributeInfoList::gobj_copy </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> 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><p> <a class="anchor" name="f33439073a6052f731c8712aaa08ef5b"></a><!-- doxytag: member="Gio::FileAttributeInfoList::operator delete" ref="f33439073a6052f731c8712aaa08ef5b" args="(void *, size_t)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gio::FileAttributeInfoList::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="el" href="classstatic_01const_01std_1_1size__t.html">size_t</a> </td> <td class="paramname"></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"><code> [protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="7584d4757d8ff2cab6dbc3bb1d28da94"></a><!-- doxytag: member="Gio::FileAttributeInfoList::empty" ref="7584d4757d8ff2cab6dbc3bb1d28da94" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Gio::FileAttributeInfoList::empty </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Whether the <a class="el" href="classGio_1_1FileAttributeInfoList.html" title="Key-Value paired file attributes.">FileAttributeInfoList</a> is empty or invalid. <p> <dl class="return" compact><dt><b>Returns:</b></dt><dd>true if this <a class="el" href="classGio_1_1FileAttributeInfoList.html" title="Key-Value paired file attributes.">FileAttributeInfoList</a> is empty. </dd></dl> </div> </div><p> <a class="anchor" name="821a7de06545be2c6e18d7a53c5770eb"></a><!-- doxytag: member="Gio::FileAttributeInfoList::lookup" ref="821a7de06545be2c6e18d7a53c5770eb" args="(const std::string &name) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classGio_1_1FileAttributeInfo.html">FileAttributeInfo</a> Gio::FileAttributeInfoList::lookup </td> <td>(</td> <td class="paramtype">const <a class="elRef" doxygen="libstdc++.tag.xml:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/classstd_1_1basic__string.html">std::string</a> & </td> <td class="paramname"> <em>name</em> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Gets the file attribute with the name name from list. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>name</em> </td><td>The name of the attribute to lookup. </td></tr> </table> </dl> <dl class="return" compact><dt><b>Returns:</b></dt><dd>A <a class="el" href="classGio_1_1FileAttributeInfo.html" title="Information about a specific attribute - see FileAttributeInfoList.">FileAttributeInfo</a> for the name. </dd></dl> </div> </div><p> <a class="anchor" name="ed2f07a9ff6a250c3b8fa06324765c2f"></a><!-- doxytag: member="Gio::FileAttributeInfoList::add" ref="ed2f07a9ff6a250c3b8fa06324765c2f" args="(const std::string &name, FileAttributeType type, FileAttributeInfoFlags flags=FILE_ATTRIBUTE_INFO_NONE)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gio::FileAttributeInfoList::add </td> <td>(</td> <td class="paramtype">const <a class="elRef" doxygen="libstdc++.tag.xml:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/classstd_1_1basic__string.html">std::string</a> & </td> <td class="paramname"> <em>name</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="group__giommEnums.html#g5e79fa284e14b18d180741cd1c03d0e2">FileAttributeType</a> </td> <td class="paramname"> <em>type</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="group__giommEnums.html#g8687b5c14230bb3e46a1df7341941f16">FileAttributeInfoFlags</a> </td> <td class="paramname"> <em>flags</em> = <code>FILE_ATTRIBUTE_INFO_NONE</code></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Adds a new attribute with <em>name</em> to the <em>list</em> , setting its <em>type</em> and <em>flags</em> . <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>name</em> </td><td>The name of the attribute to add. </td></tr> <tr><td valign="top"></td><td valign="top"><em>type</em> </td><td>The G::FileAttributeType for the attribute. </td></tr> <tr><td valign="top"></td><td valign="top"><em>flags</em> </td><td>G::FileAttributeInfoFlags for the attribute. </td></tr> </table> </dl> </div> </div><p> <a class="anchor" name="0a0d066b1b2e3a0a533895922ff4c14a"></a><!-- doxytag: member="Gio::FileAttributeInfoList::create" ref="0a0d066b1b2e3a0a533895922ff4c14a" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGio_1_1FileAttributeInfoList.html">FileAttributeInfoList</a>> Gio::FileAttributeInfoList::create </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="1dd9c6baf89e1254fbed44338eb0a4a6"></a><!-- doxytag: member="Gio::FileAttributeInfoList::reference" ref="1dd9c6baf89e1254fbed44338eb0a4a6" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gio::FileAttributeInfoList::reference </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="889a9813bba642c384b9b2d05bae0823"></a><!-- doxytag: member="Gio::FileAttributeInfoList::unreference" ref="889a9813bba642c384b9b2d05bae0823" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gio::FileAttributeInfoList::unreference </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="8aba8445408cbf56722946723e6919a7"></a><!-- doxytag: member="Gio::FileAttributeInfoList::gobj" ref="8aba8445408cbf56722946723e6919a7" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">GFileAttributeInfoList* Gio::FileAttributeInfoList::gobj </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Provides access to the underlying C instance. <p> </div> </div><p> <a class="anchor" name="030d5b7ddafbfa9e1b15d92254530203"></a><!-- doxytag: member="Gio::FileAttributeInfoList::gobj" ref="030d5b7ddafbfa9e1b15d92254530203" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const GFileAttributeInfoList* Gio::FileAttributeInfoList::gobj </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Provides access to the underlying C instance. <p> </div> </div><p> <a class="anchor" name="2339b9d0f1a13935e58bfd1a2210cdb8"></a><!-- doxytag: member="Gio::FileAttributeInfoList::gobj_copy" ref="2339b9d0f1a13935e58bfd1a2210cdb8" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">GFileAttributeInfoList* Gio::FileAttributeInfoList::gobj_copy </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> 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><p> <a class="anchor" name="f33439073a6052f731c8712aaa08ef5b"></a><!-- doxytag: member="Gio::FileAttributeInfoList::operator delete" ref="f33439073a6052f731c8712aaa08ef5b" args="(void *, size_t)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gio::FileAttributeInfoList::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="el" href="classstatic_01const_01std_1_1size__t.html">size_t</a> </td> <td class="paramname"></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"><code> [protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="e30d388537b163f12846afa47638e7be"></a><!-- doxytag: member="Gio::FileAttributeInfoList::operator bool" ref="e30d388537b163f12846afa47638e7be" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Gio::FileAttributeInfoList::operator bool </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Whether the <a class="el" href="classGio_1_1FileAttributeInfoList.html" title="Key-Value paired file attributes.">FileAttributeInfoList</a> is valid and non empty. <p> <dl class="return" compact><dt><b>Returns:</b></dt><dd>true if this <a class="el" href="classGio_1_1FileAttributeInfoList.html" title="Key-Value paired file attributes.">FileAttributeInfoList</a> is not empty. </dd></dl> </div> </div><p> <a class="anchor" name="7584d4757d8ff2cab6dbc3bb1d28da94"></a><!-- doxytag: member="Gio::FileAttributeInfoList::empty" ref="7584d4757d8ff2cab6dbc3bb1d28da94" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Gio::FileAttributeInfoList::empty </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Whether the <a class="el" href="classGio_1_1FileAttributeInfoList.html" title="Key-Value paired file attributes.">FileAttributeInfoList</a> is empty or invalid. <p> <dl class="return" compact><dt><b>Returns:</b></dt><dd>true if this <a class="el" href="classGio_1_1FileAttributeInfoList.html" title="Key-Value paired file attributes.">FileAttributeInfoList</a> is empty. </dd></dl> </div> </div><p> <a class="anchor" name="821a7de06545be2c6e18d7a53c5770eb"></a><!-- doxytag: member="Gio::FileAttributeInfoList::lookup" ref="821a7de06545be2c6e18d7a53c5770eb" args="(const std::string &name) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classGio_1_1FileAttributeInfo.html">FileAttributeInfo</a> Gio::FileAttributeInfoList::lookup </td> <td>(</td> <td class="paramtype">const <a class="elRef" doxygen="libstdc++.tag.xml:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/classstd_1_1basic__string.html">std::string</a> & </td> <td class="paramname"> <em>name</em> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Gets the file attribute with the name name from list. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>name</em> </td><td>The name of the attribute to lookup. </td></tr> </table> </dl> <dl class="return" compact><dt><b>Returns:</b></dt><dd>A <a class="el" href="classGio_1_1FileAttributeInfo.html" title="Information about a specific attribute - see FileAttributeInfoList.">FileAttributeInfo</a> for the name. </dd></dl> </div> </div><p> <a class="anchor" name="4253d86702cb4b18859e7ba06cb7e1fc"></a><!-- doxytag: member="Gio::FileAttributeInfoList::dup" ref="4253d86702cb4b18859e7ba06cb7e1fc" args="() const " --> <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_1FileAttributeInfoList.html">FileAttributeInfoList</a>> Gio::FileAttributeInfoList::dup </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Makes a duplicate of a file attribute info list. <p> <dl class="return" compact><dt><b>Returns:</b></dt><dd>A copy of the given <em>list</em>. </dd></dl> </div> </div><p> <a class="anchor" name="ed2f07a9ff6a250c3b8fa06324765c2f"></a><!-- doxytag: member="Gio::FileAttributeInfoList::add" ref="ed2f07a9ff6a250c3b8fa06324765c2f" args="(const std::string &name, FileAttributeType type, FileAttributeInfoFlags flags=FILE_ATTRIBUTE_INFO_NONE)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gio::FileAttributeInfoList::add </td> <td>(</td> <td class="paramtype">const <a class="elRef" doxygen="libstdc++.tag.xml:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/classstd_1_1basic__string.html">std::string</a> & </td> <td class="paramname"> <em>name</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="group__giommEnums.html#g5e79fa284e14b18d180741cd1c03d0e2">FileAttributeType</a> </td> <td class="paramname"> <em>type</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="group__giommEnums.html#g8687b5c14230bb3e46a1df7341941f16">FileAttributeInfoFlags</a> </td> <td class="paramname"> <em>flags</em> = <code>FILE_ATTRIBUTE_INFO_NONE</code></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Adds a new attribute with <em>name</em> to the <em>list</em>, setting its <em>type</em> and <em>flags</em>. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>name</em> </td><td>The name of the attribute to add. </td></tr> <tr><td valign="top"></td><td valign="top"><em>type</em> </td><td>The FileAttributeType for the attribute. </td></tr> <tr><td valign="top"></td><td valign="top"><em>flags</em> </td><td>FileAttributeInfoFlags for the attribute. </td></tr> </table> </dl> </div> </div><p> <hr><h2>Friends And Related Function Documentation</h2> <a class="anchor" name="7f7b3ffb2c6258de375ee4cc566c0089"></a><!-- doxytag: member="Gio::FileAttributeInfoList::wrap" ref="7f7b3ffb2c6258de375ee4cc566c0089" args="(GFileAttributeInfoList *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_1FileAttributeInfoList.html">Gio::FileAttributeInfoList</a>> wrap </td> <td>(</td> <td class="paramtype">GFileAttributeInfoList * </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><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"><code> [related]</code></td> </tr> </table> </div> <div class="memdoc"> <p> A <a class="el" href="namespaceGlib.html#671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>object</em> </td><td>The C instance. </td></tr> <tr><td valign="top"></td><td valign="top"><em>take_copy</em> </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> </dl> <dl class="return" compact><dt><b>Returns:</b></dt><dd>A C++ instance that wraps this C instance. </dd></dl> </div> </div><p> <hr>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="fileattribute_8h.html">fileattribute.h</a><li><a class="el" href="fileattributeinfolist_8h.html">fileattributeinfolist.h</a></ul> </div> <!-- end main content --> <hr><address><small> Generated for glibmm 2.4 by <a href="http://www.doxygen.org/index.html"> Doxygen</a> 1.5.3 © 1997-2001</small></address> </body> </html>