Sophie

Sophie

distrib > Mageia > 7 > x86_64 > by-pkgid > 9641a12e5d0eeef2da865588e445f182 > files > 449

gstreamermm1.0-doc-1.10.0-2.mga7.noarch.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>gstreamermm: Gst::URIHandler Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="doxygen-extra.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">gstreamermm
   &#160;<span id="projectnumber">1.10.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',false,false,'search.php','Search');
});
</script>
<div id="main-nav"></div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespaceGst.html">Gst</a></li><li class="navelem"><a class="el" href="classGst_1_1URIHandler.html">URIHandler</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#related">Related Functions</a> &#124;
<a href="classGst_1_1URIHandler-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">Gst::URIHandler Class Reference<div class="ingroups"><a class="el" href="group__GstInterfaces.html">gstreamermm Interfaces</a></div></div>  </div>
</div><!--header-->
<div class="contents">

<p>An interface to ease URI handling in plugins.  
 <a href="classGst_1_1URIHandler.html#details">More...</a></p>

<p><code>#include &lt;gstreamermm/urihandler.h&gt;</code></p>

<p>Inherits Interface.</p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ae6329d8706447d8ca1a61793025a03ef"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1URIHandler.html#ae6329d8706447d8ca1a61793025a03ef">URIHandler</a> (<a class="el" href="classGst_1_1URIHandler.html">URIHandler</a>&amp;&amp; src) noexcept</td></tr>
<tr class="separator:ae6329d8706447d8ca1a61793025a03ef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac31328b351a9ab4c573a14575c1cec53"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGst_1_1URIHandler.html">URIHandler</a>&amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1URIHandler.html#ac31328b351a9ab4c573a14575c1cec53">operator=</a> (<a class="el" href="classGst_1_1URIHandler.html">URIHandler</a>&amp;&amp; src) noexcept</td></tr>
<tr class="separator:ac31328b351a9ab4c573a14575c1cec53"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad785b3d98fddcf305f3958054a2510ed"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1URIHandler.html#ad785b3d98fddcf305f3958054a2510ed">~URIHandler</a> () noexcept override</td></tr>
<tr class="separator:ad785b3d98fddcf305f3958054a2510ed"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a128db2798af5221b16e323054ebbd0f5"><td class="memItemLeft" align="right" valign="top">GstURIHandler*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1URIHandler.html#a128db2798af5221b16e323054ebbd0f5">gobj</a> ()</td></tr>
<tr class="memdesc:a128db2798af5221b16e323054ebbd0f5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GObject.  <a href="#a128db2798af5221b16e323054ebbd0f5">More...</a><br /></td></tr>
<tr class="separator:a128db2798af5221b16e323054ebbd0f5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a57e3908ffd6e70c8c6b854671e3e9b85"><td class="memItemLeft" align="right" valign="top">const GstURIHandler*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1URIHandler.html#a57e3908ffd6e70c8c6b854671e3e9b85">gobj</a> () const</td></tr>
<tr class="memdesc:a57e3908ffd6e70c8c6b854671e3e9b85"><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GObject.  <a href="#a57e3908ffd6e70c8c6b854671e3e9b85">More...</a><br /></td></tr>
<tr class="separator:a57e3908ffd6e70c8c6b854671e3e9b85"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a52f0e78afb446cc80d4f201b3a825af2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__gstreamermmEnums.html#ga50f007fe40e3fb7497cc8d65e6619c2b">URIType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1URIHandler.html#a52f0e78afb446cc80d4f201b3a825af2">get_uri_type</a> () const</td></tr>
<tr class="memdesc:a52f0e78afb446cc80d4f201b3a825af2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the type of the given URI handler.  <a href="#a52f0e78afb446cc80d4f201b3a825af2">More...</a><br /></td></tr>
<tr class="separator:a52f0e78afb446cc80d4f201b3a825af2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a46ff404319c6875e483e4a1efbbf6160"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00965.html">std::vector</a>&lt; Glib::ustring &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1URIHandler.html#a46ff404319c6875e483e4a1efbbf6160">get_protocols</a> () const</td></tr>
<tr class="memdesc:a46ff404319c6875e483e4a1efbbf6160"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the list of protocols supported by <em>handler</em>.  <a href="#a46ff404319c6875e483e4a1efbbf6160">More...</a><br /></td></tr>
<tr class="separator:a46ff404319c6875e483e4a1efbbf6160"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adc5131152c031d9c580596314c837025"><td class="memItemLeft" align="right" valign="top">Glib::ustring&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1URIHandler.html#adc5131152c031d9c580596314c837025">get_uri</a> () const</td></tr>
<tr class="memdesc:adc5131152c031d9c580596314c837025"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the currently handled URI.  <a href="#adc5131152c031d9c580596314c837025">More...</a><br /></td></tr>
<tr class="separator:adc5131152c031d9c580596314c837025"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a87d8fd71a5dbd8643daef02bf16ed08e"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1URIHandler.html#a87d8fd71a5dbd8643daef02bf16ed08e">set_uri</a> (const Glib::ustring&amp; uri)</td></tr>
<tr class="memdesc:a87d8fd71a5dbd8643daef02bf16ed08e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Tries to set the URI of the given handler.  <a href="#a87d8fd71a5dbd8643daef02bf16ed08e">More...</a><br /></td></tr>
<tr class="separator:a87d8fd71a5dbd8643daef02bf16ed08e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a41350b725c33feeae857a2f01f31e3c6"><td class="memItemLeft" align="right" valign="top">virtual Glib::ustring&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1URIHandler.html#a41350b725c33feeae857a2f01f31e3c6">get_uri_vfunc</a> () const</td></tr>
<tr class="memdesc:a41350b725c33feeae857a2f01f31e3c6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Virtual method which should be implemented to return the URI currently handled by the element.  <a href="#a41350b725c33feeae857a2f01f31e3c6">More...</a><br /></td></tr>
<tr class="separator:a41350b725c33feeae857a2f01f31e3c6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa1e1d6182736d9fc326e076593fa7fae"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1URIHandler.html#aa1e1d6182736d9fc326e076593fa7fae">set_uri_vfunc</a> (const Glib::ustring&amp; uri, GError** error)</td></tr>
<tr class="memdesc:aa1e1d6182736d9fc326e076593fa7fae"><td class="mdescLeft">&#160;</td><td class="mdescRight">Virtual method which should be implemented to set a new URI.  <a href="#aa1e1d6182736d9fc326e076593fa7fae">More...</a><br /></td></tr>
<tr class="separator:aa1e1d6182736d9fc326e076593fa7fae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac5ed817fb64c96bc91603fa1290eb6f5"><td class="memItemLeft" align="right" valign="top">virtual const gchar* const *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1URIHandler.html#ac5ed817fb64c96bc91603fa1290eb6f5">get_protocols_vfunc</a> () const</td></tr>
<tr class="memdesc:ac5ed817fb64c96bc91603fa1290eb6f5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Method to return the list of protocols handled by the element.  <a href="#ac5ed817fb64c96bc91603fa1290eb6f5">More...</a><br /></td></tr>
<tr class="separator:ac5ed817fb64c96bc91603fa1290eb6f5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6b6fe260ab9f5afcc983e80a9cf5c451"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="group__gstreamermmEnums.html#ga50f007fe40e3fb7497cc8d65e6619c2b">URIType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1URIHandler.html#a6b6fe260ab9f5afcc983e80a9cf5c451">get_type_vfunc</a> ()</td></tr>
<tr class="memdesc:a6b6fe260ab9f5afcc983e80a9cf5c451"><td class="mdescLeft">&#160;</td><td class="mdescRight">Method to tell whether the element handles source or sink URI.  <a href="#a6b6fe260ab9f5afcc983e80a9cf5c451">More...</a><br /></td></tr>
<tr class="separator:a6b6fe260ab9f5afcc983e80a9cf5c451"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a1961e56b14fb7dd548b228d24f090709"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1URIHandler.html#a1961e56b14fb7dd548b228d24f090709">add_interface</a> (GType gtype_implementer)</td></tr>
<tr class="separator:a1961e56b14fb7dd548b228d24f090709"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a91f4cab6baf111ef49d0ee6db3e95e03"><td class="memItemLeft" align="right" valign="top">static GType&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1URIHandler.html#a91f4cab6baf111ef49d0ee6db3e95e03">get_type</a> ()</td></tr>
<tr class="memdesc:a91f4cab6baf111ef49d0ee6db3e95e03"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the GType for this class, for use with the underlying GObject type system.  <a href="#a91f4cab6baf111ef49d0ee6db3e95e03">More...</a><br /></td></tr>
<tr class="separator:a91f4cab6baf111ef49d0ee6db3e95e03"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a306fd9f4715ed1ff7e116ee170fd09a4"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1URIHandler.html#a306fd9f4715ed1ff7e116ee170fd09a4">protocol_is_valid</a> (const Glib::ustring&amp; protocol)</td></tr>
<tr class="memdesc:a306fd9f4715ed1ff7e116ee170fd09a4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Tests if the given string is a valid protocol identifier.  <a href="#a306fd9f4715ed1ff7e116ee170fd09a4">More...</a><br /></td></tr>
<tr class="separator:a306fd9f4715ed1ff7e116ee170fd09a4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7531eca3b37ef95f224c0ad80700d3bc"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1URIHandler.html#a7531eca3b37ef95f224c0ad80700d3bc">protocol_is_supported</a> (const <a class="el" href="group__gstreamermmEnums.html#ga50f007fe40e3fb7497cc8d65e6619c2b">Gst::URIType</a> type, const Glib::ustring&amp; protocol)</td></tr>
<tr class="memdesc:a7531eca3b37ef95f224c0ad80700d3bc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks if an element exists that supports the given URI protocol.  <a href="#a7531eca3b37ef95f224c0ad80700d3bc">More...</a><br /></td></tr>
<tr class="separator:a7531eca3b37ef95f224c0ad80700d3bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae666b6dba4da1ea80e04ad5bd14d54ce"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1URIHandler.html#ae666b6dba4da1ea80e04ad5bd14d54ce">uri_is_valid</a> (const Glib::ustring&amp; uri)</td></tr>
<tr class="memdesc:ae666b6dba4da1ea80e04ad5bd14d54ce"><td class="mdescLeft">&#160;</td><td class="mdescRight">Tests if the given string is a valid URI identifier.  <a href="#ae666b6dba4da1ea80e04ad5bd14d54ce">More...</a><br /></td></tr>
<tr class="separator:ae666b6dba4da1ea80e04ad5bd14d54ce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6fef87498aa1778fc73e95a04744f2cc"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1URIHandler.html#a6fef87498aa1778fc73e95a04744f2cc">uri_has_protocol</a> (const Glib::ustring&amp; uri, const Glib::ustring&amp; protocol)</td></tr>
<tr class="memdesc:a6fef87498aa1778fc73e95a04744f2cc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks if the protocol of a given valid URI matches <em>protocol</em>.  <a href="#a6fef87498aa1778fc73e95a04744f2cc">More...</a><br /></td></tr>
<tr class="separator:a6fef87498aa1778fc73e95a04744f2cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a897d47103ed1619a8606cf3f527d7e2d"><td class="memItemLeft" align="right" valign="top">static Glib::ustring&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1URIHandler.html#a897d47103ed1619a8606cf3f527d7e2d">get_protocol</a> (const Glib::ustring&amp; uri)</td></tr>
<tr class="memdesc:a897d47103ed1619a8606cf3f527d7e2d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Extracts the protocol out of a given valid URI.  <a href="#a897d47103ed1619a8606cf3f527d7e2d">More...</a><br /></td></tr>
<tr class="separator:a897d47103ed1619a8606cf3f527d7e2d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa3e505a848f4d31e0d973fee77d7be80"><td class="memItemLeft" align="right" valign="top">static Glib::ustring&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1URIHandler.html#aa3e505a848f4d31e0d973fee77d7be80">get_location</a> (const Glib::ustring&amp; uri)</td></tr>
<tr class="memdesc:aa3e505a848f4d31e0d973fee77d7be80"><td class="mdescLeft">&#160;</td><td class="mdescRight">Extracts the location out of a given valid URI, ie.  <a href="#aa3e505a848f4d31e0d973fee77d7be80">More...</a><br /></td></tr>
<tr class="separator:aa3e505a848f4d31e0d973fee77d7be80"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8ba792037309809d38aa138f2c849473"><td class="memItemLeft" align="right" valign="top">static Glib::ustring&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1URIHandler.html#a8ba792037309809d38aa138f2c849473">construct_uri</a> (const Glib::ustring&amp; protocol, const Glib::ustring&amp; location)</td></tr>
<tr class="memdesc:a8ba792037309809d38aa138f2c849473"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructs a URI for a given valid protocol and location.  <a href="#a8ba792037309809d38aa138f2c849473">More...</a><br /></td></tr>
<tr class="separator:a8ba792037309809d38aa138f2c849473"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a33d62fabdf85db5ea28cd3fc0ac37ec8"><td class="memItemLeft" align="right" valign="top">static Glib::ustring&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1URIHandler.html#a33d62fabdf85db5ea28cd3fc0ac37ec8">filename_to_uri</a> (const Glib::ustring&amp; filename)</td></tr>
<tr class="memdesc:a33d62fabdf85db5ea28cd3fc0ac37ec8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Similar to Glib::filename_to_uri(), but attempts to handle relative file paths as well.  <a href="#a33d62fabdf85db5ea28cd3fc0ac37ec8">More...</a><br /></td></tr>
<tr class="separator:a33d62fabdf85db5ea28cd3fc0ac37ec8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a238d0d70d7569c03c508f517ae40957d"><td class="memItemLeft" align="right" valign="top">static Glib::RefPtr&lt; <a class="el" href="classGst_1_1Element.html">Gst::Element</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1URIHandler.html#a238d0d70d7569c03c508f517ae40957d">make_element_from_uri</a> (const <a class="el" href="group__gstreamermmEnums.html#ga50f007fe40e3fb7497cc8d65e6619c2b">Gst::URIType</a> type, const Glib::ustring&amp; uri, const Glib::ustring&amp; name)</td></tr>
<tr class="memdesc:a238d0d70d7569c03c508f517ae40957d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates an element for handling the given URI.  <a href="#a238d0d70d7569c03c508f517ae40957d">More...</a><br /></td></tr>
<tr class="separator:a238d0d70d7569c03c508f517ae40957d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:ae44e8856d2cbae6d2007bf8e83456471"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1URIHandler.html#ae44e8856d2cbae6d2007bf8e83456471">URIHandler</a> ()</td></tr>
<tr class="memdesc:ae44e8856d2cbae6d2007bf8e83456471"><td class="mdescLeft">&#160;</td><td class="mdescRight">You should derive from this class to use it.  <a href="#ae44e8856d2cbae6d2007bf8e83456471">More...</a><br /></td></tr>
<tr class="separator:ae44e8856d2cbae6d2007bf8e83456471"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="related"></a>
Related Functions</h2></td></tr>
<tr><td class="ititle" colspan="2"><p>(Note that these are not member functions.) </p>
</td></tr>
<tr class="memitem:a6c3b8a1166a567b642ce2458c101b2c4"><td class="memItemLeft" align="right" valign="top">Glib::RefPtr&lt; <a class="el" href="classGst_1_1URIHandler.html">Gst::URIHandler</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1URIHandler.html#a6c3b8a1166a567b642ce2458c101b2c4">wrap</a> (GstURIHandler* object, bool take_copy=false)</td></tr>
<tr class="memdesc:a6c3b8a1166a567b642ce2458c101b2c4"><td class="mdescLeft">&#160;</td><td class="mdescRight">A <a class="el" href="namespaceGlib.html#a43fcab2a44083e8b7b6a1c8193acae2b">Glib::wrap()</a> method for this object.  <a href="#a6c3b8a1166a567b642ce2458c101b2c4">More...</a><br /></td></tr>
<tr class="separator:a6c3b8a1166a567b642ce2458c101b2c4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>An interface to ease URI handling in plugins. </p>
<p>The <a class="el" href="classGst_1_1URIHandler.html" title="An interface to ease URI handling in plugins. ">Gst::URIHandler</a> is an interface that is implemented by Source and Sink <a class="el" href="classGst_1_1Element.html" title="Abstract base class for all pipeline elements. ">Gst::Element</a> to simplify then handling of URI.</p>
<p>An application can use the following functions to quickly get an element that handles the given URI for reading or writing (<a class="el" href="classGst_1_1URIHandler.html#a238d0d70d7569c03c508f517ae40957d" title="Creates an element for handling the given URI. ">make_element_from_uri()</a>).</p>
<p>Source and Sink plugins should implement this interface when possible.</p>
<p>Last reviewed on 2016-08-27 (1.8.0) </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="ae44e8856d2cbae6d2007bf8e83456471"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae44e8856d2cbae6d2007bf8e83456471">&#9670;&#160;</a></span>URIHandler() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Gst::URIHandler::URIHandler </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>You should derive from this class to use it. </p>

