Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > by-pkgid > 014ec55d90fdad9125af7b65e4977762 > files > 65

gnome-vfsmm2.6-doc-2.22.0-1mdv2008.1.x86_64.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>libgnomevfsmm: Gnome::Vfs::Uri Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.5 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="classes.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="classes.html"><span>Alphabetical&nbsp;List</span></a></li>
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath"><a class="el" href="namespaceGnome.html">Gnome</a>::<a class="el" href="namespaceGnome_1_1Vfs.html">Vfs</a>::<a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a>
  </div>
</div>
<div class="contents">
<h1>Gnome::Vfs::Uri Class Reference</h1><!-- doxytag: class="Gnome::Vfs::Uri" --><code>#include &lt;<a class="el" href="uri_8h-source.html">uri.h</a>&gt;</code>
<p>

<p>
<a href="classGnome_1_1Vfs_1_1Uri-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Vfs_1_1Uri.html#5b28300704312faeddc6de209c4ea452">reference</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Vfs_1_1Uri.html#a7637f6ad7967dcd66366ba6e039fdf9">unreference</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">GnomeVFSURI *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Vfs_1_1Uri.html#c0d90e0acfde966f1d4b32b3ce28f05e">gobj</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Provides access to the underlying C instance.  <a href="#c0d90e0acfde966f1d4b32b3ce28f05e"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">const GnomeVFSURI *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Vfs_1_1Uri.html#c69151c6afce442bc4dd8d1ba79f4340">gobj</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Provides access to the underlying C instance.  <a href="#c69151c6afce442bc4dd8d1ba79f4340"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">GnomeVFSURI *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Vfs_1_1Uri.html#141b5f3a1840b51a3f46d29a66cc995a">gobj_copy</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</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="#141b5f3a1840b51a3f46d29a66cc995a"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">Glib::RefPtr&lt; <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Vfs_1_1Uri.html#ff86b93fcf562183cebe7110a83a58f1">resolve_relative</a> (const Glib::ustring &amp;relative_reference)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Create a new <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a> from <em>relative_reference</em> to this object.  <a href="#ff86b93fcf562183cebe7110a83a58f1"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">Glib::RefPtr&lt; <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Vfs_1_1Uri.html#364de8e78886ecf97c0a8e7092360c2c">append_string</a> (const Glib::ustring &amp;uri_fragment)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Create a new <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a> object by appending <em>uri_fragment</em> to this <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a> object.  <a href="#364de8e78886ecf97c0a8e7092360c2c"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">Glib::RefPtr&lt; <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Vfs_1_1Uri.html#286403eed60dd715b11ba1dc224d3db7">append_path</a> (const Glib::ustring &amp;path)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Create a new <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a> object by appending <em>path</em> to this <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a> object.  <a href="#286403eed60dd715b11ba1dc224d3db7"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">Glib::RefPtr&lt; <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Vfs_1_1Uri.html#692be1630ed422441b392db8950d6bde">append_file_name</a> (const Glib::ustring &amp;filename)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Create a new <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a> object by appending <em>filename</em> to this <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a> object.  <a href="#692be1630ed422441b392db8950d6bde"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">Glib::ustring&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Vfs_1_1Uri.html#86771dc9a75ee204ee7e59605d0ab8ba">to_string</a> (<a class="el" href="group__libgnomevfsmmEnums.html#g2e538034ddbd8257acecde1a164bceec">URIHideOptions</a> hide_options=URI_HIDE_NONE) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Translate this <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a> into a printable string.  <a href="#86771dc9a75ee204ee7e59605d0ab8ba"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">Glib::RefPtr&lt; <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Vfs_1_1Uri.html#7a0c7a5eb212fe8a4e74481ac4632bd0">dup</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Duplicate this <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a>.  <a href="#7a0c7a5eb212fe8a4e74481ac4632bd0"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Vfs_1_1Uri.html#4edc70855249f42188fd09ae63b25d8d">is_local</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Check if this <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a> is a local (native) file system.  <a href="#4edc70855249f42188fd09ae63b25d8d"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Vfs_1_1Uri.html#2b0a3f1f2fb3f2eb2ac487b9d51c60b9">has_parent</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Check if this <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a> has a parent or not.  <a href="#2b0a3f1f2fb3f2eb2ac487b9d51c60b9"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">Glib::RefPtr&lt; <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Vfs_1_1Uri.html#299e8a37412f7b7183dab4ec3ccb05b6">get_parent</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retrieve this object's parent <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a>.  <a href="#299e8a37412f7b7183dab4ec3ccb05b6"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">Glib::RefPtr&lt; const <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Vfs_1_1Uri.html#46bfcd21d973c1b0ee6c90db9e07ff7b">get_parent</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retrieve this object's parent <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a>.  <a href="#46bfcd21d973c1b0ee6c90db9e07ff7b"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">Glib::ustring&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Vfs_1_1Uri.html#6b323307a9142333491894d209792758">get_host_name</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retrieve this object's host name.  <a href="#6b323307a9142333491894d209792758"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">Glib::ustring&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Vfs_1_1Uri.html#4a0b765a24fe429ceafb2ce7f05d9450">get_scheme</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retrieve this object's scheme.  <a href="#4a0b765a24fe429ceafb2ce7f05d9450"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">guint&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Vfs_1_1Uri.html#a2c30671089e8fd2e904ac21ae2f400e">get_host_port</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retrieve this object's host port number.  <a href="#a2c30671089e8fd2e904ac21ae2f400e"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">Glib::ustring&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Vfs_1_1Uri.html#83010f1bd230c5e92ddaf877dac9bcf5">get_user_name</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retrieve the user name in this object.  <a href="#83010f1bd230c5e92ddaf877dac9bcf5"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">Glib::ustring&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Vfs_1_1Uri.html#284edc41f5425fb80a2409c7d8aac61e">get_password</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retrieve the password for this object.  <a href="#284edc41f5425fb80a2409c7d8aac61e"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Vfs_1_1Uri.html#d1632ba3b07477500307cc21c77b4962">set_host_name</a> (const Glib::ustring &amp;host_name)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set <em>host_name</em> as the host name accessed by this <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a>.  <a href="#d1632ba3b07477500307cc21c77b4962"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Vfs_1_1Uri.html#3e95040b2fd0fa9107932b29f9478fcd">set_host_port</a> (guint host_port)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the host port number in this <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a>.  <a href="#3e95040b2fd0fa9107932b29f9478fcd"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Vfs_1_1Uri.html#5a983205594d53763a8da1a79edd79c6">set_user_name</a> (const Glib::ustring &amp;user_name)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set <em>user_name</em> as the user name for this <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a>.  <a href="#5a983205594d53763a8da1a79edd79c6"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Vfs_1_1Uri.html#2daa94e19da8472683a3fbe8a5e8c02a">set_password</a> (const Glib::ustring &amp;password)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set <em>password</em> as the password for this <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a>.  <a href="#2daa94e19da8472683a3fbe8a5e8c02a"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Vfs_1_1Uri.html#c4d16376ca9934df69f705c5971e937e">equal</a> (const Glib::RefPtr&lt; const <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a> &gt; &amp;uri) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Compare <em>a</em> and <em>b</em> .  <a href="#c4d16376ca9934df69f705c5971e937e"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Vfs_1_1Uri.html#f05c86cabb56bf4ad3e6669627dae28f">is_parent</a> (const Glib::RefPtr&lt; const <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a> &gt; &amp;possible_child, bool recursive=true) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Check if <em>possible_child</em> is contained by this <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a>.  <a href="#f05c86cabb56bf4ad3e6669627dae28f"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">Glib::ustring&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Vfs_1_1Uri.html#4615970f5dff597fe1d6661a4eb308b0">get_path</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retrieve full path name for this <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a>.  <a href="#4615970f5dff597fe1d6661a4eb308b0"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">Glib::ustring&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Vfs_1_1Uri.html#af307f13d68c8f90a50f7bea2eb4c690">get_fragment_identifier</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retrieve the optional fragment identifier for this <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a>.  <a href="#af307f13d68c8f90a50f7bea2eb4c690"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">Glib::ustring&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Vfs_1_1Uri.html#2b474f8e621abc2155c6a654220c9f88">extract_dirname</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Extract the name of the directory in which the file pointed to by this <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a> is stored as a new string.  <a href="#2b474f8e621abc2155c6a654220c9f88"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">Glib::ustring&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Vfs_1_1Uri.html#bc7ca5c19c34be0d5f1690f791232789">extract_short_name</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retrieve base file name for this <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a>, ignoring any trailing path separators.  <a href="#bc7ca5c19c34be0d5f1690f791232789"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">Glib::ustring&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Vfs_1_1Uri.html#52e145beddd8ac5eae2e9ae67234b3e1">extract_short_path_name</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retrieve base file name for this <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a>, ignoring any trailing path separators.  <a href="#52e145beddd8ac5eae2e9ae67234b3e1"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">Glib::RefPtr&lt; <a class="el" href="classGnome_1_1Vfs_1_1FileInfo.html">FileInfo</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Vfs_1_1Uri.html#8dd66163905da8f9fcca28427d3a54e3">get_file_info</a> (<a class="el" href="group__libgnomevfsmmEnums.html#g169841389391d136dcf6dd2e542a1556">FileInfoOptions</a> options=FILE_INFO_DEFAULT) const   throw (exception)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retrieve the file info for this <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a>.  <a href="#8dd66163905da8f9fcca28427d3a54e3"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Vfs_1_1Uri.html#c6f0bdf38cbcdebadfbe07f78232ab7c">create_symbolic_link</a> (const Glib::ustring &amp;target_reference)  throw (exception)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Creates a symbolic link from this <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a> to <em>target_reference</em>.  <a href="#c6f0bdf38cbcdebadfbe07f78232ab7c"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Vfs_1_1Uri.html#28798e22f380f07211b8df6edcd516f8">uri_exists</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Check if this <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a> points to an existing entity.  <a href="#28798e22f380f07211b8df6edcd516f8"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="namespaceGnome_1_1Vfs.html#46d71f215c684f228c1cd6b96145dbf3">FileSize</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Vfs_1_1Uri.html#ecb33ee39adeada1caf73ad0f0714309">get_volume_free_space</a> () const   throw (exception)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This only works for URIs with the file: scheme.  <a href="#ecb33ee39adeada1caf73ad0f0714309"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static Glib::RefPtr&lt; <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Vfs_1_1Uri.html#e2993d867d5842eb506f44f479c92eaf">create</a> (const Glib::ustring &amp;uri)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Create a new <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a> from the text string <em>uri</em>.  <a href="#e2993d867d5842eb506f44f479c92eaf"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static Glib::ustring&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Vfs_1_1Uri.html#e26f44513baef1ba5721837a5cdd273c">make_full_from_relative</a> (const Glib::ustring &amp;base_uri, const Glib::ustring &amp;relative_uri)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns a full <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a> given a full base URI, and a secondary URI which may be relative.  <a href="#e26f44513baef1ba5721837a5cdd273c"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static Glib::ustring&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Vfs_1_1Uri.html#7bd48e980033c82eed8f918923ac3539">format_for_display</a> (const Glib::ustring &amp;uri)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Filter, modify, unescape and change URIs to make them appropriate to display to users.  <a href="#7bd48e980033c82eed8f918923ac3539"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static Glib::ustring&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Vfs_1_1Uri.html#d37bb07ee02d469c74739eed07ca4ce4">make_from_input</a> (const Glib::ustring &amp;uri)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Takes a user input path/URI and makes a valid URI out of it.  <a href="#d37bb07ee02d469c74739eed07ca4ce4"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static Glib::ustring&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Vfs_1_1Uri.html#ab056698e93fe643723936c5b8ab64a8">make_from_input</a> (const Glib::ustring &amp;uri, <a class="el" href="group__libgnomevfsmmEnums.html#gdb988818708d58d1a8dd0256429ac3b3">MakeURIDirs</a> dirs)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static Glib::ustring&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Vfs_1_1Uri.html#51717b01d1305acc6a17a65ebe4fa331">make_canonical_strip_fragment</a> (const Glib::ustring &amp;uri)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">If the <em>uri</em> passed contains a fragment (anything after a '#') strips if, then makes the URI canonical.  <a href="#51717b01d1305acc6a17a65ebe4fa331"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Vfs_1_1Uri.html#2babf339f9a7a76a26c49b282e44377e">uris_match</a> (const Glib::ustring &amp;uri_1, const Glib::ustring &amp;uri_2)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Compare two URIs.  <a href="#2babf339f9a7a76a26c49b282e44377e"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static Glib::ustring&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Vfs_1_1Uri.html#28209bd3dbf2d052e867067d1452bc0f">get_scheme</a> (const Glib::ustring &amp;uri)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retrieve the scheme used in <em>uri</em>.  <a href="#28209bd3dbf2d052e867067d1452bc0f"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static Glib::ustring&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Vfs_1_1Uri.html#2b1fc72b405c6f9c58b9e7a9c44520e4">make_from_shell_arg</a> (const Glib::ustring &amp;uri)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Similar to gnome_vfs_make_uri_from_input, except that:.  <a href="#2b1fc72b405c6f9c58b9e7a9c44520e4"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Vfs_1_1Uri.html#b75a7b465a4bdd3b2982c03260e22686">Uri</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Vfs_1_1Uri.html#32198eaecb34ef75956021bd9f574142">operator delete</a> (void *, size_t)</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">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Vfs_1_1Uri.html#78855dcbcf465652e90f64259393acde">operator==</a> (const <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a> &amp;lhs, const <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a> &amp;rhs)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Vfs_1_1Uri.html#0e3b314d2835d0963045bcaaf1ffdba6">operator!=</a> (const <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a> &amp;lhs, const <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a> &amp;rhs)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">Glib::RefPtr&lt; <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Gnome::Vfs::Uri</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Vfs_1_1Uri.html#bf1005e7ece1acfb75e62ae851e20b84">wrap</a> (GnomeVFSURI *object, bool take_copy=false)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">A Glib::wrap() method for this object.  <a href="#bf1005e7ece1acfb75e62ae851e20b84"></a><br></td></tr>
</table>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="b75a7b465a4bdd3b2982c03260e22686"></a><!-- doxytag: member="Gnome::Vfs::Uri::Uri" ref="b75a7b465a4bdd3b2982c03260e22686" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Gnome::Vfs::Uri::Uri           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="5b28300704312faeddc6de209c4ea452"></a><!-- doxytag: member="Gnome::Vfs::Uri::reference" ref="5b28300704312faeddc6de209c4ea452" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gnome::Vfs::Uri::reference           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="a7637f6ad7967dcd66366ba6e039fdf9"></a><!-- doxytag: member="Gnome::Vfs::Uri::unreference" ref="a7637f6ad7967dcd66366ba6e039fdf9" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gnome::Vfs::Uri::unreference           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="c0d90e0acfde966f1d4b32b3ce28f05e"></a><!-- doxytag: member="Gnome::Vfs::Uri::gobj" ref="c0d90e0acfde966f1d4b32b3ce28f05e" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GnomeVFSURI* Gnome::Vfs::Uri::gobj           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Provides access to the underlying C instance. 
<p>

