<!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::FileInfo 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_1FileInfo.html">FileInfo</a></div> <h1>Gio::FileInfo Class Reference</h1><!-- doxytag: class="Gio::FileInfo" --><!-- doxytag: inherits="Glib::Object" --><a class="el" href="classGio_1_1FileInfo.html" title="FileInfo implements methods for getting information that all files should contain...">FileInfo</a> implements methods for getting information that all files should contain, and allows for manipulation of extended attributes. <a href="#_details">More...</a> <p> <div class="dynheader"> Inheritance diagram for Gio::FileInfo:</div> <div class="dynsection"> <p><center><img src="classGio_1_1FileInfo__inherit__graph.png" border="0" usemap="#Gio_1_1FileInfo__inherit__map" alt="Inheritance graph"></center> <map name="Gio_1_1FileInfo__inherit__map"> <area shape="rect" href="classGlib_1_1Object.html" title="Glib::Object" alt="" coords="21,161,115,188"><area shape="rect" href="classGlib_1_1ObjectBase.html" title="Glib::ObjectBase is a common base class for Objects and Interfaces." alt="" coords="5,84,131,111"><area shape="rect" href="classsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="12,7,124,33"></map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> <p> <a href="classGio_1_1FileInfo-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">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1FileInfo.html#aa6efce7f09cab1619475b27860a72cd">~FileInfo</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">GFileInfo* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1FileInfo.html#e03eb9c62254cc8581e3ec757f8d98a4">gobj</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#e03eb9c62254cc8581e3ec757f8d98a4"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">const GFileInfo* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1FileInfo.html#631bcd07a3ae085260e7b3358444dd4a">gobj</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#631bcd07a3ae085260e7b3358444dd4a"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">GFileInfo* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1FileInfo.html#4c85d7a363f3925102ae03442472ac7d">gobj_copy</a> ()</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="#4c85d7a363f3925102ae03442472ac7d"></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_1FileInfo.html#740057465d0744299ef0f118b7efe083">FileInfo</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGio_1_1FileInfo.html">FileInfo</a>> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1FileInfo.html#15f9fc3eeafd0fa4e90d51d22781be99">dup</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Duplicates a file info structure. <a href="#15f9fc3eeafd0fa4e90d51d22781be99"></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_1FileInfo.html#43dff76c39bb388b7d67d77fa0024d25">copy_into</a> (<a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGio_1_1FileInfo.html">FileInfo</a>>& dest) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Copies all of the FileAttribute<!-- -->s from <em>src_info</em> to <em>dest_info</em>. <a href="#43dff76c39bb388b7d67d77fa0024d25"></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_1FileInfo.html#a18458a7c75729d9521b3b0988bb9322">has_attribute</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>& attribute) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Checks if a file info structure has an attribute named <em>attribute</em>. <a href="#a18458a7c75729d9521b3b0988bb9322"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classGlib_1_1ArrayHandle.html">Glib::StringArrayHandle</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1FileInfo.html#784a82a76bd8a10d16e6e78d311a8cae">list_attributes</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_space) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Lists the file info structure's attributes. <a href="#784a82a76bd8a10d16e6e78d311a8cae"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="group__giommEnums.html#g5e79fa284e14b18d180741cd1c03d0e2">FileAttributeType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1FileInfo.html#d9dfbef62139e9ea6d259d4bbe6b8b92">get_attribute_type</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>& attribute) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the attribute type for an attribute key. <a href="#d9dfbef62139e9ea6d259d4bbe6b8b92"></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_1FileInfo.html#b36ffcf14c535c7fbbbb94907a3516c9">remove_attribute</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>& attribute)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Removes all cases of <em>attribute</em> from <em>info</em> if it exists. <a href="#b36ffcf14c535c7fbbbb94907a3516c9"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><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="memItemRight" valign="bottom"><a class="el" href="classGio_1_1FileInfo.html#ad2362ace81fdccc95eed6cf4e84af41">get_attribute_string</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>& attribute) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the value of a string attribute. <a href="#ad2362ace81fdccc95eed6cf4e84af41"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1FileInfo.html#75ee20462c4f2dc2c696611427a98d8c">get_attribute_as_string</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>& attribute) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the value of a attribute, formated as a string. <a href="#75ee20462c4f2dc2c696611427a98d8c"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><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="memItemRight" valign="bottom"><a class="el" href="classGio_1_1FileInfo.html#4803fb91a2fd7a754f030b63962b2bef">get_attribute_byte_string</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>& attribute) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the value of a byte string attribute. <a href="#4803fb91a2fd7a754f030b63962b2bef"></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_1FileInfo.html#167589bb3e2fa091d7717abe6405fd9a">get_attribute_boolean</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>& attribute) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the value of a boolean attribute. <a href="#167589bb3e2fa091d7717abe6405fd9a"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">guint32 </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1FileInfo.html#4f84f3668092ae12b0f89f3ff985e9b4">get_attribute_uint32</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>& attribute) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets an unsigned 32-bit integer contained within the attribute. <a href="#4f84f3668092ae12b0f89f3ff985e9b4"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">gint32 </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1FileInfo.html#d450ccf254244a053c11b14e88695c2f">get_attribute_int32</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>& attribute) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets a signed 32-bit integer contained within the attribute. <a href="#d450ccf254244a053c11b14e88695c2f"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">guint64 </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1FileInfo.html#382b0afbec9d9ba59e7fbb7cbe5fc5a5">get_attribute_uint64</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>& attribute) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets a unsigned 64-bit integer contained within the attribute. <a href="#382b0afbec9d9ba59e7fbb7cbe5fc5a5"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">gint64 </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1FileInfo.html#eb52d13f7ad792ca3cfa527a85b89809">get_attribute_int64</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>& attribute) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets a signed 64-bit integer contained within the attribute. <a href="#eb52d13f7ad792ca3cfa527a85b89809"></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="classGlib_1_1Object.html">Glib::Object</a>> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1FileInfo.html#6211b572545a437f9691297cf439d394">get_attribute_object</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>& attribute) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the value of a Object attribute. <a href="#6211b572545a437f9691297cf439d394"></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_1FileInfo.html#6273bbf43d262c18a67d5b407af8237c">set_attribute_string</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>& attribute, 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>& value)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the <em>attribute</em> to contain the given <em>attr_value</em>, if possible. <a href="#6273bbf43d262c18a67d5b407af8237c"></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_1FileInfo.html#65571d11697c7668be664b05145be73e">set_attribute_byte_string</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>& attribute, 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>& value)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the <em>attribute</em> to contain the given <em>attr_value</em>, if possible. <a href="#65571d11697c7668be664b05145be73e"></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_1FileInfo.html#417d65b3879da104191b15aa31094e27">set_attribute_boolean</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>& attribute, bool value)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the <em>attribute</em> to contain the given <em>attr_value</em>, if possible. <a href="#417d65b3879da104191b15aa31094e27"></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_1FileInfo.html#deb6d97a7234f8cb9f597530b16bd1e6">set_attribute_uint32</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>& attribute, guint32 value)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the <em>attribute</em> to contain the given <em>attr_value</em>, if possible. <a href="#deb6d97a7234f8cb9f597530b16bd1e6"></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_1FileInfo.html#dc1806943e1726b44e1b41eddf79f8cf">set_attribute_int32</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>& attribute, gint32 value)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the <em>attribute</em> to contain the given <em>attr_value</em>, if possible. <a href="#dc1806943e1726b44e1b41eddf79f8cf"></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_1FileInfo.html#cea5263ac50a21b59bd24075d2066ead">set_attribute_uint64</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>& attribute, guint64 value)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the <em>attribute</em> to contain the given <em>attr_value</em>, if possible. <a href="#cea5263ac50a21b59bd24075d2066ead"></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_1FileInfo.html#1fe7d70aa6504797ba032e50c767e23a">set_attribute_int64</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>& attribute, gint64 value)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the <em>attribute</em> to contain the given <em>attr_value</em>, if possible. <a href="#1fe7d70aa6504797ba032e50c767e23a"></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_1FileInfo.html#e2a4f18e80b03de854a29fc4fbfbcae7">set_attribute_object</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>& attribute, const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGlib_1_1Object.html">Glib::Object</a>>& object)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the <em>attribute</em> to contain the given <em>attr_value</em>, if possible. <a href="#e2a4f18e80b03de854a29fc4fbfbcae7"></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_1FileInfo.html#c00eda5b1db8e5c7d3a756a43efe47fb">clear_status</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Clears the status information from <em>info</em>. <a href="#c00eda5b1db8e5c7d3a756a43efe47fb"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="group__giommEnums.html#g7dcba95023d74c47bba3fd0a07f8824c">FileType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1FileInfo.html#bf62545b515bef26ead386be87750edb">get_file_type</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets a file's type (whether it is a regular file, symlink, etc). <a href="#bf62545b515bef26ead386be87750edb"></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_1FileInfo.html#58ec7193682510c1455a6547fcabddb4">is_hidden</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Checks if a file is hidden. <a href="#58ec7193682510c1455a6547fcabddb4"></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_1FileInfo.html#0e782dc65b4a048628c35af89bc2b894">is_backup</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Checks if a file is a backup file. <a href="#0e782dc65b4a048628c35af89bc2b894"></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_1FileInfo.html#7a7ef1e79deefd16be5fcea5ed00e6d5">is_symlink</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Checks if a file is a symlink. <a href="#7a7ef1e79deefd16be5fcea5ed00e6d5"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><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="memItemRight" valign="bottom"><a class="el" href="classGio_1_1FileInfo.html#2a237a251dce16850d2365f246e48e4e">get_name</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the name for a file. <a href="#2a237a251dce16850d2365f246e48e4e"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><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="memItemRight" valign="bottom"><a class="el" href="classGio_1_1FileInfo.html#ab26e342861a38ea9cfcd8b52813d655">get_display_name</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets a display name for a file. <a href="#ab26e342861a38ea9cfcd8b52813d655"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><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="memItemRight" valign="bottom"><a class="el" href="classGio_1_1FileInfo.html#92f5240ac06f5848072e2f43aeb71516">get_edit_name</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the edit name for a file. <a href="#92f5240ac06f5848072e2f43aeb71516"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGio_1_1Icon.html">Icon</a>> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1FileInfo.html#d835c26e3252232a437d1013a5ed9aa3">get_icon</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the icon for a file. <a href="#d835c26e3252232a437d1013a5ed9aa3"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>< const <br> <a class="el" href="classGio_1_1Icon.html">Icon</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1FileInfo.html#fa956e081955525b68c5af3f291b7b8c">get_icon</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the icon for a file. <a href="#fa956e081955525b68c5af3f291b7b8c"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><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="memItemRight" valign="bottom"><a class="el" href="classGio_1_1FileInfo.html#a67a68ee61c7b43f2051cf8639966e75">get_content_type</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the file's content type. <a href="#a67a68ee61c7b43f2051cf8639966e75"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">goffset </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1FileInfo.html#298f0414de960d56bb5a2bcd951f4900">get_size</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the file's size. <a href="#298f0414de960d56bb5a2bcd951f4900"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structGlib_1_1TimeVal.html">Glib::TimeVal</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1FileInfo.html#0bb8836539f5a2f4fe61c07e335110c9">modification_time</a> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><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="memItemRight" valign="bottom"><a class="el" href="classGio_1_1FileInfo.html#848a2f85fa4f84c6477e076987d28770">get_symlink_target</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the symlink target for a given <a class="el" href="classGio_1_1FileInfo.html" title="FileInfo implements methods for getting information that all files should contain...">FileInfo</a>. <a href="#848a2f85fa4f84c6477e076987d28770"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><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="memItemRight" valign="bottom"><a class="el" href="classGio_1_1FileInfo.html#aa44913ffe15c029ce09dfe828cf0a0b">get_etag</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the entity tag for a given <a class="el" href="classGio_1_1FileInfo.html" title="FileInfo implements methods for getting information that all files should contain...">FileInfo</a>. <a href="#aa44913ffe15c029ce09dfe828cf0a0b"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">gint32 </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1FileInfo.html#6527af61c645715e24863592246545b3">get_sort_order</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the value of the sort_order attribute from the <a class="el" href="classGio_1_1FileInfo.html" title="FileInfo implements methods for getting information that all files should contain...">FileInfo</a>. <a href="#6527af61c645715e24863592246545b3"></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_1FileInfo.html#dd9025ae3f25e5213ab8fba055a4e09d">set_attribute_mask</a> (const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGio_1_1FileAttributeMatcher.html">FileAttributeMatcher</a>>& mask)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets <em>mask</em> on <em>info</em> to match specific attribute types. <a href="#dd9025ae3f25e5213ab8fba055a4e09d"></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_1FileInfo.html#fb9178c888fbf6fd2ef1344bc8523ba3">unset_attribute_mask</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Unsets a mask set by g_file_info_set_attribute_mask(), if one is set. <a href="#fb9178c888fbf6fd2ef1344bc8523ba3"></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_1FileInfo.html#b3ceaaaf6112575fd1b9cd6c75112606">set_file_type</a> (<a class="el" href="group__giommEnums.html#g7dcba95023d74c47bba3fd0a07f8824c">FileType</a> type)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the file type in a <a class="el" href="classGio_1_1FileInfo.html" title="FileInfo implements methods for getting information that all files should contain...">FileInfo</a> to <em>type</em>. <a href="#b3ceaaaf6112575fd1b9cd6c75112606"></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_1FileInfo.html#f817a5e2d32a2a7d0130c53e4bb3ca72">set_is_hidden</a> (bool is_hidden=true)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the "is_hidden" attribute in a <a class="el" href="classGio_1_1FileInfo.html" title="FileInfo implements methods for getting information that all files should contain...">FileInfo</a> according to <em>is_symlink</em>. <a href="#f817a5e2d32a2a7d0130c53e4bb3ca72"></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_1FileInfo.html#79304bdfa1e1e5e73f895c896ddf730e">set_is_symlink</a> (bool is_symlink=true)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the "is_symlink" attribute in a <a class="el" href="classGio_1_1FileInfo.html" title="FileInfo implements methods for getting information that all files should contain...">FileInfo</a> according to <em>is_symlink</em>. <a href="#79304bdfa1e1e5e73f895c896ddf730e"></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_1FileInfo.html#f2430c30058f424bbc71c342fd2e9cda">set_name</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)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the name attribute for the current <a class="el" href="classGio_1_1FileInfo.html" title="FileInfo implements methods for getting information that all files should contain...">FileInfo</a>. <a href="#f2430c30058f424bbc71c342fd2e9cda"></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_1FileInfo.html#6c0171f42d0877023cfe574b77359b59">set_display_name</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>& display_name)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the display name for the current <a class="el" href="classGio_1_1FileInfo.html" title="FileInfo implements methods for getting information that all files should contain...">FileInfo</a>. <a href="#6c0171f42d0877023cfe574b77359b59"></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_1FileInfo.html#0aec971ea570c1946b8e57462e1bc9ce">set_edit_name</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>& edit_name)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the edit name for the current file. <a href="#0aec971ea570c1946b8e57462e1bc9ce"></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_1FileInfo.html#3bd4ac6face055102cd02c679056a16a">set_icon</a> (const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGio_1_1Icon.html">Icon</a>>& icon)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the icon for a given <a class="el" href="classGio_1_1FileInfo.html" title="FileInfo implements methods for getting information that all files should contain...">FileInfo</a>. <a href="#3bd4ac6face055102cd02c679056a16a"></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_1FileInfo.html#1a07b5776ff1a1a8ed8d942710df5688">set_content_type</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>& content_type)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the content type attribute for a given <a class="el" href="classGio_1_1FileInfo.html" title="FileInfo implements methods for getting information that all files should contain...">FileInfo</a>. <a href="#1a07b5776ff1a1a8ed8d942710df5688"></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_1FileInfo.html#c50fe95ac1dd596d44cd40225af223f5">set_size</a> (goffset size)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the FILE_ATTRIBUTE_STANDARD_SIZE attribute in the file info to the given size. <a href="#c50fe95ac1dd596d44cd40225af223f5"></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_1FileInfo.html#999893faef31be8d0989415852ec527e">set_modification_time</a> (const <a class="el" href="structGlib_1_1TimeVal.html">Glib::TimeVal</a>& mtime)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the FILE_ATTRIBUTE_TIME_MODIFIED attribute in the file info to the given time value. <a href="#999893faef31be8d0989415852ec527e"></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_1FileInfo.html#f0ca88a17c88c40b58890a68278528c4">set_symlink_target</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>& symlink_target)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the FILE_ATTRIBUTE_STANDARD_SYMLINK_TARGET attribute in the file info to the given symlink target. <a href="#f0ca88a17c88c40b58890a68278528c4"></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_1FileInfo.html#fec884c7bd2f655c7a3fe0122dfb4390">set_sort_order</a> (gint32 sort_order)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the sort order attribute in the file info structure. <a href="#fec884c7bd2f655c7a3fe0122dfb4390"></a><br></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_1FileInfo.html">Gio::FileInfo</a>> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1FileInfo.html#a08fd4d65078c227da321348eed9519d">wrap</a> (GFileInfo* 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="#a08fd4d65078c227da321348eed9519d"></a><br></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> <a class="el" href="classGio_1_1FileInfo.html" title="FileInfo implements methods for getting information that all files should contain...">FileInfo</a> implements methods for getting information that all files should contain, and allows for manipulation of extended attributes. <p> See FileAttribute for more information on how GIO handles file attributes.<p> To obtain a <a class="el" href="classGio_1_1FileInfo.html" title="FileInfo implements methods for getting information that all files should contain...">FileInfo</a> for a <a class="el" href="classGio_1_1File.html" title="File and directory handling.">File</a>, use <a class="el" href="classGio_1_1File.html#db25ffdbe571d33e89c9503fe9a20dcd" title="Gets the requested information about the file.">File::query_info()</a> (or its async variant). To obtain a <a class="el" href="classGio_1_1FileInfo.html" title="FileInfo implements methods for getting information that all files should contain...">FileInfo</a> for a file input or output stream, use FileInput::stream_query_info() or FileOutput::stream_query_info() (or their async variants).<p> <a class="el" href="classGio_1_1FileAttributeMatcher.html" title="FileAttributeMatcher allows for searching through a FileInfo for attributes.">FileAttributeMatcher</a> allows for searching through a <a class="el" href="classGio_1_1FileInfo.html" title="FileInfo implements methods for getting information that all files should contain...">FileInfo</a> for attributes. <hr><h2>Constructor& Destructor Documentation</h2> <a class="anchor" name="aa6efce7f09cab1619475b27860a72cd"></a><!-- doxytag: member="Gio::FileInfo::~FileInfo" ref="aa6efce7f09cab1619475b27860a72cd" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual Gio::FileInfo::~FileInfo </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="740057465d0744299ef0f118b7efe083"></a><!-- doxytag: member="Gio::FileInfo::FileInfo" ref="740057465d0744299ef0f118b7efe083" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Gio::FileInfo::FileInfo </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="e03eb9c62254cc8581e3ec757f8d98a4"></a><!-- doxytag: member="Gio::FileInfo::gobj" ref="e03eb9c62254cc8581e3ec757f8d98a4" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">GFileInfo* Gio::FileInfo::gobj </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Provides access to the underlying C GObject. <p> <p>Reimplemented from <a class="el" href="classGlib_1_1ObjectBase.html#4c6efc18be8cb9c56e58fc0bd20fafbe">Glib::ObjectBase</a>.</p> </div> </div><p> <a class="anchor" name="631bcd07a3ae085260e7b3358444dd4a"></a><!-- doxytag: member="Gio::FileInfo::gobj" ref="631bcd07a3ae085260e7b3358444dd4a" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const GFileInfo* Gio::FileInfo::gobj </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Provides access to the underlying C GObject. <p> <p>Reimplemented from <a class="el" href="classGlib_1_1ObjectBase.html#778a94181132976bbfb0519793f3b32e">Glib::ObjectBase</a>.</p> </div> </div><p> <a class="anchor" name="4c85d7a363f3925102ae03442472ac7d"></a><!-- doxytag: member="Gio::FileInfo::gobj_copy" ref="4c85d7a363f3925102ae03442472ac7d" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">GFileInfo* Gio::FileInfo::gobj_copy </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. The caller is responsible for unrefing it. Use when directly setting fields in structs. <p> </div> </div><p> <a class="anchor" name="15f9fc3eeafd0fa4e90d51d22781be99"></a><!-- doxytag: member="Gio::FileInfo::dup" ref="15f9fc3eeafd0fa4e90d51d22781be99" 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_1FileInfo.html">FileInfo</a>> Gio::FileInfo::dup </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Duplicates a file info structure. <p> <dl class="return" compact><dt><b>Returns:</b></dt><dd>A duplicate <a class="el" href="classGio_1_1FileInfo.html" title="FileInfo implements methods for getting information that all files should contain...">FileInfo</a> of <em>other</em>. </dd></dl> </div> </div><p> <a class="anchor" name="43dff76c39bb388b7d67d77fa0024d25"></a><!-- doxytag: member="Gio::FileInfo::copy_into" ref="43dff76c39bb388b7d67d77fa0024d25" args="(Glib::RefPtr< FileInfo > &dest) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gio::FileInfo::copy_into </td> <td>(</td> <td class="paramtype"><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGio_1_1FileInfo.html">FileInfo</a>>& </td> <td class="paramname"> <em>dest</em> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Copies all of the FileAttribute<!-- -->s from <em>src_info</em> to <em>dest_info</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>dest_info</em> </td><td>Destination to copy attributes to. </td></tr> </table> </dl> </div> </div><p> <a class="anchor" name="a18458a7c75729d9521b3b0988bb9322"></a><!-- doxytag: member="Gio::FileInfo::has_attribute" ref="a18458a7c75729d9521b3b0988bb9322" args="(const std::string &attribute) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Gio::FileInfo::has_attribute </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>attribute</em> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Checks if a file info structure has an attribute named <em>attribute</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>attribute</em> </td><td>A file attribute key. </td></tr> </table> </dl> <dl class="return" compact><dt><b>Returns:</b></dt><dd><code>true</code> if <em>Ginfo</em> has an attribute named <em>attribute</em>, <code>false</code> otherwise. </dd></dl> </div> </div><p> <a class="anchor" name="784a82a76bd8a10d16e6e78d311a8cae"></a><!-- doxytag: member="Gio::FileInfo::list_attributes" ref="784a82a76bd8a10d16e6e78d311a8cae" args="(const std::string &name_space) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classGlib_1_1ArrayHandle.html">Glib::StringArrayHandle</a> Gio::FileInfo::list_attributes </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_space</em> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Lists the file info structure's attributes. <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_space</em> </td><td>A file attribute key's namespace. </td></tr> </table> </dl> <dl class="return" compact><dt><b>Returns:</b></dt><dd>A null-terminated array of strings of all of the possible attribute types for the given <em>name_space</em>, or <code>0</code> on error. </dd></dl> </div> </div><p> <a class="anchor" name="d9dfbef62139e9ea6d259d4bbe6b8b92"></a><!-- doxytag: member="Gio::FileInfo::get_attribute_type" ref="d9dfbef62139e9ea6d259d4bbe6b8b92" args="(const std::string &attribute) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="group__giommEnums.html#g5e79fa284e14b18d180741cd1c03d0e2">FileAttributeType</a> Gio::FileInfo::get_attribute_type </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>attribute</em> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Gets the attribute type for an attribute key. <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>attribute</em> </td><td>A file attribute key. </td></tr> </table> </dl> <dl class="return" compact><dt><b>Returns:</b></dt><dd>A FileAttributeType for the given <em>attribute</em>, or FILE_ATTRIBUTE_TYPE_INVALID if the key is invalid. </dd></dl> </div> </div><p> <a class="anchor" name="b36ffcf14c535c7fbbbb94907a3516c9"></a><!-- doxytag: member="Gio::FileInfo::remove_attribute" ref="b36ffcf14c535c7fbbbb94907a3516c9" args="(const std::string &attribute)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gio::FileInfo::remove_attribute </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>attribute</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Removes all cases of <em>attribute</em> from <em>info</em> if it exists. <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>attribute</em> </td><td>A file attribute key. </td></tr> </table> </dl> </div> </div><p> <a class="anchor" name="ad2362ace81fdccc95eed6cf4e84af41"></a><!-- doxytag: member="Gio::FileInfo::get_attribute_string" ref="ad2362ace81fdccc95eed6cf4e84af41" args="(const std::string &attribute) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><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> Gio::FileInfo::get_attribute_string </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>attribute</em> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Gets the value of a string attribute. <p> If the attribute does not contain a string, <code>0</code> will be returned. <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>attribute</em> </td><td>A file attribute key. </td></tr> </table> </dl> <dl class="return" compact><dt><b>Returns:</b></dt><dd>The contents of the <em>attribute</em> value as a string, or <code>0</code> otherwise. </dd></dl> </div> </div><p> <a class="anchor" name="75ee20462c4f2dc2c696611427a98d8c"></a><!-- doxytag: member="Gio::FileInfo::get_attribute_as_string" ref="75ee20462c4f2dc2c696611427a98d8c" args="(const std::string &attribute) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a> Gio::FileInfo::get_attribute_as_string </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>attribute</em> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Gets the value of a attribute, formated as a string. <p> This escapes things as needed to make the string valid utf8. <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>attribute</em> </td><td>A file attribute key. </td></tr> </table> </dl> <dl class="return" compact><dt><b>Returns:</b></dt><dd>A UTF-8 string associated with the given <em>attribute</em>. When you're done with the string it must be freed with Glib::free(). </dd></dl> </div> </div><p> <a class="anchor" name="4803fb91a2fd7a754f030b63962b2bef"></a><!-- doxytag: member="Gio::FileInfo::get_attribute_byte_string" ref="4803fb91a2fd7a754f030b63962b2bef" args="(const std::string &attribute) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><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> Gio::FileInfo::get_attribute_byte_string </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>attribute</em> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Gets the value of a byte string attribute. <p> If the attribute does not contain a byte string, <code>0</code> will be returned. <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>attribute</em> </td><td>A file attribute key. </td></tr> </table> </dl> <dl class="return" compact><dt><b>Returns:</b></dt><dd>The contents of the <em>attribute</em> value as a byte string, or <code>0</code> otherwise. </dd></dl> </div> </div><p> <a class="anchor" name="167589bb3e2fa091d7717abe6405fd9a"></a><!-- doxytag: member="Gio::FileInfo::get_attribute_boolean" ref="167589bb3e2fa091d7717abe6405fd9a" args="(const std::string &attribute) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Gio::FileInfo::get_attribute_boolean </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>attribute</em> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Gets the value of a boolean attribute. <p> If the attribute does not contain a boolean value, <code>false</code> will be returned. <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>attribute</em> </td><td>A file attribute key. </td></tr> </table> </dl> <dl class="return" compact><dt><b>Returns:</b></dt><dd>The boolean value contained within the attribute. </dd></dl> </div> </div><p> <a class="anchor" name="4f84f3668092ae12b0f89f3ff985e9b4"></a><!-- doxytag: member="Gio::FileInfo::get_attribute_uint32" ref="4f84f3668092ae12b0f89f3ff985e9b4" args="(const std::string &attribute) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">guint32 Gio::FileInfo::get_attribute_uint32 </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>attribute</em> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Gets an unsigned 32-bit integer contained within the attribute. <p> If the attribute does not contain an unsigned 32-bit integer, or is invalid, 0 will be returned. <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>attribute</em> </td><td>A file attribute key. </td></tr> </table> </dl> <dl class="return" compact><dt><b>Returns:</b></dt><dd>An unsigned 32-bit integer from the attribute. </dd></dl> </div> </div><p> <a class="anchor" name="d450ccf254244a053c11b14e88695c2f"></a><!-- doxytag: member="Gio::FileInfo::get_attribute_int32" ref="d450ccf254244a053c11b14e88695c2f" args="(const std::string &attribute) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">gint32 Gio::FileInfo::get_attribute_int32 </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>attribute</em> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Gets a signed 32-bit integer contained within the attribute. <p> If the attribute does not contain a signed 32-bit integer, or is invalid, 0 will be returned. <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>attribute</em> </td><td>A file attribute key. </td></tr> </table> </dl> <dl class="return" compact><dt><b>Returns:</b></dt><dd>A signed 32-bit integer from the attribute. </dd></dl> </div> </div><p> <a class="anchor" name="382b0afbec9d9ba59e7fbb7cbe5fc5a5"></a><!-- doxytag: member="Gio::FileInfo::get_attribute_uint64" ref="382b0afbec9d9ba59e7fbb7cbe5fc5a5" args="(const std::string &attribute) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">guint64 Gio::FileInfo::get_attribute_uint64 </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>attribute</em> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Gets a unsigned 64-bit integer contained within the attribute. <p> If the attribute does not contain an unsigned 64-bit integer, or is invalid, 0 will be returned. <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>attribute</em> </td><td>A file attribute key. </td></tr> </table> </dl> <dl class="return" compact><dt><b>Returns:</b></dt><dd>A unsigned 64-bit integer from the attribute. </dd></dl> </div> </div><p> <a class="anchor" name="eb52d13f7ad792ca3cfa527a85b89809"></a><!-- doxytag: member="Gio::FileInfo::get_attribute_int64" ref="eb52d13f7ad792ca3cfa527a85b89809" args="(const std::string &attribute) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">gint64 Gio::FileInfo::get_attribute_int64 </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>attribute</em> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Gets a signed 64-bit integer contained within the attribute. <p> If the attribute does not contain an signed 64-bit integer, or is invalid, 0 will be returned. <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>attribute</em> </td><td>A file attribute key. </td></tr> </table> </dl> <dl class="return" compact><dt><b>Returns:</b></dt><dd>A signed 64-bit integer from the attribute. </dd></dl> </div> </div><p> <a class="anchor" name="6211b572545a437f9691297cf439d394"></a><!-- doxytag: member="Gio::FileInfo::get_attribute_object" ref="6211b572545a437f9691297cf439d394" args="(const std::string &attribute) 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="classGlib_1_1Object.html">Glib::Object</a>> Gio::FileInfo::get_attribute_object </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>attribute</em> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Gets the value of a Object attribute. <p> If the attribute does not contain a Object, <code>0</code> will be returned. <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>attribute</em> </td><td>A file attribute key. </td></tr> </table> </dl> <dl class="return" compact><dt><b>Returns:</b></dt><dd>A Object associated with the given <em>attribute</em>, or <code>0</code> otherwise. </dd></dl> </div> </div><p> <a class="anchor" name="6273bbf43d262c18a67d5b407af8237c"></a><!-- doxytag: member="Gio::FileInfo::set_attribute_string" ref="6273bbf43d262c18a67d5b407af8237c" args="(const std::string &attribute, const std::string &value)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gio::FileInfo::set_attribute_string </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>attribute</em>, </td> </tr> <tr> <td class="paramkey"></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>value</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Sets the <em>attribute</em> to contain the given <em>attr_value</em>, if possible. <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>attribute</em> </td><td>A file attribute key. </td></tr> <tr><td valign="top"></td><td valign="top"><em>attr_value</em> </td><td>A string. </td></tr> </table> </dl> </div> </div><p> <a class="anchor" name="65571d11697c7668be664b05145be73e"></a><!-- doxytag: member="Gio::FileInfo::set_attribute_byte_string" ref="65571d11697c7668be664b05145be73e" args="(const std::string &attribute, const std::string &value)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gio::FileInfo::set_attribute_byte_string </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>attribute</em>, </td> </tr> <tr> <td class="paramkey"></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>value</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Sets the <em>attribute</em> to contain the given <em>attr_value</em>, if possible. <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>attribute</em> </td><td>A file attribute key. </td></tr> <tr><td valign="top"></td><td valign="top"><em>attr_value</em> </td><td>A byte string. </td></tr> </table> </dl> </div> </div><p> <a class="anchor" name="417d65b3879da104191b15aa31094e27"></a><!-- doxytag: member="Gio::FileInfo::set_attribute_boolean" ref="417d65b3879da104191b15aa31094e27" args="(const std::string &attribute, bool value)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gio::FileInfo::set_attribute_boolean </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>attribute</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"> <em>value</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Sets the <em>attribute</em> to contain the given <em>attr_value</em>, if possible. <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>attribute</em> </td><td>A file attribute key. </td></tr> <tr><td valign="top"></td><td valign="top"><em>attr_value</em> </td><td>A boolean value. </td></tr> </table> </dl> </div> </div><p> <a class="anchor" name="deb6d97a7234f8cb9f597530b16bd1e6"></a><!-- doxytag: member="Gio::FileInfo::set_attribute_uint32" ref="deb6d97a7234f8cb9f597530b16bd1e6" args="(const std::string &attribute, guint32 value)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gio::FileInfo::set_attribute_uint32 </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>attribute</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">guint32 </td> <td class="paramname"> <em>value</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Sets the <em>attribute</em> to contain the given <em>attr_value</em>, if possible. <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>attribute</em> </td><td>A file attribute key. </td></tr> <tr><td valign="top"></td><td valign="top"><em>attr_value</em> </td><td>An unsigned 32-bit integer. </td></tr> </table> </dl> </div> </div><p> <a class="anchor" name="dc1806943e1726b44e1b41eddf79f8cf"></a><!-- doxytag: member="Gio::FileInfo::set_attribute_int32" ref="dc1806943e1726b44e1b41eddf79f8cf" args="(const std::string &attribute, gint32 value)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gio::FileInfo::set_attribute_int32 </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>attribute</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">gint32 </td> <td class="paramname"> <em>value</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Sets the <em>attribute</em> to contain the given <em>attr_value</em>, if possible. <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>attribute</em> </td><td>A file attribute key. </td></tr> <tr><td valign="top"></td><td valign="top"><em>attr_value</em> </td><td>A signed 32-bit integer. </td></tr> </table> </dl> </div> </div><p> <a class="anchor" name="cea5263ac50a21b59bd24075d2066ead"></a><!-- doxytag: member="Gio::FileInfo::set_attribute_uint64" ref="cea5263ac50a21b59bd24075d2066ead" args="(const std::string &attribute, guint64 value)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gio::FileInfo::set_attribute_uint64 </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>attribute</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">guint64 </td> <td class="paramname"> <em>value</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Sets the <em>attribute</em> to contain the given <em>attr_value</em>, if possible. <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>attribute</em> </td><td>A file attribute key. </td></tr> <tr><td valign="top"></td><td valign="top"><em>attr_value</em> </td><td>An unsigned 64-bit integer. </td></tr> </table> </dl> </div> </div><p> <a class="anchor" name="1fe7d70aa6504797ba032e50c767e23a"></a><!-- doxytag: member="Gio::FileInfo::set_attribute_int64" ref="1fe7d70aa6504797ba032e50c767e23a" args="(const std::string &attribute, gint64 value)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gio::FileInfo::set_attribute_int64 </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>attribute</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">gint64 </td> <td class="paramname"> <em>value</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Sets the <em>attribute</em> to contain the given <em>attr_value</em>, if possible. <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>attribute</em> </td><td>Attribute name to set. </td></tr> <tr><td valign="top"></td><td valign="top"><em>attr_value</em> </td><td>Int64 value to set attribute to. </td></tr> </table> </dl> </div> </div><p> <a class="anchor" name="e2a4f18e80b03de854a29fc4fbfbcae7"></a><!-- doxytag: member="Gio::FileInfo::set_attribute_object" ref="e2a4f18e80b03de854a29fc4fbfbcae7" args="(const std::string &attribute, const Glib::RefPtr< Glib::Object > &object)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gio::FileInfo::set_attribute_object </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>attribute</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGlib_1_1Object.html">Glib::Object</a>>& </td> <td class="paramname"> <em>object</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Sets the <em>attribute</em> to contain the given <em>attr_value</em>, if possible. <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>attribute</em> </td><td>A file attribute key. </td></tr> <tr><td valign="top"></td><td valign="top"><em>attr_value</em> </td><td>A Object. </td></tr> </table> </dl> </div> </div><p> <a class="anchor" name="c00eda5b1db8e5c7d3a756a43efe47fb"></a><!-- doxytag: member="Gio::FileInfo::clear_status" ref="c00eda5b1db8e5c7d3a756a43efe47fb" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gio::FileInfo::clear_status </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Clears the status information from <em>info</em>. <p> </div> </div><p> <a class="anchor" name="bf62545b515bef26ead386be87750edb"></a><!-- doxytag: member="Gio::FileInfo::get_file_type" ref="bf62545b515bef26ead386be87750edb" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="group__giommEnums.html#g7dcba95023d74c47bba3fd0a07f8824c">FileType</a> Gio::FileInfo::get_file_type </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Gets a file's type (whether it is a regular file, symlink, etc). <p> This is different from the file's content type, see g_file_info_get_content_type(). <dl class="return" compact><dt><b>Returns:</b></dt><dd>A FileType for the given file. </dd></dl> </div> </div><p> <a class="anchor" name="58ec7193682510c1455a6547fcabddb4"></a><!-- doxytag: member="Gio::FileInfo::is_hidden" ref="58ec7193682510c1455a6547fcabddb4" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Gio::FileInfo::is_hidden </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Checks if a file is hidden. <p> <dl class="return" compact><dt><b>Returns:</b></dt><dd><code>true</code> if the file is a hidden file, <code>false</code> otherwise. </dd></dl> </div> </div><p> <a class="anchor" name="0e782dc65b4a048628c35af89bc2b894"></a><!-- doxytag: member="Gio::FileInfo::is_backup" ref="0e782dc65b4a048628c35af89bc2b894" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Gio::FileInfo::is_backup </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Checks if a file is a backup file. <p> <dl class="return" compact><dt><b>Returns:</b></dt><dd><code>true</code> if file is a backup file, <code>false</code> otherwise. </dd></dl> </div> </div><p> <a class="anchor" name="7a7ef1e79deefd16be5fcea5ed00e6d5"></a><!-- doxytag: member="Gio::FileInfo::is_symlink" ref="7a7ef1e79deefd16be5fcea5ed00e6d5" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Gio::FileInfo::is_symlink </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Checks if a file is a symlink. <p> <dl class="return" compact><dt><b>Returns:</b></dt><dd><code>true</code> if the given <em>info</em> is a symlink. </dd></dl> </div> </div><p> <a class="anchor" name="2a237a251dce16850d2365f246e48e4e"></a><!-- doxytag: member="Gio::FileInfo::get_name" ref="2a237a251dce16850d2365f246e48e4e" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><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> Gio::FileInfo::get_name </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Gets the name for a file. <p> <dl class="return" compact><dt><b>Returns:</b></dt><dd>A string containing the file name. </dd></dl> </div> </div><p> <a class="anchor" name="ab26e342861a38ea9cfcd8b52813d655"></a><!-- doxytag: member="Gio::FileInfo::get_display_name" ref="ab26e342861a38ea9cfcd8b52813d655" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><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> Gio::FileInfo::get_display_name </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Gets a display name for a file. <p> <dl class="return" compact><dt><b>Returns:</b></dt><dd>A string containing the display name. </dd></dl> </div> </div><p> <a class="anchor" name="92f5240ac06f5848072e2f43aeb71516"></a><!-- doxytag: member="Gio::FileInfo::get_edit_name" ref="92f5240ac06f5848072e2f43aeb71516" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><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> Gio::FileInfo::get_edit_name </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Gets the edit name for a file. <p> <dl class="return" compact><dt><b>Returns:</b></dt><dd>A string containing the edit name. </dd></dl> </div> </div><p> <a class="anchor" name="d835c26e3252232a437d1013a5ed9aa3"></a><!-- doxytag: member="Gio::FileInfo::get_icon" ref="d835c26e3252232a437d1013a5ed9aa3" args="()" --> <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_1Icon.html">Icon</a>> Gio::FileInfo::get_icon </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Gets the icon for a file. <p> <dl class="return" compact><dt><b>Returns:</b></dt><dd><a class="el" href="classGio_1_1Icon.html" title="This is a very minimal interface for icons.">Icon</a> for the given <em>info</em>. </dd></dl> </div> </div><p> <a class="anchor" name="fa956e081955525b68c5af3f291b7b8c"></a><!-- doxytag: member="Gio::FileInfo::get_icon" ref="fa956e081955525b68c5af3f291b7b8c" 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><const <a class="el" href="classGio_1_1Icon.html">Icon</a>> Gio::FileInfo::get_icon </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Gets the icon for a file. <p> <dl class="return" compact><dt><b>Returns:</b></dt><dd><a class="el" href="classGio_1_1Icon.html" title="This is a very minimal interface for icons.">Icon</a> for the given <em>info</em>. </dd></dl> </div> </div><p> <a class="anchor" name="a67a68ee61c7b43f2051cf8639966e75"></a><!-- doxytag: member="Gio::FileInfo::get_content_type" ref="a67a68ee61c7b43f2051cf8639966e75" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><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> Gio::FileInfo::get_content_type </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Gets the file's content type. <p> <dl class="return" compact><dt><b>Returns:</b></dt><dd>A string containing the file's content type.s. </dd></dl> </div> </div><p> <a class="anchor" name="298f0414de960d56bb5a2bcd951f4900"></a><!-- doxytag: member="Gio::FileInfo::get_size" ref="298f0414de960d56bb5a2bcd951f4900" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">goffset Gio::FileInfo::get_size </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Gets the file's size. <p> <dl class="return" compact><dt><b>Returns:</b></dt><dd>A goffset containing the file's size. </dd></dl> </div> </div><p> <a class="anchor" name="0bb8836539f5a2f4fe61c07e335110c9"></a><!-- doxytag: member="Gio::FileInfo::modification_time" ref="0bb8836539f5a2f4fe61c07e335110c9" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="structGlib_1_1TimeVal.html">Glib::TimeVal</a> Gio::FileInfo::modification_time </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="848a2f85fa4f84c6477e076987d28770"></a><!-- doxytag: member="Gio::FileInfo::get_symlink_target" ref="848a2f85fa4f84c6477e076987d28770" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><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> Gio::FileInfo::get_symlink_target </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Gets the symlink target for a given <a class="el" href="classGio_1_1FileInfo.html" title="FileInfo implements methods for getting information that all files should contain...">FileInfo</a>. <p> <dl class="return" compact><dt><b>Returns:</b></dt><dd>A string containing the symlink target. </dd></dl> </div> </div><p> <a class="anchor" name="aa44913ffe15c029ce09dfe828cf0a0b"></a><!-- doxytag: member="Gio::FileInfo::get_etag" ref="aa44913ffe15c029ce09dfe828cf0a0b" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><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> Gio::FileInfo::get_etag </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Gets the entity tag for a given <a class="el" href="classGio_1_1FileInfo.html" title="FileInfo implements methods for getting information that all files should contain...">FileInfo</a>. <p> See FILE_ATTRIBUTE_ETAG_VALUE. <dl class="return" compact><dt><b>Returns:</b></dt><dd>A string containing the value of the "etag:value" attribute. </dd></dl> </div> </div><p> <a class="anchor" name="6527af61c645715e24863592246545b3"></a><!-- doxytag: member="Gio::FileInfo::get_sort_order" ref="6527af61c645715e24863592246545b3" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">gint32 Gio::FileInfo::get_sort_order </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Gets the value of the sort_order attribute from the <a class="el" href="classGio_1_1FileInfo.html" title="FileInfo implements methods for getting information that all files should contain...">FileInfo</a>. <p> See FILE_ATTRIBUTE_STANDARD_SORT_ORDER. <dl class="return" compact><dt><b>Returns:</b></dt><dd>A gint32 containing the value of the "standard::sort_order" attribute. </dd></dl> </div> </div><p> <a class="anchor" name="dd9025ae3f25e5213ab8fba055a4e09d"></a><!-- doxytag: member="Gio::FileInfo::set_attribute_mask" ref="dd9025ae3f25e5213ab8fba055a4e09d" args="(const Glib::RefPtr< FileAttributeMatcher > &mask)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gio::FileInfo::set_attribute_mask </td> <td>(</td> <td class="paramtype">const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGio_1_1FileAttributeMatcher.html">FileAttributeMatcher</a>>& </td> <td class="paramname"> <em>mask</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Sets <em>mask</em> on <em>info</em> to match specific attribute types. <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>mask</em> </td><td>A <a class="el" href="classGio_1_1FileAttributeMatcher.html" title="FileAttributeMatcher allows for searching through a FileInfo for attributes.">FileAttributeMatcher</a>. </td></tr> </table> </dl> </div> </div><p> <a class="anchor" name="fb9178c888fbf6fd2ef1344bc8523ba3"></a><!-- doxytag: member="Gio::FileInfo::unset_attribute_mask" ref="fb9178c888fbf6fd2ef1344bc8523ba3" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gio::FileInfo::unset_attribute_mask </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Unsets a mask set by g_file_info_set_attribute_mask(), if one is set. <p> </div> </div><p> <a class="anchor" name="b3ceaaaf6112575fd1b9cd6c75112606"></a><!-- doxytag: member="Gio::FileInfo::set_file_type" ref="b3ceaaaf6112575fd1b9cd6c75112606" args="(FileType type)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gio::FileInfo::set_file_type </td> <td>(</td> <td class="paramtype"><a class="el" href="group__giommEnums.html#g7dcba95023d74c47bba3fd0a07f8824c">FileType</a> </td> <td class="paramname"> <em>type</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Sets the file type in a <a class="el" href="classGio_1_1FileInfo.html" title="FileInfo implements methods for getting information that all files should contain...">FileInfo</a> to <em>type</em>. <p> See FILE_ATTRIBUTE_STANDARD_TYPE. <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>type</em> </td><td>A FileType. </td></tr> </table> </dl> </div> </div><p> <a class="anchor" name="f817a5e2d32a2a7d0130c53e4bb3ca72"></a><!-- doxytag: member="Gio::FileInfo::set_is_hidden" ref="f817a5e2d32a2a7d0130c53e4bb3ca72" args="(bool is_hidden=true)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gio::FileInfo::set_is_hidden </td> <td>(</td> <td class="paramtype">bool </td> <td class="paramname"> <em>is_hidden</em> = <code>true</code> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Sets the "is_hidden" attribute in a <a class="el" href="classGio_1_1FileInfo.html" title="FileInfo implements methods for getting information that all files should contain...">FileInfo</a> according to <em>is_symlink</em>. <p> See FILE_ATTRIBUTE_STANDARD_IS_HIDDEN. <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>is_hidden</em> </td><td>A <code>bool</code>. </td></tr> </table> </dl> </div> </div><p> <a class="anchor" name="79304bdfa1e1e5e73f895c896ddf730e"></a><!-- doxytag: member="Gio::FileInfo::set_is_symlink" ref="79304bdfa1e1e5e73f895c896ddf730e" args="(bool is_symlink=true)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gio::FileInfo::set_is_symlink </td> <td>(</td> <td class="paramtype">bool </td> <td class="paramname"> <em>is_symlink</em> = <code>true</code> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Sets the "is_symlink" attribute in a <a class="el" href="classGio_1_1FileInfo.html" title="FileInfo implements methods for getting information that all files should contain...">FileInfo</a> according to <em>is_symlink</em>. <p> See FILE_ATTRIBUTE_STANDARD_IS_SYMLINK. <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>is_symlink</em> </td><td>A <code>bool</code>. </td></tr> </table> </dl> </div> </div><p> <a class="anchor" name="f2430c30058f424bbc71c342fd2e9cda"></a><!-- doxytag: member="Gio::FileInfo::set_name" ref="f2430c30058f424bbc71c342fd2e9cda" args="(const std::string &name)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gio::FileInfo::set_name </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%"></td> </tr> </table> </div> <div class="memdoc"> <p> Sets the name attribute for the current <a class="el" href="classGio_1_1FileInfo.html" title="FileInfo implements methods for getting information that all files should contain...">FileInfo</a>. <p> See FILE_ATTRIBUTE_STANDARD_NAME. <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>A string containing a name. </td></tr> </table> </dl> </div> </div><p> <a class="anchor" name="6c0171f42d0877023cfe574b77359b59"></a><!-- doxytag: member="Gio::FileInfo::set_display_name" ref="6c0171f42d0877023cfe574b77359b59" args="(const std::string &display_name)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gio::FileInfo::set_display_name </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>display_name</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Sets the display name for the current <a class="el" href="classGio_1_1FileInfo.html" title="FileInfo implements methods for getting information that all files should contain...">FileInfo</a>. <p> See FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME. <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>display_name</em> </td><td>A string containing a display name. </td></tr> </table> </dl> </div> </div><p> <a class="anchor" name="0aec971ea570c1946b8e57462e1bc9ce"></a><!-- doxytag: member="Gio::FileInfo::set_edit_name" ref="0aec971ea570c1946b8e57462e1bc9ce" args="(const std::string &edit_name)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gio::FileInfo::set_edit_name </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>edit_name</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Sets the edit name for the current file. <p> See FILE_ATTRIBUTE_STANDARD_EDIT_NAME. <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>edit_name</em> </td><td>A string containing an edit name. </td></tr> </table> </dl> </div> </div><p> <a class="anchor" name="3bd4ac6face055102cd02c679056a16a"></a><!-- doxytag: member="Gio::FileInfo::set_icon" ref="3bd4ac6face055102cd02c679056a16a" args="(const Glib::RefPtr< Icon > &icon)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gio::FileInfo::set_icon </td> <td>(</td> <td class="paramtype">const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGio_1_1Icon.html">Icon</a>>& </td> <td class="paramname"> <em>icon</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Sets the icon for a given <a class="el" href="classGio_1_1FileInfo.html" title="FileInfo implements methods for getting information that all files should contain...">FileInfo</a>. <p> See FILE_ATTRIBUTE_STANDARD_ICON. <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>icon</em> </td><td>A <a class="el" href="classGio_1_1Icon.html" title="This is a very minimal interface for icons.">Icon</a>. </td></tr> </table> </dl> </div> </div><p> <a class="anchor" name="1a07b5776ff1a1a8ed8d942710df5688"></a><!-- doxytag: member="Gio::FileInfo::set_content_type" ref="1a07b5776ff1a1a8ed8d942710df5688" args="(const std::string &content_type)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gio::FileInfo::set_content_type </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>content_type</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Sets the content type attribute for a given <a class="el" href="classGio_1_1FileInfo.html" title="FileInfo implements methods for getting information that all files should contain...">FileInfo</a>. <p> See FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE. <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>content_type</em> </td><td>A content type. See ContentType. </td></tr> </table> </dl> </div> </div><p> <a class="anchor" name="c50fe95ac1dd596d44cd40225af223f5"></a><!-- doxytag: member="Gio::FileInfo::set_size" ref="c50fe95ac1dd596d44cd40225af223f5" args="(goffset size)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gio::FileInfo::set_size </td> <td>(</td> <td class="paramtype">goffset </td> <td class="paramname"> <em>size</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Sets the FILE_ATTRIBUTE_STANDARD_SIZE attribute in the file info to the given size. <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>size</em> </td><td>A goffset containing the file's size. </td></tr> </table> </dl> </div> </div><p> <a class="anchor" name="999893faef31be8d0989415852ec527e"></a><!-- doxytag: member="Gio::FileInfo::set_modification_time" ref="999893faef31be8d0989415852ec527e" args="(const Glib::TimeVal &mtime)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gio::FileInfo::set_modification_time </td> <td>(</td> <td class="paramtype">const <a class="el" href="structGlib_1_1TimeVal.html">Glib::TimeVal</a>& </td> <td class="paramname"> <em>mtime</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Sets the FILE_ATTRIBUTE_TIME_MODIFIED attribute in the file info to the given time value. <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>mtime</em> </td><td>A TimeVal. </td></tr> </table> </dl> </div> </div><p> <a class="anchor" name="f0ca88a17c88c40b58890a68278528c4"></a><!-- doxytag: member="Gio::FileInfo::set_symlink_target" ref="f0ca88a17c88c40b58890a68278528c4" args="(const std::string &symlink_target)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gio::FileInfo::set_symlink_target </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>symlink_target</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Sets the FILE_ATTRIBUTE_STANDARD_SYMLINK_TARGET attribute in the file info to the given symlink target. <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>symlink_target</em> </td><td>A static string containing a path to a symlink target. </td></tr> </table> </dl> </div> </div><p> <a class="anchor" name="fec884c7bd2f655c7a3fe0122dfb4390"></a><!-- doxytag: member="Gio::FileInfo::set_sort_order" ref="fec884c7bd2f655c7a3fe0122dfb4390" args="(gint32 sort_order)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gio::FileInfo::set_sort_order </td> <td>(</td> <td class="paramtype">gint32 </td> <td class="paramname"> <em>sort_order</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Sets the sort order attribute in the file info structure. <p> See FILE_ATTRIBUTE_STANDARD_SORT_ORDER. <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>sort_order</em> </td><td>A sort order integer. </td></tr> </table> </dl> </div> </div><p> <hr><h2>Friends And Related Function Documentation</h2> <a class="anchor" name="a08fd4d65078c227da321348eed9519d"></a><!-- doxytag: member="Gio::FileInfo::wrap" ref="a08fd4d65078c227da321348eed9519d" args="(GFileInfo *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_1FileInfo.html">Gio::FileInfo</a>> wrap </td> <td>(</td> <td class="paramtype">GFileInfo * </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 file:<ul> <li><a class="el" href="fileinfo_8h.html">fileinfo.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>