</div>
</div>
<a id="ae6329d8706447d8ca1a61793025a03ef"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae6329d8706447d8ca1a61793025a03ef">&#9670;&#160;</a></span>URIHandler() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Gst::URIHandler::URIHandler </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classGst_1_1URIHandler.html">URIHandler</a>&amp;&amp;&#160;</td>
          <td class="paramname"><em>src</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="ad785b3d98fddcf305f3958054a2510ed"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad785b3d98fddcf305f3958054a2510ed">&#9670;&#160;</a></span>~URIHandler()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Gst::URIHandler::~URIHandler </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a1961e56b14fb7dd548b228d24f090709"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1961e56b14fb7dd548b228d24f090709">&#9670;&#160;</a></span>add_interface()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void Gst::URIHandler::add_interface </td>
          <td>(</td>
          <td class="paramtype">GType&#160;</td>
          <td class="paramname"><em>gtype_implementer</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a8ba792037309809d38aa138f2c849473"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8ba792037309809d38aa138f2c849473">&#9670;&#160;</a></span>construct_uri()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static Glib::ustring Gst::URIHandler::construct_uri </td>
          <td>(</td>
          <td class="paramtype">const Glib::ustring &amp;&#160;</td>
          <td class="paramname"><em>protocol</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const Glib::ustring &amp;&#160;</td>
          <td class="paramname"><em>location</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Constructs a URI for a given valid protocol and location. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">protocol</td><td>Protocol for URI. </td></tr>
    <tr><td class="paramname">location</td><td>Location for URI. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A new string for this URI. Returns <code>nullptr</code> if the given URI protocol is not valid, or the given location is <code>nullptr</code>. </dd></dl>

</div>
</div>
<a id="a33d62fabdf85db5ea28cd3fc0ac37ec8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a33d62fabdf85db5ea28cd3fc0ac37ec8">&#9670;&#160;</a></span>filename_to_uri()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static Glib::ustring Gst::URIHandler::filename_to_uri </td>
          <td>(</td>
          <td class="paramtype">const Glib::ustring &amp;&#160;</td>
          <td class="paramname"><em>filename</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Similar to Glib::filename_to_uri(), but attempts to handle relative file paths as well. </p>
<p>Before converting <em>filename</em> into an URI, it will be prefixed by the current working directory if it is a relative path, and then the path will be canonicalised so that it doesn't contain any './' or '../' segments.</p>
<p>On Windows #filename should be in UTF-8 encoding.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">filename</td><td>Absolute or relative file name path. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Newly-allocated URI string, or <code>nullptr</code> on error. </dd></dl>

</div>
</div>
<a id="aa3e505a848f4d31e0d973fee77d7be80"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa3e505a848f4d31e0d973fee77d7be80">&#9670;&#160;</a></span>get_location()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static Glib::ustring Gst::URIHandler::get_location </td>
          <td>(</td>
          <td class="paramtype">const Glib::ustring &amp;&#160;</td>
          <td class="paramname"><em>uri</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Extracts the location out of a given valid URI, ie. </p>
<p>the protocol and "://" are stripped from the URI, which means that the location returned includes the hostname if one is specified.</p>
<p>Free-function: g_free</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">uri</td><td>A URI string. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The location for this URI. Returns <code>nullptr</code> if the URI isn't valid. If the URI does not contain a location, an empty string is returned. </dd></dl>

</div>
</div>
<a id="a897d47103ed1619a8606cf3f527d7e2d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a897d47103ed1619a8606cf3f527d7e2d">&#9670;&#160;</a></span>get_protocol()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static Glib::ustring Gst::URIHandler::get_protocol </td>
          <td>(</td>
          <td class="paramtype">const Glib::ustring &amp;&#160;</td>
          <td class="paramname"><em>uri</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Extracts the protocol out of a given valid URI. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">uri</td><td>A URI string. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The protocol for this URI. </dd></dl>

</div>
</div>
<a id="a46ff404319c6875e483e4a1efbbf6160"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a46ff404319c6875e483e4a1efbbf6160">&#9670;&#160;</a></span>get_protocols()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00965.html">std::vector</a>&lt;Glib::ustring&gt; Gst::URIHandler::get_protocols </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the list of protocols supported by <em>handler</em>. </p>
<p>This list may not be modified.</p>
<dl class="section return"><dt>Returns</dt><dd>The supported protocols. Returns <code>nullptr</code> if the <em>handler</em> isn't implemented properly, or the <em>handler</em> doesn't support any protocols. </dd></dl>

</div>
</div>
<a id="ac5ed817fb64c96bc91603fa1290eb6f5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac5ed817fb64c96bc91603fa1290eb6f5">&#9670;&#160;</a></span>get_protocols_vfunc()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual const gchar* const* Gst::URIHandler::get_protocols_vfunc </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Method to return the list of protocols handled by the element. </p>

</div>
</div>
<a id="a91f4cab6baf111ef49d0ee6db3e95e03"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a91f4cab6baf111ef49d0ee6db3e95e03">&#9670;&#160;</a></span>get_type()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static GType Gst::URIHandler::get_type </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Get the GType for this class, for use with the underlying GObject type system. </p>

</div>
</div>
<a id="a6b6fe260ab9f5afcc983e80a9cf5c451"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6b6fe260ab9f5afcc983e80a9cf5c451">&#9670;&#160;</a></span>get_type_vfunc()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="group__gstreamermmEnums.html#ga50f007fe40e3fb7497cc8d65e6619c2b">URIType</a> Gst::URIHandler::get_type_vfunc </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Method to tell whether the element handles source or sink URI. </p>

</div>
</div>
<a id="adc5131152c031d9c580596314c837025"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adc5131152c031d9c580596314c837025">&#9670;&#160;</a></span>get_uri()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Glib::ustring Gst::URIHandler::get_uri </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the currently handled URI. </p>
<dl class="section return"><dt>Returns</dt><dd>The URI currently handled by the <em>handler</em>. Returns <code>nullptr</code> if there are no URI currently handled. </dd></dl>

</div>
</div>
<a id="a52f0e78afb446cc80d4f201b3a825af2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a52f0e78afb446cc80d4f201b3a825af2">&#9670;&#160;</a></span>get_uri_type()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__gstreamermmEnums.html#ga50f007fe40e3fb7497cc8d65e6619c2b">URIType</a> Gst::URIHandler::get_uri_type </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the type of the given URI handler. </p>
<dl class="section return"><dt>Returns</dt><dd>The <a class="el" href="group__gstreamermmEnums.html#ga50f007fe40e3fb7497cc8d65e6619c2b" title="The different types of URI direction. ">Gst::URIType</a> of the URI handler. Returns <a class="el" href="namespaceGst.html#ga50f007fe40e3fb7497cc8d65e6619c2ba1949bf6a3ca27bf112f14c4bf88e7c4f" title="The URI direction is unknown. ">Gst::URI_UNKNOWN</a> if the <em>handler</em> isn't implemented correctly. </dd></dl>

</div>
</div>
<a id="a41350b725c33feeae857a2f01f31e3c6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a41350b725c33feeae857a2f01f31e3c6">&#9670;&#160;</a></span>get_uri_vfunc()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual Glib::ustring Gst::URIHandler::get_uri_vfunc </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Virtual method which should be implemented to return the URI currently handled by the element. </p>

</div>
</div>
<a id="a128db2798af5221b16e323054ebbd0f5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a128db2798af5221b16e323054ebbd0f5">&#9670;&#160;</a></span>gobj() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">GstURIHandler* Gst::URIHandler::gobj </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Provides access to the underlying C GObject. </p>

</div>
</div>
<a id="a57e3908ffd6e70c8c6b854671e3e9b85"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a57e3908ffd6e70c8c6b854671e3e9b85">&#9670;&#160;</a></span>gobj() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const GstURIHandler* Gst::URIHandler::gobj </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Provides access to the underlying C GObject. </p>

</div>
</div>
<a id="a238d0d70d7569c03c508f517ae40957d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a238d0d70d7569c03c508f517ae40957d">&#9670;&#160;</a></span>make_element_from_uri()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static Glib::RefPtr&lt;<a class="el" href="classGst_1_1Element.html">Gst::Element</a>&gt; Gst::URIHandler::make_element_from_uri </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="group__gstreamermmEnums.html#ga50f007fe40e3fb7497cc8d65e6619c2b">Gst::URIType</a>&#160;</td>
          <td class="paramname"><em>type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const Glib::ustring &amp;&#160;</td>
          <td class="paramname"><em>uri</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const Glib::ustring &amp;&#160;</td>
          <td class="paramname"><em>name</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Creates an element for handling the given URI. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">type</td><td>Whether to create a source or a sink. </td></tr>
    <tr><td class="paramname">uri</td><td>URI to create an element for. </td></tr>
    <tr><td class="paramname">name</td><td>Name of created element, can be <code>nullptr</code>. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A new element or <code>nullptr</code> if none could be created. </dd></dl>

</div>
</div>
<a id="ac31328b351a9ab4c573a14575c1cec53"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac31328b351a9ab4c573a14575c1cec53">&#9670;&#160;</a></span>operator=()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGst_1_1URIHandler.html">URIHandler</a>&amp; Gst::URIHandler::operator= </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classGst_1_1URIHandler.html">URIHandler</a>&amp;&amp;&#160;</td>
          <td class="paramname"><em>src</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a7531eca3b37ef95f224c0ad80700d3bc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7531eca3b37ef95f224c0ad80700d3bc">&#9670;&#160;</a></span>protocol_is_supported()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static bool Gst::URIHandler::protocol_is_supported </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="group__gstreamermmEnums.html#ga50f007fe40e3fb7497cc8d65e6619c2b">Gst::URIType</a>&#160;</td>
          <td class="paramname"><em>type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const Glib::ustring &amp;&#160;</td>
          <td class="paramname"><em>protocol</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Checks if an element exists that supports the given URI protocol. </p>
<p>Note that a positive return value does not imply that a subsequent call to Gst::Element::make_from_uri() is guaranteed to work.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">type</td><td>Whether to check for a source or a sink. </td></tr>
    <tr><td class="paramname">protocol</td><td>Protocol that should be checked for (e.g. "http" or "smb"). </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><code>true</code>. </dd></dl>

</div>
</div>
<a id="a306fd9f4715ed1ff7e116ee170fd09a4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a306fd9f4715ed1ff7e116ee170fd09a4">&#9670;&#160;</a></span>protocol_is_valid()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static bool Gst::URIHandler::protocol_is_valid </td>
          <td>(</td>
          <td class="paramtype">const Glib::ustring &amp;&#160;</td>
          <td class="paramname"><em>protocol</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Tests if the given string is a valid protocol identifier. </p>
<p>Protocols must consist of alphanumeric characters, '+', '-' and '.' and must start with a alphabetic character. See RFC 3986 Section 3.1.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">protocol</td><td>A string. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if the string is a valid protocol identifier, <code>false</code> otherwise. </dd></dl>

</div>
</div>
<a id="a87d8fd71a5dbd8643daef02bf16ed08e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a87d8fd71a5dbd8643daef02bf16ed08e">&#9670;&#160;</a></span>set_uri()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gst::URIHandler::set_uri </td>
          <td>(</td>
          <td class="paramtype">const Glib::ustring &amp;&#160;</td>
          <td class="paramname"><em>uri</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Tries to set the URI of the given handler. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">uri</td><td>URI to set. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if the URI was set successfully, else <code>false</code>. </dd></dl>

</div>
</div>
<a id="aa1e1d6182736d9fc326e076593fa7fae"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa1e1d6182736d9fc326e076593fa7fae">&#9670;&#160;</a></span>set_uri_vfunc()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool Gst::URIHandler::set_uri_vfunc </td>
          <td>(</td>
          <td class="paramtype">const Glib::ustring &amp;&#160;</td>
          <td class="paramname"><em>uri</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">GError **&#160;</td>
          <td class="paramname"><em>error</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Virtual method which should be implemented to set a new URI. </p>

</div>
</div>
<a id="a6fef87498aa1778fc73e95a04744f2cc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6fef87498aa1778fc73e95a04744f2cc">&#9670;&#160;</a></span>uri_has_protocol()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static bool Gst::URIHandler::uri_has_protocol </td>
          <td>(</td>
          <td class="paramtype">const Glib::ustring &amp;&#160;</td>
          <td class="paramname"><em>uri</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const Glib::ustring &amp;&#160;</td>
          <td class="paramname"><em>protocol</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Checks if the protocol of a given valid URI matches <em>protocol</em>. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">uri</td><td>A URI string. </td></tr>
    <tr><td class="paramname">protocol</td><td>A protocol string (e.g. "http"). </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if the protocol matches. </dd></dl>

</div>
</div>
<a id="ae666b6dba4da1ea80e04ad5bd14d54ce"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae666b6dba4da1ea80e04ad5bd14d54ce">&#9670;&#160;</a></span>uri_is_valid()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static bool Gst::URIHandler::uri_is_valid </td>
          <td>(</td>
          <td class="paramtype">const Glib::ustring &amp;&#160;</td>
          <td class="paramname"><em>uri</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Tests if the given string is a valid URI identifier. </p>
<p>URIs start with a valid scheme followed by ":" and maybe a string identifying the location.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">uri</td><td>A URI string. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if the string is a valid URI. </dd></dl>

</div>
</div>
<h2 class="groupheader">Friends And Related Function Documentation</h2>
<a id="a6c3b8a1166a567b642ce2458c101b2c4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6c3b8a1166a567b642ce2458c101b2c4">&#9670;&#160;</a></span>wrap()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Glib::RefPtr&lt; <a class="el" href="classGst_1_1URIHandler.html">Gst::URIHandler</a> &gt; wrap </td>
          <td>(</td>
          <td class="paramtype">GstURIHandler *&#160;</td>
          <td class="paramname"><em>object</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>take_copy</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">related</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>A <a class="el" href="namespaceGlib.html#a43fcab2a44083e8b7b6a1c8193acae2b">Glib::wrap()</a> method for this object. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">object</td><td>The C instance. </td></tr>
    <tr><td class="paramname">take_copy</td><td>False if the result should take ownership of the C instance. True if it should take a new copy or ref. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A C++ instance that wraps this C instance. </dd></dl>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Oct 21 2017 12:59:01 for gstreamermm by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>