GpgFrontend-Doxygen/docs/html/classGpgFrontend_1_1ThreadSafeMap.html

173 lines
10 KiB
HTML
Raw Normal View History

<!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">
<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.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>GpgFrontend Project: GpgFrontend::ThreadSafeMap&lt; Key, Value &gt; Class Template 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" />
</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">GpgFrontend Project
</div>
<div id="projectbrief">A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'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:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(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:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('classGpgFrontend_1_1ThreadSafeMap.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">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div class="header">
<div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="classGpgFrontend_1_1ThreadSafeMap-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">GpgFrontend::ThreadSafeMap&lt; Key, Value &gt; Class Template Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
Inheritance diagram for GpgFrontend::ThreadSafeMap&lt; Key, Value &gt;:</div>
<div class="dyncontent">
<div class="center"><img src="classGpgFrontend_1_1ThreadSafeMap__inherit__graph.png" border="0" usemap="#aGpgFrontend_1_1ThreadSafeMap_3_01Key_00_01Value_01_4_inherit__map" alt="Inheritance graph"/></div>
<map name="aGpgFrontend_1_1ThreadSafeMap_3_01Key_00_01Value_01_4_inherit__map" id="aGpgFrontend_1_1ThreadSafeMap_3_01Key_00_01Value_01_4_inherit__map">
<area shape="rect" title=" " alt="" coords="5,5,220,200"/>
<area shape="rect" href="classGpgFrontend_1_1ThreadSafeMap.html" title=" " alt="" coords="5,277,220,487"/>
</map>
</div>
<div class="dynheader">
Collaboration diagram for GpgFrontend::ThreadSafeMap&lt; Key, Value &gt;:</div>
<div class="dyncontent">
<div class="center"><img src="classGpgFrontend_1_1ThreadSafeMap__coll__graph.png" border="0" usemap="#aGpgFrontend_1_1ThreadSafeMap_3_01Key_00_01Value_01_4_coll__map" alt="Collaboration graph"/></div>
<map name="aGpgFrontend_1_1ThreadSafeMap_3_01Key_00_01Value_01_4_coll__map" id="aGpgFrontend_1_1ThreadSafeMap_3_01Key_00_01Value_01_4_coll__map">
<area shape="rect" title=" " alt="" coords="37,455,252,620"/>
<area shape="rect" title=" " alt="" coords="5,293,148,370"/>
<area shape="rect" title=" " alt="" coords="172,285,349,377"/>
<area shape="rect" title=" " alt="" coords="193,145,328,223"/>
<area shape="rect" title=" " alt="" coords="204,5,243,83"/>
<area shape="rect" title=" " alt="" coords="280,5,319,83"/>
</map>
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:ae47d44e31883547e285e5366db23a0fe"><td class="memItemLeft" align="right" valign="top"><a id="ae47d44e31883547e285e5366db23a0fe"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><b>MapType</b> = std::map&lt; Key, Value &gt;</td></tr>
<tr class="separator:ae47d44e31883547e285e5366db23a0fe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af1a2463215950aab4068f0ac7aaf4be2"><td class="memItemLeft" align="right" valign="top"><a id="af1a2463215950aab4068f0ac7aaf4be2"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><b>IteratorType</b> = typename MapType::iterator</td></tr>
<tr class="separator:af1a2463215950aab4068f0ac7aaf4be2"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><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:a8499e210ffb71c52cdeb309269127157"><td class="memItemLeft" align="right" valign="top"><a id="a8499e210ffb71c52cdeb309269127157"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>insert</b> (const Key &amp;key, const Value &amp;value)</td></tr>
<tr class="separator:a8499e210ffb71c52cdeb309269127157"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a76a53b29aa6246066a28838f1edecbbc"><td class="memItemLeft" align="right" valign="top"><a id="a76a53b29aa6246066a28838f1edecbbc"></a>
std::optional&lt; Value &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>get</b> (const Key &amp;key)</td></tr>
<tr class="separator:a76a53b29aa6246066a28838f1edecbbc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adf6a7f5770e39645bfc97b3f1a5ed93e"><td class="memItemLeft" align="right" valign="top"><a id="adf6a7f5770e39645bfc97b3f1a5ed93e"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>exists</b> (const Key &amp;key)</td></tr>
<tr class="separator:adf6a7f5770e39645bfc97b3f1a5ed93e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a894aa615f685990f88faaac4df4c1924"><td class="memItemLeft" align="right" valign="top"><a id="a894aa615f685990f88faaac4df4c1924"></a>
IteratorType&#160;</td><td class="memItemRight" valign="bottom"><b>begin</b> ()</td></tr>
<tr class="separator:a894aa615f685990f88faaac4df4c1924"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7edfa6ed1e9ab39648df92416de860ef"><td class="memItemLeft" align="right" valign="top"><a id="a7edfa6ed1e9ab39648df92416de860ef"></a>
IteratorType&#160;</td><td class="memItemRight" valign="bottom"><b>end</b> ()</td></tr>
<tr class="separator:a7edfa6ed1e9ab39648df92416de860ef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a11ef5fe7417c123d4bb5d0445e36f8c7"><td class="memItemLeft" align="right" valign="top"><a id="a11ef5fe7417c123d4bb5d0445e36f8c7"></a>
<a class="el" href="classGpgFrontend_1_1ThreadSafeMap.html">ThreadSafeMap</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>mirror</b> ()</td></tr>
<tr class="separator:a11ef5fe7417c123d4bb5d0445e36f8c7"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:a2058ecb5e51a52f0d1721aa7de6943ee"><td class="memItemLeft" align="right" valign="top"><a id="a2058ecb5e51a52f0d1721aa7de6943ee"></a>
MapType&#160;</td><td class="memItemRight" valign="bottom"><b>map_mirror_</b></td></tr>
<tr class="separator:a2058ecb5e51a52f0d1721aa7de6943ee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a86951ca9a069cc520549757437b01332"><td class="memItemLeft" align="right" valign="top"><a id="a86951ca9a069cc520549757437b01332"></a>
MapType&#160;</td><td class="memItemRight" valign="bottom"><b>map_</b></td></tr>
<tr class="separator:a86951ca9a069cc520549757437b01332"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acc5f153d80e6930caaa16315e938a044"><td class="memItemLeft" align="right" valign="top"><a id="acc5f153d80e6930caaa16315e938a044"></a>
std::shared_mutex&#160;</td><td class="memItemRight" valign="bottom"><b>mutex_</b></td></tr>
<tr class="separator:acc5f153d80e6930caaa16315e938a044"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>src/core/function/<a class="el" href="CacheManager_8h_source.html">CacheManager.h</a></li>
</ul>
</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="namespaceGpgFrontend.html">GpgFrontend</a></li><li class="navelem"><a class="el" href="classGpgFrontend_1_1ThreadSafeMap.html">ThreadSafeMap</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.1 </li>
</ul>
</div>
</body>
</html>