Files
rtabmap/api/latest/UVariant_8h.html
T

171 lines
9.3 KiB
HTML

<!-- HTML header for doxygen 1.9.8-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>RTAB-Map: utilite/include/rtabmap/utilite/UVariant.h File 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="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="doxygen-awesome.css" rel="stylesheet" type="text/css"/>
<link href="custom.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript">window.RTABMAP_DOC_ROOT="";</script>
<script type="text/javascript" src="../versions.js"></script>
<script type="text/javascript" src="version-switcher.js"></script>
<script type="text/javascript" src="doxygen-awesome-darkmode-toggle.js"></script>
<script type="text/javascript">DoxygenAwesomeDarkModeToggle.init();</script>
</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 id="projectrow">
<td id="projectalign">
<div id="projectname">RTAB-Map<span id="projectnumber">&#160;0.23.10</span>
</div>
<div id="projectbrief">Real-Time Appearance-Based Mapping</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.8 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('UVariant_8h.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>
<div class="header">
<div class="summary">
<a href="#nested-classes">Classes</a> </div>
<div class="headertitle"><div class="title">UVariant.h File Reference</div></div>
</div><!--header-->
<div class="contents">
<p><a class="el" href="classUVariant.html" title="A variant type that can hold values of different types.">UVariant</a> class for storing and converting between different data types.
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &quot;rtabmap/utilite/utilite_export.h&quot;</code><br />
<code>#include &lt;string&gt;</code><br />
<code>#include &lt;vector&gt;</code><br />
</div><div class="textblock"><div class="dynheader">
Include dependency graph for UVariant.h:</div>
<div class="dyncontent">
<div class="center"><img src="UVariant_8h__incl.png" border="0" usemap="#autilite_2include_2rtabmap_2utilite_2UVariant_8h" alt=""/></div>
<map name="autilite_2include_2rtabmap_2utilite_2UVariant_8h" id="autilite_2include_2rtabmap_2utilite_2UVariant_8h">
<area shape="rect" title="UVariant class for storing and converting between different data types." alt="" coords="135,5,306,45"/>
<area shape="rect" title=" " alt="" coords="5,93,167,133"/>
<area shape="poly" title=" " alt="" coords="192,48,129,88,126,84,189,43"/>
<area shape="rect" title=" " alt="" coords="191,101,250,126"/>
<area shape="poly" title=" " alt="" coords="223,46,223,87,218,87,218,46"/>
<area shape="rect" title=" " alt="" coords="275,101,337,126"/>
<area shape="poly" title=" " alt="" coords="241,44,286,89,283,92,238,47"/>
</map>
</div>
</div><div class="textblock"><div class="dynheader">
This graph shows which files directly or indirectly include this file:</div>
<div class="dyncontent">
<div class="center"><img src="UVariant_8h__dep__incl.png" border="0" usemap="#autilite_2include_2rtabmap_2utilite_2UVariant_8hdep" alt=""/></div>
<map name="autilite_2include_2rtabmap_2utilite_2UVariant_8hdep" id="autilite_2include_2rtabmap_2utilite_2UVariant_8hdep">
<area shape="rect" title="UVariant class for storing and converting between different data types." alt="" coords="107,5,277,45"/>
<area shape="rect" href="RtabmapEvent_8h_source.html" title=" " alt="" coords="5,93,181,133"/>
<area shape="poly" title=" " alt="" coords="162,56,117,95,113,91,158,52"/>
<area shape="rect" href="UtiLite_8h_source.html" title=" " alt="" coords="205,93,376,133"/>
<area shape="poly" title=" " alt="" coords="226,52,271,91,267,95,222,56"/>
<area shape="rect" href="RtabmapThread_8h_source.html" title=" " alt="" coords="5,181,181,221"/>
<area shape="poly" title=" " alt="" coords="96,147,96,181,91,181,91,147"/>
</map>
</div>
</div>
<p><a href="UVariant_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="nested-classes" name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classUVariant.html">UVariant</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">A variant type that can hold values of different types. <a href="classUVariant.html#details">More...</a><br /></td></tr>
<tr class="separator:"><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="classUVariant.html" title="A variant type that can hold values of different types.">UVariant</a> class for storing and converting between different data types. </p>
<p>This class provides a type-safe way to store values of different types and convert between them. It supports basic types (bool, char, int, float, etc.) and arrays of these types.</p>
<p>Example: </p><div class="fragment"><div class="line"><a class="code hl_class" href="classUVariant.html">UVariant</a> v(42);</div>
<div class="line"><span class="keywordflow">if</span>(v.isInt())</div>
<div class="line">{</div>
<div class="line"> <span class="keywordtype">int</span> value = v.toInt();</div>
<div class="line">}</div>
<div class="ttc" id="aclassUVariant_html"><div class="ttname"><a href="classUVariant.html">UVariant</a></div><div class="ttdoc">A variant type that can hold values of different types.</div><div class="ttdef"><b>Definition</b> <a href="UVariant_8h_source.html#l00053">UVariant.h:54</a></div></div>
</div><!-- fragment -->
<p class="definition">Definition in file <a class="el" href="UVariant_8h_source.html">UVariant.h</a>.</p>
</div></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="dir_7c77c469ef71e5893c1567cf621a9d83.html">utilite</a></li><li class="navelem"><a class="el" href="dir_5807fd1f37f21884b665e4f5337b2441.html">include</a></li><li class="navelem"><a class="el" href="dir_d5b9494e18cb3ada3ef427a965bb34ab.html">rtabmap</a></li><li class="navelem"><a class="el" href="dir_85e098119c0e838040cd00f42e29c3c2.html">utilite</a></li><li class="navelem"><a class="el" href="UVariant_8h.html">UVariant.h</a></li>
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
</ul>
</div>
</body>
</html>