</div>
</div><p>
<a class="anchor" name="c69151c6afce442bc4dd8d1ba79f4340"></a><!-- doxytag: member="Gnome::Vfs::Uri::gobj" ref="c69151c6afce442bc4dd8d1ba79f4340" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const GnomeVFSURI* Gnome::Vfs::Uri::gobj           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Provides access to the underlying C instance. 
<p>

</div>
</div><p>
<a class="anchor" name="141b5f3a1840b51a3f46d29a66cc995a"></a><!-- doxytag: member="Gnome::Vfs::Uri::gobj_copy" ref="141b5f3a1840b51a3f46d29a66cc995a" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GnomeVFSURI* Gnome::Vfs::Uri::gobj_copy           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. 
<p>

</div>
</div><p>
<a class="anchor" name="32198eaecb34ef75956021bd9f574142"></a><!-- doxytag: member="Gnome::Vfs::Uri::operator delete" ref="32198eaecb34ef75956021bd9f574142" args="(void *, size_t)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gnome::Vfs::Uri::operator delete           </td>
          <td>(</td>
          <td class="paramtype">void *&nbsp;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&nbsp;</td>
          <td class="paramname"></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="e2993d867d5842eb506f44f479c92eaf"></a><!-- doxytag: member="Gnome::Vfs::Uri::create" ref="e2993d867d5842eb506f44f479c92eaf" args="(const Glib::ustring &amp;uri)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static Glib::RefPtr&lt;<a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a>&gt; Gnome::Vfs::Uri::create           </td>
          <td>(</td>
          <td class="paramtype">const Glib::ustring &amp;&nbsp;</td>
          <td class="paramname"> <em>uri</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Create a new <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a> from the text string <em>uri</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>uri</em>&nbsp;</td><td>A string representing a URI. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The new <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a>. </dd></dl>

</div>
</div><p>
<a class="anchor" name="ff86b93fcf562183cebe7110a83a58f1"></a><!-- doxytag: member="Gnome::Vfs::Uri::resolve_relative" ref="ff86b93fcf562183cebe7110a83a58f1" args="(const Glib::ustring &amp;relative_reference)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Glib::RefPtr&lt;<a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a>&gt; Gnome::Vfs::Uri::resolve_relative           </td>
          <td>(</td>
          <td class="paramtype">const Glib::ustring &amp;&nbsp;</td>
          <td class="paramname"> <em>relative_reference</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Create a new <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a> from <em>relative_reference</em> to 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>relative_reference</em>&nbsp;</td><td>A string representing a possibly relative URI reference. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The new <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a>. </dd></dl>

</div>
</div><p>
<a class="anchor" name="364de8e78886ecf97c0a8e7092360c2c"></a><!-- doxytag: member="Gnome::Vfs::Uri::append_string" ref="364de8e78886ecf97c0a8e7092360c2c" args="(const Glib::ustring &amp;uri_fragment)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Glib::RefPtr&lt;<a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a>&gt; Gnome::Vfs::Uri::append_string           </td>
          <td>(</td>
          <td class="paramtype">const Glib::ustring &amp;&nbsp;</td>
          <td class="paramname"> <em>uri_fragment</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Create a new <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a> object by appending <em>uri_fragment</em> to this <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a> object. 
<p>
This takes care of adding an appropriate directory separator between the end of the <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a> and the start of <em>uri_fragment</em> if necessary. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>uri_fragment</em>&nbsp;</td><td>A piece of a <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a> (ie a fully escaped partial path). </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The new <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a> obtained by combining this object and <em>uri_fragment</em> . </dd></dl>

</div>
</div><p>
<a class="anchor" name="286403eed60dd715b11ba1dc224d3db7"></a><!-- doxytag: member="Gnome::Vfs::Uri::append_path" ref="286403eed60dd715b11ba1dc224d3db7" args="(const Glib::ustring &amp;path)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Glib::RefPtr&lt;<a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a>&gt; Gnome::Vfs::Uri::append_path           </td>
          <td>(</td>
          <td class="paramtype">const Glib::ustring &amp;&nbsp;</td>
          <td class="paramname"> <em>path</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Create a new <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a> object by appending <em>path</em> to this <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a> object. 
<p>
This takes care of adding an appropriate directory separator between the end of the <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a> and the start of <em>path</em> if necessary. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>path</em>&nbsp;</td><td>A non-escaped file path. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The new <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a> obtained by combining this object and <em>path</em> . </dd></dl>

</div>
</div><p>
<a class="anchor" name="692be1630ed422441b392db8950d6bde"></a><!-- doxytag: member="Gnome::Vfs::Uri::append_file_name" ref="692be1630ed422441b392db8950d6bde" args="(const Glib::ustring &amp;filename)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Glib::RefPtr&lt;<a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a>&gt; Gnome::Vfs::Uri::append_file_name           </td>
          <td>(</td>
          <td class="paramtype">const Glib::ustring &amp;&nbsp;</td>
          <td class="paramname"> <em>filename</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Create a new <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a> object by appending <em>filename</em> to this <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a> object. 
<p>
This takes care of adding an appropriate directory separator between the end of the <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a> and the start of <em>filename</em> if necessary. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>filename</em>&nbsp;</td><td>Any "regular" file name (can include #, /, etc). </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The new <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a> obtained by combining this object and <em>filename</em> . </dd></dl>

</div>
</div><p>
<a class="anchor" name="86771dc9a75ee204ee7e59605d0ab8ba"></a><!-- doxytag: member="Gnome::Vfs::Uri::to_string" ref="86771dc9a75ee204ee7e59605d0ab8ba" args="(URIHideOptions hide_options=URI_HIDE_NONE) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Glib::ustring Gnome::Vfs::Uri::to_string           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__libgnomevfsmmEnums.html#g2e538034ddbd8257acecde1a164bceec">URIHideOptions</a>&nbsp;</td>
          <td class="paramname"> <em>hide_options</em> = <code>URI_HIDE_NONE</code>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Translate this <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a> into a printable string. 
<p>
The string will not contain the <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a> elements specified by <em>hide_options</em> . <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hide_options</em>&nbsp;</td><td>Bitmask specifying what URI elements (e.g. password, user name etc.) should NOT be represented in the returned string. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A Glib::ustring representing this <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a>. </dd></dl>

</div>
</div><p>
<a class="anchor" name="7a0c7a5eb212fe8a4e74481ac4632bd0"></a><!-- doxytag: member="Gnome::Vfs::Uri::dup" ref="7a0c7a5eb212fe8a4e74481ac4632bd0" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Glib::RefPtr&lt;<a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a>&gt; Gnome::Vfs::Uri::dup           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Duplicate this <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a>. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A Glib::RefPtr to a new <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a> that is exactly the same as this object. </dd></dl>

</div>
</div><p>
<a class="anchor" name="4edc70855249f42188fd09ae63b25d8d"></a><!-- doxytag: member="Gnome::Vfs::Uri::is_local" ref="4edc70855249f42188fd09ae63b25d8d" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gnome::Vfs::Uri::is_local           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Check if this <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a> is a local (native) file system. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd><code>false</code> if uri is not a local file system, <code>true</code> otherwise. </dd></dl>

</div>
</div><p>
<a class="anchor" name="2b0a3f1f2fb3f2eb2ac487b9d51c60b9"></a><!-- doxytag: member="Gnome::Vfs::Uri::has_parent" ref="2b0a3f1f2fb3f2eb2ac487b9d51c60b9" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gnome::Vfs::Uri::has_parent           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Check if this <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a> has a parent or not. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd><code>true</code> if this <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a> has a parent, <code>false</code> otherwise. </dd></dl>

</div>
</div><p>
<a class="anchor" name="299e8a37412f7b7183dab4ec3ccb05b6"></a><!-- doxytag: member="Gnome::Vfs::Uri::get_parent" ref="299e8a37412f7b7183dab4ec3ccb05b6" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Glib::RefPtr&lt;<a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a>&gt; Gnome::Vfs::Uri::get_parent           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Retrieve this object's parent <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a>. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A Glib::RefPtr to this object's parent <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a>. </dd></dl>

</div>
</div><p>
<a class="anchor" name="46bfcd21d973c1b0ee6c90db9e07ff7b"></a><!-- doxytag: member="Gnome::Vfs::Uri::get_parent" ref="46bfcd21d973c1b0ee6c90db9e07ff7b" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Glib::RefPtr&lt;const <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a>&gt; Gnome::Vfs::Uri::get_parent           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Retrieve this object's parent <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a>. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A Glib::RefPtr to this object's parent <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a>. </dd></dl>

</div>
</div><p>
<a class="anchor" name="6b323307a9142333491894d209792758"></a><!-- doxytag: member="Gnome::Vfs::Uri::get_host_name" ref="6b323307a9142333491894d209792758" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Glib::ustring Gnome::Vfs::Uri::get_host_name           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Retrieve this object's host name. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A string representing the host name. </dd></dl>

</div>
</div><p>
<a class="anchor" name="4a0b765a24fe429ceafb2ce7f05d9450"></a><!-- doxytag: member="Gnome::Vfs::Uri::get_scheme" ref="4a0b765a24fe429ceafb2ce7f05d9450" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Glib::ustring Gnome::Vfs::Uri::get_scheme           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Retrieve this object's scheme. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A string representing the scheme. </dd></dl>

</div>
</div><p>
<a class="anchor" name="a2c30671089e8fd2e904ac21ae2f400e"></a><!-- doxytag: member="Gnome::Vfs::Uri::get_host_port" ref="a2c30671089e8fd2e904ac21ae2f400e" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">guint Gnome::Vfs::Uri::get_host_port           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Retrieve this object's host port number. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The host port number used by this object. If the value is zero, the default port value for the specified toplevel access method is used. </dd></dl>

</div>
</div><p>
<a class="anchor" name="83010f1bd230c5e92ddaf877dac9bcf5"></a><!-- doxytag: member="Gnome::Vfs::Uri::get_user_name" ref="83010f1bd230c5e92ddaf877dac9bcf5" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Glib::ustring Gnome::Vfs::Uri::get_user_name           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Retrieve the user name in this object. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A string representing the user name in this <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a>. </dd></dl>

</div>
</div><p>
<a class="anchor" name="284edc41f5425fb80a2409c7d8aac61e"></a><!-- doxytag: member="Gnome::Vfs::Uri::get_password" ref="284edc41f5425fb80a2409c7d8aac61e" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Glib::ustring Gnome::Vfs::Uri::get_password           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Retrieve the password for this object. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The password for this <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a>. </dd></dl>

</div>
</div><p>
<a class="anchor" name="d1632ba3b07477500307cc21c77b4962"></a><!-- doxytag: member="Gnome::Vfs::Uri::set_host_name" ref="d1632ba3b07477500307cc21c77b4962" args="(const Glib::ustring &amp;host_name)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gnome::Vfs::Uri::set_host_name           </td>
          <td>(</td>
          <td class="paramtype">const Glib::ustring &amp;&nbsp;</td>
          <td class="paramname"> <em>host_name</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set <em>host_name</em> as the host name accessed by this <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a>. 
<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>host_name</em>&nbsp;</td><td>A string representing a host name. </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="3e95040b2fd0fa9107932b29f9478fcd"></a><!-- doxytag: member="Gnome::Vfs::Uri::set_host_port" ref="3e95040b2fd0fa9107932b29f9478fcd" args="(guint host_port)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gnome::Vfs::Uri::set_host_port           </td>
          <td>(</td>
          <td class="paramtype">guint&nbsp;</td>
          <td class="paramname"> <em>host_port</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set the host port number in this <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a>. 
<p>
If <em>host_port</em> is zero, the default port for this object's toplevel access method is used. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>host_port</em>&nbsp;</td><td>A TCP/IP port number. </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="5a983205594d53763a8da1a79edd79c6"></a><!-- doxytag: member="Gnome::Vfs::Uri::set_user_name" ref="5a983205594d53763a8da1a79edd79c6" args="(const Glib::ustring &amp;user_name)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gnome::Vfs::Uri::set_user_name           </td>
          <td>(</td>
          <td class="paramtype">const Glib::ustring &amp;&nbsp;</td>
          <td class="paramname"> <em>user_name</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set <em>user_name</em> as the user name for this <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a>. 
<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>user_name</em>&nbsp;</td><td>A string representing a user name on the host accessed by this object. </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="2daa94e19da8472683a3fbe8a5e8c02a"></a><!-- doxytag: member="Gnome::Vfs::Uri::set_password" ref="2daa94e19da8472683a3fbe8a5e8c02a" args="(const Glib::ustring &amp;password)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gnome::Vfs::Uri::set_password           </td>
          <td>(</td>
          <td class="paramtype">const Glib::ustring &amp;&nbsp;</td>
          <td class="paramname"> <em>password</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set <em>password</em> as the password for this <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a>. 
<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>password</em>&nbsp;</td><td>A password string. </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="c4d16376ca9934df69f705c5971e937e"></a><!-- doxytag: member="Gnome::Vfs::Uri::equal" ref="c4d16376ca9934df69f705c5971e937e" args="(const Glib::RefPtr&lt; const Uri &gt; &amp;uri) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gnome::Vfs::Uri::equal           </td>
          <td>(</td>
          <td class="paramtype">const Glib::RefPtr&lt; const <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a> &gt; &amp;&nbsp;</td>
          <td class="paramname"> <em>uri</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Compare <em>a</em> and <em>b</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>b</em>&nbsp;</td><td>A GnomeVFSURI. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd><code>true</code> if <em>a</em> and <em>b</em> are equal, <code>false</code> otherwise.</dd></dl>
FIXME: This comparison should take into account the possiblity that unreserved characters may be escaped. ...or perhaps gnome_vfs_uri_new should unescape unreserved characters?. 
</div>
</div><p>
<a class="anchor" name="f05c86cabb56bf4ad3e6669627dae28f"></a><!-- doxytag: member="Gnome::Vfs::Uri::is_parent" ref="f05c86cabb56bf4ad3e6669627dae28f" args="(const Glib::RefPtr&lt; const Uri &gt; &amp;possible_child, bool recursive=true) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gnome::Vfs::Uri::is_parent           </td>
          <td>(</td>
          <td class="paramtype">const Glib::RefPtr&lt; const <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a> &gt; &amp;&nbsp;</td>
          <td class="paramname"> <em>possible_child</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>recursive</em> = <code>true</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Check if <em>possible_child</em> is contained by this <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a>. 
<p>
If <em>recursive</em> is <code>false</code>, just try the immediate parent directory, else search up through the hierarchy. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>possible_child</em>&nbsp;</td><td>A Glib::RefPtr to the <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a> to test. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>recursive</em>&nbsp;</td><td>A flag to turn recursive check on. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd><code>true</code> if <em>possible_child</em> is contained in this <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a>. </dd></dl>

</div>
</div><p>
<a class="anchor" name="4615970f5dff597fe1d6661a4eb308b0"></a><!-- doxytag: member="Gnome::Vfs::Uri::get_path" ref="4615970f5dff597fe1d6661a4eb308b0" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Glib::ustring Gnome::Vfs::Uri::get_path           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Retrieve full path name for this <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a>. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A string representing the full path of this object. </dd></dl>

</div>
</div><p>
<a class="anchor" name="af307f13d68c8f90a50f7bea2eb4c690"></a><!-- doxytag: member="Gnome::Vfs::Uri::get_fragment_identifier" ref="af307f13d68c8f90a50f7bea2eb4c690" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Glib::ustring Gnome::Vfs::Uri::get_fragment_identifier           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Retrieve the optional fragment identifier for this <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a>. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A string representing the fragment identifier for this <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a>, or <code>0</code>. </dd></dl>

</div>
</div><p>
<a class="anchor" name="2b474f8e621abc2155c6a654220c9f88"></a><!-- doxytag: member="Gnome::Vfs::Uri::extract_dirname" ref="2b474f8e621abc2155c6a654220c9f88" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Glib::ustring Gnome::Vfs::Uri::extract_dirname           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Extract the name of the directory in which the file pointed to by this <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a> is stored as a new string. 
<p>
The string will end with a GNOME_VFS_URI_PATH_CHR. <dl class="return" compact><dt><b>Returns:</b></dt><dd>A string representing the parent directory. </dd></dl>

</div>
</div><p>
<a class="anchor" name="bc7ca5c19c34be0d5f1690f791232789"></a><!-- doxytag: member="Gnome::Vfs::Uri::extract_short_name" ref="bc7ca5c19c34be0d5f1690f791232789" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Glib::ustring Gnome::Vfs::Uri::extract_short_name           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Retrieve base file name for this <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a>, ignoring any trailing path separators. 
<p>
This matches the XPG definition of basename, but not g_basename. This is often useful when you want the name of something that is pointed to by a <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a>, and don't care whether the uri has a directory or file form. If this <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a> points to the root of a domain, this method returns the host name; if there's no host name, returns GNOME_VFS_URI_PATH_STR.<p>
See also: extract_short_path_name. <dl class="return" compact><dt><b>Returns:</b></dt><dd>A string representing the unescaped short form of the name. </dd></dl>

</div>
</div><p>
<a class="anchor" name="52e145beddd8ac5eae2e9ae67234b3e1"></a><!-- doxytag: member="Gnome::Vfs::Uri::extract_short_path_name" ref="52e145beddd8ac5eae2e9ae67234b3e1" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Glib::ustring Gnome::Vfs::Uri::extract_short_path_name           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Retrieve base file name for this <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a>, ignoring any trailing path separators. 
<p>
This matches the XPG definition of basename, but not g_basename. This is often useful when you want the name of something that is pointed to by a <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a>, and don't care whether the uri has a directory or file form. If this <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a> points to the root (including the root of any domain), this method returns GNOME_VFS_URI_PATH_STR.<p>
See also: extract_short_name. <dl class="return" compact><dt><b>Returns:</b></dt><dd>A string representing the escaped short form of the name. </dd></dl>

</div>
</div><p>
<a class="anchor" name="e26f44513baef1ba5721837a5cdd273c"></a><!-- doxytag: member="Gnome::Vfs::Uri::make_full_from_relative" ref="e26f44513baef1ba5721837a5cdd273c" args="(const Glib::ustring &amp;base_uri, const Glib::ustring &amp;relative_uri)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static Glib::ustring Gnome::Vfs::Uri::make_full_from_relative           </td>
          <td>(</td>
          <td class="paramtype">const Glib::ustring &amp;&nbsp;</td>
          <td class="paramname"> <em>base_uri</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const Glib::ustring &amp;&nbsp;</td>
          <td class="paramname"> <em>relative_uri</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns a full <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a> given a full base URI, and a secondary URI which may be relative. 
<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>base_uri</em>&nbsp;</td><td>A string representing the base URI. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>relative_uri</em>&nbsp;</td><td>A URI fragment/reference to be appended to <em>base_uri</em> . </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A string containing the URI (<code>0</code> for some bad errors). </dd></dl>

</div>
</div><p>
<a class="anchor" name="7bd48e980033c82eed8f918923ac3539"></a><!-- doxytag: member="Gnome::Vfs::Uri::format_for_display" ref="7bd48e980033c82eed8f918923ac3539" args="(const Glib::ustring &amp;uri)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static Glib::ustring Gnome::Vfs::Uri::format_for_display           </td>
          <td>(</td>
          <td class="paramtype">const Glib::ustring &amp;&nbsp;</td>
          <td class="paramname"> <em>uri</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Filter, modify, unescape and change URIs to make them appropriate to display to users. 
<p>
The conversion is done such that the roundtrip to UTF-8 is reversible.<p>
Rules: file: URI's without fragments should appear as local paths file: URI's with fragments should appear as file: URI's All other URI's appear as expected<p>
<em>uri</em> : a URI <dl class="return" compact><dt><b>Returns:</b></dt><dd>A newly allocated UTF-8 string</dd></dl>
. 
</div>
</div><p>
<a class="anchor" name="d37bb07ee02d469c74739eed07ca4ce4"></a><!-- doxytag: member="Gnome::Vfs::Uri::make_from_input" ref="d37bb07ee02d469c74739eed07ca4ce4" args="(const Glib::ustring &amp;uri)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static Glib::ustring Gnome::Vfs::Uri::make_from_input           </td>
          <td>(</td>
          <td class="paramtype">const Glib::ustring &amp;&nbsp;</td>
          <td class="paramname"> <em>uri</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Takes a user input path/URI and makes a valid URI out of it. 
<p>
This function is the reverse of gnome_vfs_format_uri_for_display but it also handles the fact that the user could have typed arbitrary UTF8 in the entry showing the string. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>location</em>&nbsp;</td><td>A possibly mangled "uri", in UTF8. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A newly allocated uri.</dd></dl>
. 
</div>
</div><p>
<a class="anchor" name="ab056698e93fe643723936c5b8ab64a8"></a><!-- doxytag: member="Gnome::Vfs::Uri::make_from_input" ref="ab056698e93fe643723936c5b8ab64a8" args="(const Glib::ustring &amp;uri, MakeURIDirs dirs)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static Glib::ustring Gnome::Vfs::Uri::make_from_input           </td>
          <td>(</td>
          <td class="paramtype">const Glib::ustring &amp;&nbsp;</td>
          <td class="paramname"> <em>uri</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__libgnomevfsmmEnums.html#gdb988818708d58d1a8dd0256429ac3b3">MakeURIDirs</a>&nbsp;</td>
          <td class="paramname"> <em>dirs</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="51717b01d1305acc6a17a65ebe4fa331"></a><!-- doxytag: member="Gnome::Vfs::Uri::make_canonical_strip_fragment" ref="51717b01d1305acc6a17a65ebe4fa331" args="(const Glib::ustring &amp;uri)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static Glib::ustring Gnome::Vfs::Uri::make_canonical_strip_fragment           </td>
          <td>(</td>
          <td class="paramtype">const Glib::ustring &amp;&nbsp;</td>
          <td class="paramname"> <em>uri</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
If the <em>uri</em> passed contains a fragment (anything after a '#') strips if, then makes the URI canonical. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A newly allocated string containing a canonical URI.</dd></dl>
. 
</div>
</div><p>
<a class="anchor" name="2babf339f9a7a76a26c49b282e44377e"></a><!-- doxytag: member="Gnome::Vfs::Uri::uris_match" ref="2babf339f9a7a76a26c49b282e44377e" args="(const Glib::ustring &amp;uri_1, const Glib::ustring &amp;uri_2)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static bool Gnome::Vfs::Uri::uris_match           </td>
          <td>(</td>
          <td class="paramtype">const Glib::ustring &amp;&nbsp;</td>
          <td class="paramname"> <em>uri_1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const Glib::ustring &amp;&nbsp;</td>
          <td class="paramname"> <em>uri_2</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Compare two URIs. 
<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>uri_1</em>&nbsp;</td><td>Stringified URI to compare with <em>uri_2</em> . </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>uri_2</em>&nbsp;</td><td>Stringified URI to compare with <em>uri_1</em> . </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd><code>true</code> if they are the same, <code>false</code> otherwise.</dd></dl>
. 
</div>
</div><p>
<a class="anchor" name="28209bd3dbf2d052e867067d1452bc0f"></a><!-- doxytag: member="Gnome::Vfs::Uri::get_scheme" ref="28209bd3dbf2d052e867067d1452bc0f" args="(const Glib::ustring &amp;uri)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static Glib::ustring Gnome::Vfs::Uri::get_scheme           </td>
          <td>(</td>
          <td class="paramtype">const Glib::ustring &amp;&nbsp;</td>
          <td class="paramname"> <em>uri</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Retrieve the scheme used in <em>uri</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>uri</em>&nbsp;</td><td>A stringified URI. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A string containing the scheme</dd></dl>
. 
</div>
</div><p>
<a class="anchor" name="2b1fc72b405c6f9c58b9e7a9c44520e4"></a><!-- doxytag: member="Gnome::Vfs::Uri::make_from_shell_arg" ref="2b1fc72b405c6f9c58b9e7a9c44520e4" args="(const Glib::ustring &amp;uri)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static Glib::ustring Gnome::Vfs::Uri::make_from_shell_arg           </td>
          <td>(</td>
          <td class="paramtype">const Glib::ustring &amp;&nbsp;</td>
          <td class="paramname"> <em>uri</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Similar to gnome_vfs_make_uri_from_input, except that:. 
<p>
1) guesses relative paths instead of http domains 2) doesn't bother stripping leading/trailing white space 3) doesn't bother with ~ expansion--that's done by the shell <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>location</em>&nbsp;</td><td>A possibly mangled "uri". </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A newly allocated uri</dd></dl>
. 
</div>
</div><p>
<a class="anchor" name="8dd66163905da8f9fcca28427d3a54e3"></a><!-- doxytag: member="Gnome::Vfs::Uri::get_file_info" ref="8dd66163905da8f9fcca28427d3a54e3" args="(FileInfoOptions options=FILE_INFO_DEFAULT) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Glib::RefPtr&lt;<a class="el" href="classGnome_1_1Vfs_1_1FileInfo.html">FileInfo</a>&gt; Gnome::Vfs::Uri::get_file_info           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__libgnomevfsmmEnums.html#g169841389391d136dcf6dd2e542a1556">FileInfoOptions</a>&nbsp;</td>
          <td class="paramname"> <em>options</em> = <code>FILE_INFO_DEFAULT</code>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const  throw (<a class="el" href="classGnome_1_1Vfs_1_1exception.html">exception</a>)</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Retrieve the file info for this <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a>. 
<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>options</em>&nbsp;</td><td>An enum (bitfield) representing what information to retrieve. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The information for this <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a>. </dd></dl>

</div>
</div><p>
<a class="anchor" name="c6f0bdf38cbcdebadfbe07f78232ab7c"></a><!-- doxytag: member="Gnome::Vfs::Uri::create_symbolic_link" ref="c6f0bdf38cbcdebadfbe07f78232ab7c" args="(const Glib::ustring &amp;target_reference)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gnome::Vfs::Uri::create_symbolic_link           </td>
          <td>(</td>
          <td class="paramtype">const Glib::ustring &amp;&nbsp;</td>
          <td class="paramname"> <em>target_reference</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%">  throw (<a class="el" href="classGnome_1_1Vfs_1_1exception.html">exception</a>)</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Creates a symbolic link from this <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a> to <em>target_reference</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>target_reference</em>&nbsp;</td><td>URI to point the link to (full or relative path). </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="28798e22f380f07211b8df6edcd516f8"></a><!-- doxytag: member="Gnome::Vfs::Uri::uri_exists" ref="28798e22f380f07211b8df6edcd516f8" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gnome::Vfs::Uri::uri_exists           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Check if this <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a> points to an existing entity. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd><code>true</code> if this <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a> exists. </dd></dl>

</div>
</div><p>
<a class="anchor" name="ecb33ee39adeada1caf73ad0f0714309"></a><!-- doxytag: member="Gnome::Vfs::Uri::get_volume_free_space" ref="ecb33ee39adeada1caf73ad0f0714309" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespaceGnome_1_1Vfs.html#46d71f215c684f228c1cd6b96145dbf3">FileSize</a> Gnome::Vfs::Uri::get_volume_free_space           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const  throw (<a class="el" href="classGnome_1_1Vfs_1_1exception.html">exception</a>)</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This only works for URIs with the file: scheme. 
<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>vfs_uri,:</em>&nbsp;</td><td></td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The amount of free space on a volume. </dd></dl>

</div>
</div><p>
<hr><h2>Friends And Related Function Documentation</h2>
<a class="anchor" name="78855dcbcf465652e90f64259393acde"></a><!-- doxytag: member="Gnome::Vfs::Uri::operator==" ref="78855dcbcf465652e90f64259393acde" args="(const Uri &amp;lhs, const Uri &amp;rhs)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool operator==           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>lhs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>rhs</em></td><td>&nbsp;</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>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>lhs</em>&nbsp;</td><td>The left-hand side </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>rhs</em>&nbsp;</td><td>The right-hand side </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The result </dd></dl>

</div>
</div><p>
<a class="anchor" name="0e3b314d2835d0963045bcaaf1ffdba6"></a><!-- doxytag: member="Gnome::Vfs::Uri::operator!=" ref="0e3b314d2835d0963045bcaaf1ffdba6" args="(const Uri &amp;lhs, const Uri &amp;rhs)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool operator!=           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>lhs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Uri</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>rhs</em></td><td>&nbsp;</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>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>lhs</em>&nbsp;</td><td>The left-hand side </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>rhs</em>&nbsp;</td><td>The right-hand side </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The result </dd></dl>

</div>
</div><p>
<a class="anchor" name="bf1005e7ece1acfb75e62ae851e20b84"></a><!-- doxytag: member="Gnome::Vfs::Uri::wrap" ref="bf1005e7ece1acfb75e62ae851e20b84" args="(GnomeVFSURI *object, bool take_copy=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Glib::RefPtr&lt; <a class="el" href="classGnome_1_1Vfs_1_1Uri.html">Gnome::Vfs::Uri</a> &gt; wrap           </td>
          <td>(</td>
          <td class="paramtype">GnomeVFSURI *&nbsp;</td>
          <td class="paramname"> <em>object</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>take_copy</em> = <code>false</code></td><td>&nbsp;</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 Glib::wrap() 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>&nbsp;</td><td>The C instance. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>take_copy</em>&nbsp;</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="uri_8h-source.html">uri.h</a></ul>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Mar 9 14:42:04 2008 for libgnomevfsmm by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
</body>
</html>