Sophie

Sophie

distrib > Mageia > 7 > i586 > media > core-release > by-pkgid > 3b996fe272685bfa229e6a8dcb542001 > files > 810

glibmm2.4-doc-2.60.0-1.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.11"/>
<title>glibmm: Glib::VariantType 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">glibmm
   &#160;<span id="projectnumber">2.60.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="examples.html"><span>Examples</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespaceGlib.html">Glib</a></li><li class="navelem"><a class="el" href="classGlib_1_1VariantType.html">VariantType</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-attribs">Protected Attributes</a> &#124;
<a href="#related">Related Functions</a> &#124;
<a href="classGlib_1_1VariantType-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">Glib::VariantType Class Reference<div class="ingroups"><a class="el" href="group__Variant.html">Variant Data Types</a></div></div>  </div>
</div><!--header-->
<div class="contents">

<p><a class="el" href="classGlib_1_1VariantType.html" title="VariantType - The VariantBase type system. ">VariantType</a> - The <a class="el" href="classGlib_1_1VariantBase.html" title="This is the base class for all Variant types. ">VariantBase</a> type system.  
 <a href="classGlib_1_1VariantType.html#details">More...</a></p>

<p><code>#include &lt;glibmm/varianttype.h&gt;</code></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:a7d05abfd748f0e5917996682eb8d7b3f"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1VariantType.html#a7d05abfd748f0e5917996682eb8d7b3f">VariantType</a> ()</td></tr>
<tr class="memdesc:a7d05abfd748f0e5917996682eb8d7b3f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructs an invalid object.  <a href="#a7d05abfd748f0e5917996682eb8d7b3f">More...</a><br /></td></tr>
<tr class="separator:a7d05abfd748f0e5917996682eb8d7b3f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa9f6a6269718a433540a56b874dd9e93"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1VariantType.html#aa9f6a6269718a433540a56b874dd9e93">VariantType</a> (GVariantType* castitem, bool make_a_copy=false)</td></tr>
<tr class="separator:aa9f6a6269718a433540a56b874dd9e93"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:addfa490c6545d0b0a3af409a1890c5b3"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1VariantType.html#addfa490c6545d0b0a3af409a1890c5b3">VariantType</a> (const <a class="el" href="classGlib_1_1VariantType.html">VariantType</a>&amp; src)</td></tr>
<tr class="separator:addfa490c6545d0b0a3af409a1890c5b3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0d63c3af32d9c2eeeeea3009207457fe"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGlib_1_1VariantType.html">VariantType</a>&amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1VariantType.html#a0d63c3af32d9c2eeeeea3009207457fe">operator=</a> (const <a class="el" href="classGlib_1_1VariantType.html">VariantType</a>&amp; src)</td></tr>
<tr class="separator:a0d63c3af32d9c2eeeeea3009207457fe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9b75713e8127362005aae10aa3a1e96b"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1VariantType.html#a9b75713e8127362005aae10aa3a1e96b">VariantType</a> (<a class="el" href="classGlib_1_1VariantType.html">VariantType</a>&amp;&amp; other) noexcept</td></tr>
<tr class="separator:a9b75713e8127362005aae10aa3a1e96b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a05e8c7bc32e1cae7c8c7c4044f32e996"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGlib_1_1VariantType.html">VariantType</a>&amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1VariantType.html#a05e8c7bc32e1cae7c8c7c4044f32e996">operator=</a> (<a class="el" href="classGlib_1_1VariantType.html">VariantType</a>&amp;&amp; other) noexcept</td></tr>
<tr class="separator:a05e8c7bc32e1cae7c8c7c4044f32e996"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ade2e2b2fb55596457bf1de943d8a267e"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1VariantType.html#ade2e2b2fb55596457bf1de943d8a267e">~VariantType</a> () noexcept</td></tr>
<tr class="separator:ade2e2b2fb55596457bf1de943d8a267e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaa7b5d84857755c4cc9f6dfec22ccfbd"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1VariantType.html#aaa7b5d84857755c4cc9f6dfec22ccfbd">swap</a> (<a class="el" href="classGlib_1_1VariantType.html">VariantType</a>&amp; other) noexcept</td></tr>
<tr class="separator:aaa7b5d84857755c4cc9f6dfec22ccfbd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a911a3cfa7c4fc5e56cca07f0cb765487"><td class="memItemLeft" align="right" valign="top">GVariantType*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1VariantType.html#a911a3cfa7c4fc5e56cca07f0cb765487">gobj</a> ()</td></tr>
<tr class="separator:a911a3cfa7c4fc5e56cca07f0cb765487"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6155f01582363d9d4af944d1445cff17"><td class="memItemLeft" align="right" valign="top">const GVariantType*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1VariantType.html#a6155f01582363d9d4af944d1445cff17">gobj</a> () const </td></tr>
<tr class="separator:a6155f01582363d9d4af944d1445cff17"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9a158b1e3cafd0b351a403937550b341"><td class="memItemLeft" align="right" valign="top">GVariantType*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1VariantType.html#a9a158b1e3cafd0b351a403937550b341">gobj_copy</a> () const </td></tr>
<tr class="memdesc:a9a158b1e3cafd0b351a403937550b341"><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C instance. The caller is responsible for freeing it. Use when directly setting fields in structs.  <a href="#a9a158b1e3cafd0b351a403937550b341">More...</a><br /></td></tr>
<tr class="separator:a9a158b1e3cafd0b351a403937550b341"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af02bb61ceab7e1b8f89c2cbcd39e01de"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1VariantType.html#af02bb61ceab7e1b8f89c2cbcd39e01de">VariantType</a> (const GVariantType* castitem)</td></tr>
<tr class="memdesc:af02bb61ceab7e1b8f89c2cbcd39e01de"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy the C item into a new <a class="el" href="classGlib_1_1VariantType.html" title="VariantType - The VariantBase type system. ">VariantType</a> instance.  <a href="#af02bb61ceab7e1b8f89c2cbcd39e01de">More...</a><br /></td></tr>
<tr class="separator:af02bb61ceab7e1b8f89c2cbcd39e01de"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae10ea525df2b241b59036de7684ae565"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1VariantType.html#ae10ea525df2b241b59036de7684ae565">VariantType</a> (const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01512.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a>&amp; type_string)</td></tr>
<tr class="memdesc:ae10ea525df2b241b59036de7684ae565"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a new <a class="el" href="classGlib_1_1VariantType.html" title="VariantType - The VariantBase type system. ">VariantType</a> corresponding to the type string given by <em>type_string</em>.  <a href="#ae10ea525df2b241b59036de7684ae565">More...</a><br /></td></tr>
<tr class="separator:ae10ea525df2b241b59036de7684ae565"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a32d8cf9c965f307b1dbabf5d8845e22a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGlib_1_1VariantType.html">VariantType</a>&amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1VariantType.html#a32d8cf9c965f307b1dbabf5d8845e22a">operator=</a> (const GVariantType* castitem)</td></tr>
<tr class="separator:a32d8cf9c965f307b1dbabf5d8845e22a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac5c9827283fad7449ba95cd144299924"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01512.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1VariantType.html#ac5c9827283fad7449ba95cd144299924">get_string</a> () const </td></tr>
<tr class="memdesc:ac5c9827283fad7449ba95cd144299924"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the type string corresponding to the given <em>type</em>.  <a href="#ac5c9827283fad7449ba95cd144299924">More...</a><br /></td></tr>
<tr class="separator:ac5c9827283fad7449ba95cd144299924"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6a87621d2363faf21a6567ef5d902667"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1VariantType.html#a6a87621d2363faf21a6567ef5d902667">is_definite</a> () const </td></tr>
<tr class="memdesc:a6a87621d2363faf21a6567ef5d902667"><td class="mdescLeft">&#160;</td><td class="mdescRight">Determines if the given <em>type</em> is definite (ie: not indefinite).  <a href="#a6a87621d2363faf21a6567ef5d902667">More...</a><br /></td></tr>
<tr class="separator:a6a87621d2363faf21a6567ef5d902667"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a904f1b6785984c07a52f4a29aa7e6acc"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1VariantType.html#a904f1b6785984c07a52f4a29aa7e6acc">is_container</a> () const </td></tr>
<tr class="memdesc:a904f1b6785984c07a52f4a29aa7e6acc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Determines if the given <em>type</em> is a container type.  <a href="#a904f1b6785984c07a52f4a29aa7e6acc">More...</a><br /></td></tr>
<tr class="separator:a904f1b6785984c07a52f4a29aa7e6acc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4f7b40578243457b772e05859ca58aff"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1VariantType.html#a4f7b40578243457b772e05859ca58aff">is_basic</a> () const </td></tr>
<tr class="memdesc:a4f7b40578243457b772e05859ca58aff"><td class="mdescLeft">&#160;</td><td class="mdescRight">Determines if the given <em>type</em> is a basic type.  <a href="#a4f7b40578243457b772e05859ca58aff">More...</a><br /></td></tr>
<tr class="separator:a4f7b40578243457b772e05859ca58aff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4eb67b2056e91fb6139ce8c801bb3176"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1VariantType.html#a4eb67b2056e91fb6139ce8c801bb3176">is_maybe</a> () const </td></tr>
<tr class="memdesc:a4eb67b2056e91fb6139ce8c801bb3176"><td class="mdescLeft">&#160;</td><td class="mdescRight">Determines if the given <em>type</em> is a maybe type.  <a href="#a4eb67b2056e91fb6139ce8c801bb3176">More...</a><br /></td></tr>
<tr class="separator:a4eb67b2056e91fb6139ce8c801bb3176"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5a05d7d692655b9ae4385c24065da273"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1VariantType.html#a5a05d7d692655b9ae4385c24065da273">is_array</a> () const </td></tr>
<tr class="memdesc:a5a05d7d692655b9ae4385c24065da273"><td class="mdescLeft">&#160;</td><td class="mdescRight">Determines if the given <em>type</em> is an array type.  <a href="#a5a05d7d692655b9ae4385c24065da273">More...</a><br /></td></tr>
<tr class="separator:a5a05d7d692655b9ae4385c24065da273"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af6f59e8ae01cac71c836c85cdd30dcb5"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1VariantType.html#af6f59e8ae01cac71c836c85cdd30dcb5">is_tuple</a> () const </td></tr>
<tr class="memdesc:af6f59e8ae01cac71c836c85cdd30dcb5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Determines if the given <em>type</em> is a tuple type.  <a href="#af6f59e8ae01cac71c836c85cdd30dcb5">More...</a><br /></td></tr>
<tr class="separator:af6f59e8ae01cac71c836c85cdd30dcb5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a843ac24bb78fb1a2fb7d21e62df0177d"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1VariantType.html#a843ac24bb78fb1a2fb7d21e62df0177d">is_dict_entry</a> () const </td></tr>
<tr class="memdesc:a843ac24bb78fb1a2fb7d21e62df0177d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Determines if the given <em>type</em> is a dictionary entry type.  <a href="#a843ac24bb78fb1a2fb7d21e62df0177d">More...</a><br /></td></tr>
<tr class="separator:a843ac24bb78fb1a2fb7d21e62df0177d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2c088b0421b0f8613fef8f9fce174c50"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1VariantType.html#a2c088b0421b0f8613fef8f9fce174c50">is_variant</a> () const </td></tr>
<tr class="memdesc:a2c088b0421b0f8613fef8f9fce174c50"><td class="mdescLeft">&#160;</td><td class="mdescRight">Determines if the given <em>type</em> is the variant type.  <a href="#a2c088b0421b0f8613fef8f9fce174c50">More...</a><br /></td></tr>
<tr class="separator:a2c088b0421b0f8613fef8f9fce174c50"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abfb9813509f7cd232efe4fe2c811bac0"><td class="memItemLeft" align="right" valign="top">guint&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1VariantType.html#abfb9813509f7cd232efe4fe2c811bac0">hash</a> () const </td></tr>
<tr class="memdesc:abfb9813509f7cd232efe4fe2c811bac0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Hashes <em>type</em>.  <a href="#abfb9813509f7cd232efe4fe2c811bac0">More...</a><br /></td></tr>
<tr class="separator:abfb9813509f7cd232efe4fe2c811bac0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a588b922bcd7f44b3aefb4883a883e1df"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1VariantType.html#a588b922bcd7f44b3aefb4883a883e1df">equal</a> (const <a class="el" href="classGlib_1_1VariantType.html">VariantType</a>&amp; other) const </td></tr>
<tr class="memdesc:a588b922bcd7f44b3aefb4883a883e1df"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compares <em>*this</em> and <em>other</em> for equality.  <a href="#a588b922bcd7f44b3aefb4883a883e1df">More...</a><br /></td></tr>
<tr class="separator:a588b922bcd7f44b3aefb4883a883e1df"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a294a688ba6d3ed2523f25365db4253a3"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1VariantType.html#a294a688ba6d3ed2523f25365db4253a3">is_subtype_of</a> (const <a class="el" href="classGlib_1_1VariantType.html">VariantType</a>&amp; supertype) const </td></tr>
<tr class="memdesc:a294a688ba6d3ed2523f25365db4253a3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks if <em>type</em> is a subtype of <em>supertype</em>.  <a href="#a294a688ba6d3ed2523f25365db4253a3">More...</a><br /></td></tr>
<tr class="separator:a294a688ba6d3ed2523f25365db4253a3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae3b6667496af1b92a4ef6eeedea68062"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGlib_1_1VariantType.html">VariantType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1VariantType.html#ae3b6667496af1b92a4ef6eeedea68062">element</a> () const </td></tr>
<tr class="memdesc:ae3b6667496af1b92a4ef6eeedea68062"><td class="mdescLeft">&#160;</td><td class="mdescRight">Determines the element type of an array or maybe type.  <a href="#ae3b6667496af1b92a4ef6eeedea68062">More...</a><br /></td></tr>
<tr class="separator:ae3b6667496af1b92a4ef6eeedea68062"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2d67b5cbfce5a23a9bab43a45a6b3501"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGlib_1_1VariantType.html">VariantType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1VariantType.html#a2d67b5cbfce5a23a9bab43a45a6b3501">first</a> () const </td></tr>
<tr class="memdesc:a2d67b5cbfce5a23a9bab43a45a6b3501"><td class="mdescLeft">&#160;</td><td class="mdescRight">Determines the first item type of a tuple or dictionary entry type.  <a href="#a2d67b5cbfce5a23a9bab43a45a6b3501">More...</a><br /></td></tr>
<tr class="separator:a2d67b5cbfce5a23a9bab43a45a6b3501"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a516269f291efca8e57f2dea6ac0875a1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGlib_1_1VariantType.html">VariantType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1VariantType.html#a516269f291efca8e57f2dea6ac0875a1">next</a> () const </td></tr>
<tr class="memdesc:a516269f291efca8e57f2dea6ac0875a1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Determines the next item type of a tuple or dictionary entry type.  <a href="#a516269f291efca8e57f2dea6ac0875a1">More...</a><br /></td></tr>
<tr class="separator:a516269f291efca8e57f2dea6ac0875a1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a38b33a104b64fdc40cd01adcfea8a5a5"><td class="memItemLeft" align="right" valign="top">gsize&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1VariantType.html#a38b33a104b64fdc40cd01adcfea8a5a5">n_items</a> () const </td></tr>
<tr class="memdesc:a38b33a104b64fdc40cd01adcfea8a5a5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Determines the number of items contained in a tuple or dictionary entry type.  <a href="#a38b33a104b64fdc40cd01adcfea8a5a5">More...</a><br /></td></tr>
<tr class="separator:a38b33a104b64fdc40cd01adcfea8a5a5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af96fc9046121be33ec629763466fd658"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGlib_1_1VariantType.html">VariantType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1VariantType.html#af96fc9046121be33ec629763466fd658">key</a> () const </td></tr>
<tr class="memdesc:af96fc9046121be33ec629763466fd658"><td class="mdescLeft">&#160;</td><td class="mdescRight">Determines the key type of a dictionary entry type.  <a href="#af96fc9046121be33ec629763466fd658">More...</a><br /></td></tr>
<tr class="separator:af96fc9046121be33ec629763466fd658"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a04d066ac063480d86da8e2f6af80d11d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGlib_1_1VariantType.html">VariantType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1VariantType.html#a04d066ac063480d86da8e2f6af80d11d">value</a> () const </td></tr>
<tr class="memdesc:a04d066ac063480d86da8e2f6af80d11d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Determines the value type of a dictionary entry type.  <a href="#a04d066ac063480d86da8e2f6af80d11d">More...</a><br /></td></tr>
<tr class="separator:a04d066ac063480d86da8e2f6af80d11d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa10abaddf0f151abcd998dad84ef9a2f"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a06912.html">std::vector</a>&lt; <a class="el" href="classGlib_1_1VariantType.html">VariantType</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1VariantType.html#aa10abaddf0f151abcd998dad84ef9a2f">get_item_types</a> () const </td></tr>
<tr class="memdesc:aa10abaddf0f151abcd998dad84ef9a2f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Determines the item types of a tuple or dictionary entry type.  <a href="#aa10abaddf0f151abcd998dad84ef9a2f">More...</a><br /></td></tr>
<tr class="separator:aa10abaddf0f151abcd998dad84ef9a2f"><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:a75cdb696a91c6fbc3cc9042bb20e66d0"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classGlib_1_1VariantType.html">VariantType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1VariantType.html#a75cdb696a91c6fbc3cc9042bb20e66d0">create_array</a> (const <a class="el" href="classGlib_1_1VariantType.html">VariantType</a>&amp;<a class="el" href="classGlib_1_1VariantType.html#ae3b6667496af1b92a4ef6eeedea68062">element</a>)</td></tr>
<tr class="memdesc:a75cdb696a91c6fbc3cc9042bb20e66d0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructs the type corresponding to an array of elements of the type <em>type</em>.  <a href="#a75cdb696a91c6fbc3cc9042bb20e66d0">More...</a><br /></td></tr>
<tr class="separator:a75cdb696a91c6fbc3cc9042bb20e66d0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeac7660b174a80c9ae1ade6da36fac15"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classGlib_1_1VariantType.html">VariantType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1VariantType.html#aeac7660b174a80c9ae1ade6da36fac15">create_maybe</a> (const <a class="el" href="classGlib_1_1VariantType.html">VariantType</a>&amp;<a class="el" href="classGlib_1_1VariantType.html#ae3b6667496af1b92a4ef6eeedea68062">element</a>)</td></tr>
<tr class="memdesc:aeac7660b174a80c9ae1ade6da36fac15"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructs the type corresponding to a maybe instance containing type <em>type</em> or Nothing.  <a href="#aeac7660b174a80c9ae1ade6da36fac15">More...</a><br /></td></tr>
<tr class="separator:aeac7660b174a80c9ae1ade6da36fac15"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1e6ee0f41b29df3b43b548c267b0c16b"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classGlib_1_1VariantType.html">VariantType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1VariantType.html#a1e6ee0f41b29df3b43b548c267b0c16b">create_tuple</a> (const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a06912.html">std::vector</a>&lt; <a class="el" href="classGlib_1_1VariantType.html">VariantType</a> &gt;&amp; items)</td></tr>
<tr class="memdesc:a1e6ee0f41b29df3b43b548c267b0c16b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructs a new tuple type, from <em>items</em>.  <a href="#a1e6ee0f41b29df3b43b548c267b0c16b">More...</a><br /></td></tr>
<tr class="separator:a1e6ee0f41b29df3b43b548c267b0c16b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae491f86f5ebda97b1a6aae8cb96c6251"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classGlib_1_1VariantType.html">VariantType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1VariantType.html#ae491f86f5ebda97b1a6aae8cb96c6251">create_dict_entry</a> (const <a class="el" href="classGlib_1_1VariantType.html">VariantType</a>&amp;<a class="el" href="classGlib_1_1VariantType.html#af96fc9046121be33ec629763466fd658">key</a>, const <a class="el" href="classGlib_1_1VariantType.html">VariantType</a>&amp;<a class="el" href="classGlib_1_1VariantType.html#a04d066ac063480d86da8e2f6af80d11d">value</a>)</td></tr>
<tr class="memdesc:ae491f86f5ebda97b1a6aae8cb96c6251"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructs the type corresponding to a dictionary entry with a key of type <em>key</em> and a value of type <em>value</em>.  <a href="#ae491f86f5ebda97b1a6aae8cb96c6251">More...</a><br /></td></tr>
<tr class="separator:ae491f86f5ebda97b1a6aae8cb96c6251"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:a9ca6d5b63454a54702ad5e890ec95d75"><td class="memItemLeft" align="right" valign="top">GVariantType*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1VariantType.html#a9ca6d5b63454a54702ad5e890ec95d75">gobject_</a></td></tr>
<tr class="separator:a9ca6d5b63454a54702ad5e890ec95d75"><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:a78bb154e5a13d78cd0d7a6bc6449d3c5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1VariantType.html#a78bb154e5a13d78cd0d7a6bc6449d3c5">swap</a> (<a class="el" href="classGlib_1_1VariantType.html">VariantType</a>&amp; lhs, <a class="el" href="classGlib_1_1VariantType.html">VariantType</a>&amp; rhs) noexcept</td></tr>
<tr class="separator:a78bb154e5a13d78cd0d7a6bc6449d3c5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7ab0237355a6c562fa30b3afc4a10332"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGlib_1_1VariantType.html">Glib::VariantType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1VariantType.html#a7ab0237355a6c562fa30b3afc4a10332">wrap</a> (GVariantType* object, bool take_copy=false)</td></tr>
<tr class="memdesc:a7ab0237355a6c562fa30b3afc4a10332"><td class="mdescLeft">&#160;</td><td class="mdescRight">A <a class="el" href="namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object.  <a href="#a7ab0237355a6c562fa30b3afc4a10332">More...</a><br /></td></tr>
<tr class="separator:a7ab0237355a6c562fa30b3afc4a10332"><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><a class="el" href="classGlib_1_1VariantType.html" title="VariantType - The VariantBase type system. ">VariantType</a> - The <a class="el" href="classGlib_1_1VariantBase.html" title="This is the base class for all Variant types. ">VariantBase</a> type system. </p>
<p>The <a class="el" href="classGlib_1_1VariantBase.html" title="This is the base class for all Variant types. ">VariantBase</a> type system is based, in large part, on the D-Bus type system, with two major changes and some minor lifting of restrictions. <a href="http://dbus.freedesktop.org/doc/dbus-specification.html">The D-Bus specification</a>, therefore, provides a significant amount of information that is useful when working with <a class="el" href="classGlib_1_1VariantBase.html" title="This is the base class for all Variant types. ">VariantBase</a>.</p>
<p>The first major change with respect to the D-Bus type system is the introduction of maybe (or "nullable") types. Any type in <a class="el" href="classGlib_1_1VariantBase.html" title="This is the base class for all Variant types. ">VariantBase</a> can be converted to a maybe type, in which case, "nothing" (or "null") becomes a valid value. Maybe types have been added by introducing the character "m" to type strings.</p>
<p>The second major change is that the <a class="el" href="classGlib_1_1VariantBase.html" title="This is the base class for all Variant types. ">VariantBase</a> type system supports the concept of "indefinite types" &#8211; types that are less specific than the normal types found in D-Bus. For example, it is possible to speak of "an
array of any type" in <a class="el" href="classGlib_1_1VariantBase.html" title="This is the base class for all Variant types. ">VariantBase</a>, where the D-Bus type system would require you to speak of "an array of integers" or "an array of strings". Indefinite types have been added by introducing the characters "*", "?" and "r" to type strings.</p>
<p>Finally, all arbitrary restrictions relating to the complexity of types are lifted along with the restriction that dictionary entries may only appear nested inside of arrays.</p>
<p>Just as in D-Bus, <a class="el" href="classGlib_1_1VariantBase.html" title="This is the base class for all Variant types. ">VariantBase</a> types are described with strings ("type
strings"). Subject to the differences mentioned above, these strings are of the same form as those found in D-Bus. Note, however: D-Bus always works in terms of messages and therefore individual type strings appear nowhere in its interface. Instead, "signatures" are a concatenation of the strings of the type of each argument in a message. <a class="el" href="classGlib_1_1VariantBase.html" title="This is the base class for all Variant types. ">VariantBase</a> deals with single values directly so <a class="el" href="classGlib_1_1VariantBase.html" title="This is the base class for all Variant types. ">VariantBase</a> type strings always describe the type of exactly one value. This means that a D-Bus signature string is generally not a valid <a class="el" href="classGlib_1_1VariantBase.html" title="This is the base class for all Variant types. ">VariantBase</a> type string &#8211; except in the case that it is the signature of a message containing exactly one argument.</p>
<p>An indefinite type is similar in spirit to what may be called an abstract type in other type systems. No value can exist that has an indefinite type as its type, but values can exist that have types that are subtypes of indefinite types. That is to say, <a class="el" href="classGlib_1_1VariantBase.html#a3c80e6f06c6e521313becc282abc8c3c" title="Determines the type of value. ">VariantBase::get_type()</a> will never return an indefinite type, but calling <a class="el" href="classGlib_1_1VariantBase.html#add8f349a4b28bcaa2f371ff0a1e2e156" title="Checks if a value has a type matching the provided type. ">VariantBase::is_of_type()</a> with an indefinite type may return <code>true</code>. For example, you cannot have a value that represents "an array of no particular type", but you can have an "array of integers" which certainly matches the type of "an array of no
particular type", since "array of integers" is a subtype of "array of no
particular type".</p>
<p>This is similar to how instances of abstract classes may not directly exist in other type systems, but instances of their non-abstract subtypes may. For example, in gtkmm, no object that has the type of Gtk::Bin can exist (since Gtk::Bin is an abstract class), but a Gtk::Window can certainly be instantiated, and you would say that the Gtk::Window is a Gtk::Bin (since Gtk::Window is a subclass of Gtk::Bin).</p>
<p>See the underlying GVariantType documentation for <a href="http://library.gnome.org/devel/glib/unstable/glib-GVariantType.html#gvariant-typestrings">detailed description of the VariantBase type strings</a>.</p>
<dl class="since_2_28"><dt><b><a class="el" href="since_2_28.html#_since_2_28000059">Since glibmm 2.28:</a></b></dt><dd></dd></dl>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a7d05abfd748f0e5917996682eb8d7b3f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Glib::VariantType::VariantType </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Constructs an invalid object. </p>
<p>E.g. for output arguments to methods. There is not much you can do with the object before it has been assigned a valid value. </p>

</div>
</div>
<a class="anchor" id="aa9f6a6269718a433540a56b874dd9e93"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Glib::VariantType::VariantType </td>
          <td>(</td>
          <td class="paramtype">GVariantType *&#160;</td>
          <td class="paramname"><em>castitem</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>make_a_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">explicit</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="addfa490c6545d0b0a3af409a1890c5b3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Glib::VariantType::VariantType </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGlib_1_1VariantType.html">VariantType</a>&amp;&#160;</td>
          <td class="paramname"><em>src</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a9b75713e8127362005aae10aa3a1e96b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Glib::VariantType::VariantType </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classGlib_1_1VariantType.html">VariantType</a>&amp;&amp;&#160;</td>
          <td class="paramname"><em>other</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 class="anchor" id="ade2e2b2fb55596457bf1de943d8a267e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Glib::VariantType::~VariantType </td>
          <td>(</td>
          <td class="paramname"></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 class="anchor" id="af02bb61ceab7e1b8f89c2cbcd39e01de"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Glib::VariantType::VariantType </td>
          <td>(</td>
          <td class="paramtype">const GVariantType *&#160;</td>
          <td class="paramname"><em>castitem</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Copy the C item into a new <a class="el" href="classGlib_1_1VariantType.html" title="VariantType - The VariantBase type system. ">VariantType</a> instance. </p>

</div>
</div>
<a class="anchor" id="ae10ea525df2b241b59036de7684ae565"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Glib::VariantType::VariantType </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01512.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a> &amp;&#160;</td>
          <td class="paramname"><em>type_string</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Creates a new <a class="el" href="classGlib_1_1VariantType.html" title="VariantType - The VariantBase type system. ">VariantType</a> corresponding to the type string given by <em>type_string</em>. </p>
<p>It is a programmer error to call this function with an invalid type string. Use string_is_valid() if you are unsure. </p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a75cdb696a91c6fbc3cc9042bb20e66d0"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classGlib_1_1VariantType.html">VariantType</a> Glib::VariantType::create_array </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGlib_1_1VariantType.html">VariantType</a>&amp;&#160;</td>
          <td class="paramname"><em>element</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>Constructs the type corresponding to an array of elements of the type <em>type</em>. </p>
<p>It is appropriate to call g_variant_type_free() on the return value.</p>
<dl class="since_2_24"><dt><b><a class="el" href="since_2_24.html#_since_2_24000024">Since glibmm 2.24:</a></b></dt><dd></dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">element</td><td>A <a class="el" href="classGlib_1_1VariantType.html" title="VariantType - The VariantBase type system. ">VariantType</a>. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A new array <a class="el" href="classGlib_1_1VariantType.html" title="VariantType - The VariantBase type system. ">VariantType</a>. </dd></dl>

</div>
</div>
<a class="anchor" id="ae491f86f5ebda97b1a6aae8cb96c6251"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classGlib_1_1VariantType.html">VariantType</a> Glib::VariantType::create_dict_entry </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGlib_1_1VariantType.html">VariantType</a>&amp;&#160;</td>
          <td class="paramname"><em>key</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classGlib_1_1VariantType.html">VariantType</a>&amp;&#160;</td>
          <td class="paramname"><em>value</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 the type corresponding to a dictionary entry with a key of type <em>key</em> and a value of type <em>value</em>. </p>
<p>It is appropriate to call g_variant_type_free() on the return value.</p>
<dl class="since_2_24"><dt><b><a class="el" href="since_2_24.html#_since_2_24000026">Since glibmm 2.24:</a></b></dt><dd></dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">key</td><td>A basic <a class="el" href="classGlib_1_1VariantType.html" title="VariantType - The VariantBase type system. ">VariantType</a>. </td></tr>
    <tr><td class="paramname">value</td><td>A <a class="el" href="classGlib_1_1VariantType.html" title="VariantType - The VariantBase type system. ">VariantType</a>. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A new dictionary entry <a class="el" href="classGlib_1_1VariantType.html" title="VariantType - The VariantBase type system. ">VariantType</a>. </dd></dl>

</div>
</div>
<a class="anchor" id="aeac7660b174a80c9ae1ade6da36fac15"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classGlib_1_1VariantType.html">VariantType</a> Glib::VariantType::create_maybe </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGlib_1_1VariantType.html">VariantType</a>&amp;&#160;</td>
          <td class="paramname"><em>element</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>Constructs the type corresponding to a maybe instance containing type <em>type</em> or Nothing. </p>
<p>It is appropriate to call g_variant_type_free() on the return value.</p>
<dl class="since_2_24"><dt><b><a class="el" href="since_2_24.html#_since_2_24000025">Since glibmm 2.24:</a></b></dt><dd></dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">element</td><td>A <a class="el" href="classGlib_1_1VariantType.html" title="VariantType - The VariantBase type system. ">VariantType</a>. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A new maybe <a class="el" href="classGlib_1_1VariantType.html" title="VariantType - The VariantBase type system. ">VariantType</a>. </dd></dl>

</div>
</div>
<a class="anchor" id="a1e6ee0f41b29df3b43b548c267b0c16b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classGlib_1_1VariantType.html">VariantType</a> Glib::VariantType::create_tuple </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a06912.html">std::vector</a>&lt; <a class="el" href="classGlib_1_1VariantType.html">VariantType</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>items</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>Constructs a new tuple type, from <em>items</em>. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">items</td><td>A vector of VariantTypes, one for each item. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A new tuple <a class="el" href="classGlib_1_1VariantType.html" title="VariantType - The VariantBase type system. ">VariantType</a>.</dd></dl>
<dl class="since_2_36"><dt><b><a class="el" href="since_2_36.html#_since_2_36000014">Since glibmm 2.36:</a></b></dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="ae3b6667496af1b92a4ef6eeedea68062"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGlib_1_1VariantType.html">VariantType</a> Glib::VariantType::element </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Determines the element type of an array or maybe type. </p>
<p>This function may only be used with array or maybe types.</p>
<dl class="since_2_24"><dt><b><a class="el" href="since_2_24.html#_since_2_24000040">Since glibmm 2.24:</a></b></dt><dd></dd></dl>
<dl class="section return"><dt>Returns</dt><dd>The element type of <em>type</em>. </dd></dl>

</div>
</div>
<a class="anchor" id="a588b922bcd7f44b3aefb4883a883e1df"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Glib::VariantType::equal </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGlib_1_1VariantType.html">VariantType</a>&amp;&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Compares <em>*this</em> and <em>other</em> for equality. </p>
<p>Only returns <code>true</code> if the types are exactly equal. Even if one type is an indefinite type and the other is a subtype of it, <code>false</code> will be returned if they are not exactly equal. If you want to check for subtypes, use <a class="el" href="classGlib_1_1VariantType.html#a294a688ba6d3ed2523f25365db4253a3" title="Checks if type is a subtype of supertype. ">is_subtype_of()</a>.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">other</td><td>The <a class="el" href="classGlib_1_1VariantType.html" title="VariantType - The VariantBase type system. ">VariantType</a> to compare with. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if <em>*this</em> and <em>other</em> are exactly equal.</dd></dl>
<dl class="since_2_24"><dt><b><a class="el" href="since_2_24.html#_since_2_24000038">Since glibmm 2.24:</a></b></dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="a2d67b5cbfce5a23a9bab43a45a6b3501"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGlib_1_1VariantType.html">VariantType</a> Glib::VariantType::first </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Determines the first item type of a tuple or dictionary entry type. </p>
<p>This function may only be used with tuple or dictionary entry types, but must not be used with the generic tuple type G_VARIANT_TYPE_TUPLE.</p>
<p>In the case of a dictionary entry type, this returns the type of the key.</p>
<p><code>nullptr</code> is returned in case of <em>type</em> being G_VARIANT_TYPE_UNIT.</p>
<p>This call, together with g_variant_type_next() provides an iterator interface over tuple and dictionary entry types.</p>
<dl class="since_2_24"><dt><b><a class="el" href="since_2_24.html#_since_2_24000041">Since glibmm 2.24:</a></b></dt><dd></dd></dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000062">Deprecated:</a></b></dt><dd>Use <a class="el" href="classGlib_1_1VariantType.html#aa10abaddf0f151abcd998dad84ef9a2f" title="Determines the item types of a tuple or dictionary entry type. ">get_item_types()</a> instead.</dd></dl>
<dl class="section return"><dt>Returns</dt><dd>The first item type of <em>type</em>, or <code>nullptr</code>. </dd></dl>

</div>
</div>
<a class="anchor" id="aa10abaddf0f151abcd998dad84ef9a2f"></a>
<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/a06912.html">std::vector</a>&lt;<a class="el" href="classGlib_1_1VariantType.html">VariantType</a>&gt; Glib::VariantType::get_item_types </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Determines the item types of a tuple or dictionary entry type. </p>
<p>This function may only be used with tuple or dictionary entry types, but must not be used with the generic tuple type VARIANT_TYPE_TUPLE.</p>
<p>In the case of a dictionary entry type, returns a vector with 2 elements, the type of the key followed by the value type.</p>
<p>An empty vector is returned in case of this VariantType being VARIANT_TYPE_UNIT.</p>
<dl class="since_2_52"><dt><b><a class="el" href="since_2_52.html#_since_2_52000001">Since glibmm 2.52:</a></b></dt><dd></dd></dl>
<dl class="section return"><dt>Returns</dt><dd>The item types of this VariantType, or an empty vector. </dd></dl>

</div>
</div>
<a class="anchor" id="ac5c9827283fad7449ba95cd144299924"></a>
<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/a01512.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a> Glib::VariantType::get_string </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the type string corresponding to the given <em>type</em>. </p>
<p>The result is not nul-terminated; in order to determine its length you must call g_variant_type_get_string_length().</p>
<p>To get a nul-terminated string, see g_variant_type_dup_string().</p>
<dl class="since_2_24"><dt><b><a class="el" href="since_2_24.html#_since_2_24000028">Since glibmm 2.24:</a></b></dt><dd></dd></dl>
<dl class="section return"><dt>Returns</dt><dd>The corresponding type string (not nul-terminated). </dd></dl>

</div>
</div>
<a class="anchor" id="a911a3cfa7c4fc5e56cca07f0cb765487"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">GVariantType* Glib::VariantType::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">

</div>
</div>
<a class="anchor" id="a6155f01582363d9d4af944d1445cff17"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const GVariantType* Glib::VariantType::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">

</div>
</div>
<a class="anchor" id="a9a158b1e3cafd0b351a403937550b341"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GVariantType* Glib::VariantType::gobj_copy </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

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

</div>
</div>
<a class="anchor" id="abfb9813509f7cd232efe4fe2c811bac0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">guint Glib::VariantType::hash </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Hashes <em>type</em>. </p>
<p>The argument type of <em>type</em> is only #gconstpointer to allow use with HashTable without function pointer casting. A valid <a class="el" href="classGlib_1_1VariantType.html" title="VariantType - The VariantBase type system. ">VariantType</a> must be provided.</p>
<dl class="since_2_24"><dt><b><a class="el" href="since_2_24.html#_since_2_24000037">Since glibmm 2.24:</a></b></dt><dd></dd></dl>
<dl class="section return"><dt>Returns</dt><dd>The hash value. </dd></dl>

</div>
</div>
<a class="anchor" id="a5a05d7d692655b9ae4385c24065da273"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Glib::VariantType::is_array </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Determines if the given <em>type</em> is an array type. </p>
<p>This is true if the type string for <em>type</em> starts with an 'a'.</p>
<p>This function returns <code>true</code> for any indefinite type for which every definite subtype is an array type &#8211; G_VARIANT_TYPE_ARRAY, for example.</p>
<dl class="since_2_24"><dt><b><a class="el" href="since_2_24.html#_since_2_24000033">Since glibmm 2.24:</a></b></dt><dd></dd></dl>
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if <em>type</em> is an array type. </dd></dl>

</div>
</div>
<a class="anchor" id="a4f7b40578243457b772e05859ca58aff"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Glib::VariantType::is_basic </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Determines if the given <em>type</em> is a basic type. </p>
<p>Basic types are booleans, bytes, integers, doubles, strings, object paths and signatures.</p>
<p>Only a basic type may be used as the key of a dictionary entry.</p>
<p>This function returns <code>false</code> for all indefinite types except G_VARIANT_TYPE_BASIC.</p>
<dl class="since_2_24"><dt><b><a class="el" href="since_2_24.html#_since_2_24000031">Since glibmm 2.24:</a></b></dt><dd></dd></dl>
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if <em>type</em> is a basic type. </dd></dl>

</div>
</div>
<a class="anchor" id="a904f1b6785984c07a52f4a29aa7e6acc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Glib::VariantType::is_container </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Determines if the given <em>type</em> is a container type. </p>
<p>Container types are any array, maybe, tuple, or dictionary entry types plus the variant type.</p>
<p>This function returns <code>true</code> for any indefinite type for which every definite subtype is a container &#8211; G_VARIANT_TYPE_ARRAY, for example.</p>
<dl class="since_2_24"><dt><b><a class="el" href="since_2_24.html#_since_2_24000030">Since glibmm 2.24:</a></b></dt><dd></dd></dl>
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if <em>type</em> is a container type. </dd></dl>

</div>
</div>
<a class="anchor" id="a6a87621d2363faf21a6567ef5d902667"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Glib::VariantType::is_definite </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Determines if the given <em>type</em> is definite (ie: not indefinite). </p>
<p>A type is definite if its type string does not contain any indefinite type characters ('*', '?', or 'r').</p>
<p>A <a class="el" href="classGlib_1_1Variant.html" title="Template class used for the specialization of the Variant&lt;&gt; classes. ">Variant</a> instance may not have an indefinite type, so calling this function on the result of g_variant_get_type() will always result in <code>true</code> being returned. Calling this function on an indefinite type like G_VARIANT_TYPE_ARRAY, however, will result in <code>false</code> being returned.</p>
<dl class="since_2_24"><dt><b><a class="el" href="since_2_24.html#_since_2_24000029">Since glibmm 2.24:</a></b></dt><dd></dd></dl>
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if <em>type</em> is definite. </dd></dl>

</div>
</div>
<a class="anchor" id="a843ac24bb78fb1a2fb7d21e62df0177d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Glib::VariantType::is_dict_entry </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Determines if the given <em>type</em> is a dictionary entry type. </p>
<p>This is true if the type string for <em>type</em> starts with a '{'.</p>
<p>This function returns <code>true</code> for any indefinite type for which every definite subtype is a dictionary entry type &#8211; G_VARIANT_TYPE_DICT_ENTRY, for example.</p>
<dl class="since_2_24"><dt><b><a class="el" href="since_2_24.html#_since_2_24000035">Since glibmm 2.24:</a></b></dt><dd></dd></dl>
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if <em>type</em> is a dictionary entry type. </dd></dl>

</div>
</div>
<a class="anchor" id="a4eb67b2056e91fb6139ce8c801bb3176"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Glib::VariantType::is_maybe </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Determines if the given <em>type</em> is a maybe type. </p>
<p>This is true if the type string for <em>type</em> starts with an 'm'.</p>
<p>This function returns <code>true</code> for any indefinite type for which every definite subtype is a maybe type &#8211; G_VARIANT_TYPE_MAYBE, for example.</p>
<dl class="since_2_24"><dt><b><a class="el" href="since_2_24.html#_since_2_24000032">Since glibmm 2.24:</a></b></dt><dd></dd></dl>
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if <em>type</em> is a maybe type. </dd></dl>

</div>
</div>
<a class="anchor" id="a294a688ba6d3ed2523f25365db4253a3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Glib::VariantType::is_subtype_of </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGlib_1_1VariantType.html">VariantType</a>&amp;&#160;</td>
          <td class="paramname"><em>supertype</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Checks if <em>type</em> is a subtype of <em>supertype</em>. </p>
<p>This function returns <code>true</code> if <em>type</em> is a subtype of <em>supertype</em>. All types are considered to be subtypes of themselves. Aside from that, only indefinite types can have subtypes.</p>
<dl class="since_2_24"><dt><b><a class="el" href="since_2_24.html#_since_2_24000039">Since glibmm 2.24:</a></b></dt><dd></dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">supertype</td><td>A <a class="el" href="classGlib_1_1VariantType.html" title="VariantType - The VariantBase type system. ">VariantType</a>. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if <em>type</em> is a subtype of <em>supertype</em>. </dd></dl>

</div>
</div>
<a class="anchor" id="af6f59e8ae01cac71c836c85cdd30dcb5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Glib::VariantType::is_tuple </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Determines if the given <em>type</em> is a tuple type. </p>
<p>This is true if the type string for <em>type</em> starts with a '(' or if <em>type</em> is G_VARIANT_TYPE_TUPLE.</p>
<p>This function returns <code>true</code> for any indefinite type for which every definite subtype is a tuple type &#8211; G_VARIANT_TYPE_TUPLE, for example.</p>
<dl class="since_2_24"><dt><b><a class="el" href="since_2_24.html#_since_2_24000034">Since glibmm 2.24:</a></b></dt><dd></dd></dl>
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if <em>type</em> is a tuple type. </dd></dl>

</div>
</div>
<a class="anchor" id="a2c088b0421b0f8613fef8f9fce174c50"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Glib::VariantType::is_variant </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Determines if the given <em>type</em> is the variant type. </p>
<dl class="since_2_24"><dt><b><a class="el" href="since_2_24.html#_since_2_24000036">Since glibmm 2.24:</a></b></dt><dd></dd></dl>
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if <em>type</em> is the variant type. </dd></dl>

</div>
</div>
<a class="anchor" id="af96fc9046121be33ec629763466fd658"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGlib_1_1VariantType.html">VariantType</a> Glib::VariantType::key </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Determines the key type of a dictionary entry type. </p>
<p>This function may only be used with a dictionary entry type. Other than the additional restriction, this call is equivalent to g_variant_type_first().</p>
<dl class="since_2_24"><dt><b><a class="el" href="since_2_24.html#_since_2_24000044">Since glibmm 2.24:</a></b></dt><dd></dd></dl>
<dl class="section return"><dt>Returns</dt><dd>The key type of the dictionary entry. </dd></dl>

</div>
</div>
<a class="anchor" id="a38b33a104b64fdc40cd01adcfea8a5a5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">gsize Glib::VariantType::n_items </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Determines the number of items contained in a tuple or dictionary entry type. </p>
<p>This function may only be used with tuple or dictionary entry types, but must not be used with the generic tuple type G_VARIANT_TYPE_TUPLE.</p>
<p>In the case of a dictionary entry type, this function will always return 2.</p>
<dl class="since_2_24"><dt><b><a class="el" href="since_2_24.html#_since_2_24000043">Since glibmm 2.24:</a></b></dt><dd></dd></dl>
<dl class="section return"><dt>Returns</dt><dd>The number of items in <em>type</em>. </dd></dl>

</div>
</div>
<a class="anchor" id="a516269f291efca8e57f2dea6ac0875a1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGlib_1_1VariantType.html">VariantType</a> Glib::VariantType::next </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Determines the next item type of a tuple or dictionary entry type. </p>
<p><em>type</em> must be the result of a previous call to g_variant_type_first() or g_variant_type_next().</p>
<p>If called on the key type of a dictionary entry then this call returns the value type. If called on the value type of a dictionary entry then this call returns <code>nullptr</code>.</p>
<p>For tuples, <code>nullptr</code> is returned when <em>type</em> is the last item in a tuple.</p>
<dl class="since_2_24"><dt><b><a class="el" href="since_2_24.html#_since_2_24000042">Since glibmm 2.24:</a></b></dt><dd></dd></dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000063">Deprecated:</a></b></dt><dd>Use <a class="el" href="classGlib_1_1VariantType.html#aa10abaddf0f151abcd998dad84ef9a2f" title="Determines the item types of a tuple or dictionary entry type. ">get_item_types()</a> instead.</dd></dl>
<dl class="section return"><dt>Returns</dt><dd>The next <a class="el" href="classGlib_1_1VariantType.html" title="VariantType - The VariantBase type system. ">VariantType</a> after <em>type</em>, or <code>nullptr</code>. </dd></dl>

</div>
</div>
<a class="anchor" id="a0d63c3af32d9c2eeeeea3009207457fe"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGlib_1_1VariantType.html">VariantType</a>&amp; Glib::VariantType::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGlib_1_1VariantType.html">VariantType</a>&amp;&#160;</td>
          <td class="paramname"><em>src</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a05e8c7bc32e1cae7c8c7c4044f32e996"></a>
<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="classGlib_1_1VariantType.html">VariantType</a>&amp; Glib::VariantType::operator= </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classGlib_1_1VariantType.html">VariantType</a>&amp;&amp;&#160;</td>
          <td class="paramname"><em>other</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 class="anchor" id="a32d8cf9c965f307b1dbabf5d8845e22a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGlib_1_1VariantType.html">VariantType</a>&amp; Glib::VariantType::operator= </td>
          <td>(</td>
          <td class="paramtype">const GVariantType *&#160;</td>
          <td class="paramname"><em>castitem</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="aaa7b5d84857755c4cc9f6dfec22ccfbd"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Glib::VariantType::swap </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classGlib_1_1VariantType.html">VariantType</a>&amp;&#160;</td>
          <td class="paramname"><em>other</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 class="anchor" id="a04d066ac063480d86da8e2f6af80d11d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGlib_1_1VariantType.html">VariantType</a> Glib::VariantType::value </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Determines the value type of a dictionary entry type. </p>
<p>This function may only be used with a dictionary entry type.</p>
<dl class="since_2_24"><dt><b><a class="el" href="since_2_24.html#_since_2_24000045">Since glibmm 2.24:</a></b></dt><dd></dd></dl>
<dl class="section return"><dt>Returns</dt><dd>The value type of the dictionary entry. </dd></dl>

</div>
</div>
<h2 class="groupheader">Friends And Related Function Documentation</h2>
<a class="anchor" id="a78bb154e5a13d78cd0d7a6bc6449d3c5"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void swap </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classGlib_1_1VariantType.html">VariantType</a>&amp;&#160;</td>
          <td class="paramname"><em>lhs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classGlib_1_1VariantType.html">VariantType</a>&amp;&#160;</td>
          <td class="paramname"><em>rhs</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">related</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">lhs</td><td>The left-hand side </td></tr>
    <tr><td class="paramname">rhs</td><td>The right-hand side </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a7ab0237355a6c562fa30b3afc4a10332"></a>
<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="classGlib_1_1VariantType.html">Glib::VariantType</a> wrap </td>
          <td>(</td>
          <td class="paramtype">GVariantType *&#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#a671306f4a3a0cae5ab4d7a9d54886592">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>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="a9ca6d5b63454a54702ad5e890ec95d75"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">GVariantType* Glib::VariantType::gobject_</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Tue Mar 19 2019 09:56:47 for glibmm by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>