blob: b3d59da652250cba40ff20842ac77783dcc29f58 [file] [log] [blame]
<!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.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Apache Geode Native .NET Reference: Apache::Geode::Client::CacheableBuiltinKey&lt; TNative, TManaged, TYPEID &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>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(initResizable);
/* @license-end */</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">Apache Geode Native .NET Reference
&#160;<span id="projectnumber">1.13.1</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.15 -->
<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');
/* @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('a00418.html','');});
/* @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-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#properties">Properties</a> </div>
<div class="headertitle">
<div class="title">Apache::Geode::Client::CacheableBuiltinKey&lt; TNative, TManaged, TYPEID &gt; Class Template Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>An immutable template wrapper for C++ <code><a class="el" href="a00498.html" title="This class wraps the native C++ apache::geode::client::Serializable objects as managed ....">CacheableKey</a></code>s that can serve as a distributable key object for caching.
<a href="a00418.html#details">More...</a></p>
<p>Inherits Apache::Geode::Client::IDataSerializablePrimitive, and <a class="el" href="a00498.html">Apache::Geode::Client::CacheableKey</a>.</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:a855812997a0b49fc377a6fad311effe5"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00418.html#a855812997a0b49fc377a6fad311effe5">CacheableBuiltinKey</a> ()</td></tr>
<tr class="memdesc:a855812997a0b49fc377a6fad311effe5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Allocates a new instance <a href="#a855812997a0b49fc377a6fad311effe5">More...</a><br /></td></tr>
<tr class="separator:a855812997a0b49fc377a6fad311effe5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab913ea5fc6e1abd96420288e9fbb7380"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00418.html#ab913ea5fc6e1abd96420288e9fbb7380">CacheableBuiltinKey</a> (TManaged value)</td></tr>
<tr class="memdesc:ab913ea5fc6e1abd96420288e9fbb7380"><td class="mdescLeft">&#160;</td><td class="mdescRight">Allocates a new instance with the given value. <a href="#ab913ea5fc6e1abd96420288e9fbb7380">More...</a><br /></td></tr>
<tr class="separator:ab913ea5fc6e1abd96420288e9fbb7380"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0cde4d19021ec7c00c9024d1f8a439ec"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00418.html#a0cde4d19021ec7c00c9024d1f8a439ec">Equals</a> (<a class="el" href="a00902.html">ICacheableKey</a>^ other) override</td></tr>
<tr class="memdesc:a0cde4d19021ec7c00c9024d1f8a439ec"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return true if this key matches other object. <a href="#a0cde4d19021ec7c00c9024d1f8a439ec">More...</a><br /></td></tr>
<tr class="separator:a0cde4d19021ec7c00c9024d1f8a439ec"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afc250b7a83d89a264ca57903aa9beaf4"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00418.html#afc250b7a83d89a264ca57903aa9beaf4">Equals</a> (Object^ obj) override</td></tr>
<tr class="memdesc:afc250b7a83d89a264ca57903aa9beaf4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return true if this key matches other object. <a href="#afc250b7a83d89a264ca57903aa9beaf4">More...</a><br /></td></tr>
<tr class="separator:afc250b7a83d89a264ca57903aa9beaf4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9a88344340ac7b9d298672439f264997"><td class="memItemLeft" align="right" valign="top">virtual System::Int32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00498.html#a9a88344340ac7b9d298672439f264997">GetHashCode</a> () override</td></tr>
<tr class="memdesc:a9a88344340ac7b9d298672439f264997"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the hashcode for this key. <a href="#a9a88344340ac7b9d298672439f264997">More...</a><br /></td></tr>
<tr class="separator:a9a88344340ac7b9d298672439f264997"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af58568d503b71f832b3c46387de3211e"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00418.html#af58568d503b71f832b3c46387de3211e">operator==</a> (TManaged other)</td></tr>
<tr class="memdesc:af58568d503b71f832b3c46387de3211e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Comparison operator against another value. <a href="#af58568d503b71f832b3c46387de3211e">More...</a><br /></td></tr>
<tr class="separator:af58568d503b71f832b3c46387de3211e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a93998b074515d5609416e8a633e71333"><td class="memItemLeft" align="right" valign="top">String ^&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00418.html#a93998b074515d5609416e8a633e71333">ToString</a> () override</td></tr>
<tr class="memdesc:a93998b074515d5609416e8a633e71333"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return a string representation of the object. <a href="#a93998b074515d5609416e8a633e71333">More...</a><br /></td></tr>
<tr class="separator:a93998b074515d5609416e8a633e71333"><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:a35d8b124f0c74119bc2b562eb6a1db01"><td class="memItemLeft" align="right" valign="top">static&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00498.html#a35d8b124f0c74119bc2b562eb6a1db01">operator CacheableKey^</a> (bool value)</td></tr>
<tr class="memdesc:a35d8b124f0c74119bc2b562eb6a1db01"><td class="mdescLeft">&#160;</td><td class="mdescRight">Implicit conversion operator from a boolean to a <code><a class="el" href="a00498.html" title="This class wraps the native C++ apache::geode::client::Serializable objects as managed ....">CacheableKey</a></code>. <a href="#a35d8b124f0c74119bc2b562eb6a1db01">More...</a><br /></td></tr>
<tr class="separator:a35d8b124f0c74119bc2b562eb6a1db01"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adb03559f0e734c75992ee5a949d88a4f"><td class="memItemLeft" align="right" valign="top">static&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00498.html#adb03559f0e734c75992ee5a949d88a4f">operator CacheableKey^</a> (Byte value)</td></tr>
<tr class="memdesc:adb03559f0e734c75992ee5a949d88a4f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Implicit conversion operator from a byte to a <code><a class="el" href="a00498.html" title="This class wraps the native C++ apache::geode::client::Serializable objects as managed ....">CacheableKey</a></code>. <a href="#adb03559f0e734c75992ee5a949d88a4f">More...</a><br /></td></tr>
<tr class="separator:adb03559f0e734c75992ee5a949d88a4f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeda53e97287406532f3dde523a5c6674"><td class="memItemLeft" align="right" valign="top">static&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00498.html#aeda53e97287406532f3dde523a5c6674">operator CacheableKey^</a> (Double value)</td></tr>
<tr class="memdesc:aeda53e97287406532f3dde523a5c6674"><td class="mdescLeft">&#160;</td><td class="mdescRight">Implicit conversion operator from a double to a <code><a class="el" href="a00498.html" title="This class wraps the native C++ apache::geode::client::Serializable objects as managed ....">CacheableKey</a></code>. <a href="#aeda53e97287406532f3dde523a5c6674">More...</a><br /></td></tr>
<tr class="separator:aeda53e97287406532f3dde523a5c6674"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aefc98e13c9435b6a17ca21ae9e58f45c"><td class="memItemLeft" align="right" valign="top">static&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00498.html#aefc98e13c9435b6a17ca21ae9e58f45c">operator CacheableKey^</a> (Single value)</td></tr>
<tr class="memdesc:aefc98e13c9435b6a17ca21ae9e58f45c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Implicit conversion operator from a float to a <code><a class="el" href="a00498.html" title="This class wraps the native C++ apache::geode::client::Serializable objects as managed ....">CacheableKey</a></code>. <a href="#aefc98e13c9435b6a17ca21ae9e58f45c">More...</a><br /></td></tr>
<tr class="separator:aefc98e13c9435b6a17ca21ae9e58f45c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac1d43d99eb1699ff51cd109721a55d0b"><td class="memItemLeft" align="right" valign="top">static&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00498.html#ac1d43d99eb1699ff51cd109721a55d0b">operator CacheableKey^</a> (System::Int16 value)</td></tr>
<tr class="memdesc:ac1d43d99eb1699ff51cd109721a55d0b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Implicit conversion operator from a 16-bit integer to a <code><a class="el" href="a00498.html" title="This class wraps the native C++ apache::geode::client::Serializable objects as managed ....">CacheableKey</a></code>. <a href="#ac1d43d99eb1699ff51cd109721a55d0b">More...</a><br /></td></tr>
<tr class="separator:ac1d43d99eb1699ff51cd109721a55d0b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7097ceae6f88dc136233b150da8859c4"><td class="memItemLeft" align="right" valign="top">static&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00498.html#a7097ceae6f88dc136233b150da8859c4">operator CacheableKey^</a> (Char value)</td></tr>
<tr class="memdesc:a7097ceae6f88dc136233b150da8859c4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Implicit conversion operator from a character to a <code><a class="el" href="a00498.html" title="This class wraps the native C++ apache::geode::client::Serializable objects as managed ....">CacheableKey</a></code>. <a href="#a7097ceae6f88dc136233b150da8859c4">More...</a><br /></td></tr>
<tr class="separator:a7097ceae6f88dc136233b150da8859c4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a46ac082503f3cfb7b38ff0eb33489be8"><td class="memItemLeft" align="right" valign="top">static&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00498.html#a46ac082503f3cfb7b38ff0eb33489be8">operator CacheableKey^</a> (System::Int32 value)</td></tr>
<tr class="memdesc:a46ac082503f3cfb7b38ff0eb33489be8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Implicit conversion operator from a 32-bit integer to a <code><a class="el" href="a00498.html" title="This class wraps the native C++ apache::geode::client::Serializable objects as managed ....">CacheableKey</a></code>. <a href="#a46ac082503f3cfb7b38ff0eb33489be8">More...</a><br /></td></tr>
<tr class="separator:a46ac082503f3cfb7b38ff0eb33489be8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1a70369be59b5a8541c506910b6e5e71"><td class="memItemLeft" align="right" valign="top">static&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00498.html#a1a70369be59b5a8541c506910b6e5e71">operator CacheableKey^</a> (System::Int64 value)</td></tr>
<tr class="memdesc:a1a70369be59b5a8541c506910b6e5e71"><td class="mdescLeft">&#160;</td><td class="mdescRight">Implicit conversion operator from a 64-bit integer to a <code><a class="el" href="a00498.html" title="This class wraps the native C++ apache::geode::client::Serializable objects as managed ....">CacheableKey</a></code>. <a href="#a1a70369be59b5a8541c506910b6e5e71">More...</a><br /></td></tr>
<tr class="separator:a1a70369be59b5a8541c506910b6e5e71"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adcc218644681073a3a9d151aea9c7f80"><td class="memItemLeft" align="right" valign="top">static&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00498.html#adcc218644681073a3a9d151aea9c7f80">operator CacheableKey^</a> (String^ value)</td></tr>
<tr class="memdesc:adcc218644681073a3a9d151aea9c7f80"><td class="mdescLeft">&#160;</td><td class="mdescRight">Implicit conversion operator from a string to a <code><a class="el" href="a00498.html" title="This class wraps the native C++ apache::geode::client::Serializable objects as managed ....">CacheableKey</a></code>. <a href="#adcc218644681073a3a9d151aea9c7f80">More...</a><br /></td></tr>
<tr class="separator:adcc218644681073a3a9d151aea9c7f80"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:a8f71050a9589fb6c825a81dfa078a277"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00418.html#a8f71050a9589fb6c825a81dfa078a277">CacheableBuiltinKey</a> (std::shared_ptr&lt; native::Serializable &gt; nativeptr)</td></tr>
<tr class="memdesc:a8f71050a9589fb6c825a81dfa078a277"><td class="mdescLeft">&#160;</td><td class="mdescRight">Protected constructor to wrap a native object pointer <a href="#a8f71050a9589fb6c825a81dfa078a277">More...</a><br /></td></tr>
<tr class="separator:a8f71050a9589fb6c825a81dfa078a277"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="properties"></a>
Properties</h2></td></tr>
<tr class="memitem:a961265733e9d83372f8facb7d88b4c78"><td class="memItemLeft" align="right" valign="top">System::UInt64&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01022.html#a961265733e9d83372f8facb7d88b4c78">ObjectSize</a><code> [get]</code></td></tr>
<tr class="memdesc:a961265733e9d83372f8facb7d88b4c78"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the size of this object in bytes. <a href="#a961265733e9d83372f8facb7d88b4c78">More...</a><br /></td></tr>
<tr class="separator:a961265733e9d83372f8facb7d88b4c78"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af073822a47dac5d41afb64df6ad52fee"><td class="memItemLeft" align="right" valign="top">virtual System::UInt64&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01114.html#af073822a47dac5d41afb64df6ad52fee">ObjectSize</a><code> [get]</code></td></tr>
<tr class="memdesc:af073822a47dac5d41afb64df6ad52fee"><td class="mdescLeft">&#160;</td><td class="mdescRight">return the size of this object in bytes <a href="#af073822a47dac5d41afb64df6ad52fee">More...</a><br /></td></tr>
<tr class="separator:af073822a47dac5d41afb64df6ad52fee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aad5d4b67cd0b81ec0c0e953f81a3a175"><td class="memItemLeft" align="right" valign="top">TManaged&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00418.html#aad5d4b67cd0b81ec0c0e953f81a3a175">Value</a><code> [get]</code></td></tr>
<tr class="memdesc:aad5d4b67cd0b81ec0c0e953f81a3a175"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the value. <a href="#aad5d4b67cd0b81ec0c0e953f81a3a175">More...</a><br /></td></tr>
<tr class="separator:aad5d4b67cd0b81ec0c0e953f81a3a175"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><h3>template&lt;typename TNative, typename TManaged, int8_t TYPEID&gt;<br />
class Apache::Geode::Client::CacheableBuiltinKey&lt; TNative, TManaged, TYPEID &gt;</h3>
<p>An immutable template wrapper for C++ <code><a class="el" href="a00498.html" title="This class wraps the native C++ apache::geode::client::Serializable objects as managed ....">CacheableKey</a></code>s that can serve as a distributable key object for caching. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a855812997a0b49fc377a6fad311effe5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a855812997a0b49fc377a6fad311effe5">&#9670;&nbsp;</a></span>CacheableBuiltinKey() <span class="overload">[1/3]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename TNative, typename TManaged, int8_t TYPEID&gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00418.html">Apache::Geode::Client::CacheableBuiltinKey</a>&lt; TNative, TManaged, TYPEID &gt;::<a class="el" href="a00418.html">CacheableBuiltinKey</a> </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Allocates a new instance </p>
</div>
</div>
<a id="ab913ea5fc6e1abd96420288e9fbb7380"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab913ea5fc6e1abd96420288e9fbb7380">&#9670;&nbsp;</a></span>CacheableBuiltinKey() <span class="overload">[2/3]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename TNative, typename TManaged, int8_t TYPEID&gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00418.html">Apache::Geode::Client::CacheableBuiltinKey</a>&lt; TNative, TManaged, TYPEID &gt;::<a class="el" href="a00418.html">CacheableBuiltinKey</a> </td>
<td>(</td>
<td class="paramtype">TManaged&#160;</td>
<td class="paramname"><em>value</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Allocates a new instance with the given value. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">value</td><td>the value of the new instance</td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a8f71050a9589fb6c825a81dfa078a277"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8f71050a9589fb6c825a81dfa078a277">&#9670;&nbsp;</a></span>CacheableBuiltinKey() <span class="overload">[3/3]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename TNative, typename TManaged, int8_t TYPEID&gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00418.html">Apache::Geode::Client::CacheableBuiltinKey</a>&lt; TNative, TManaged, TYPEID &gt;::<a class="el" href="a00418.html">CacheableBuiltinKey</a> </td>
<td>(</td>
<td class="paramtype">std::shared_ptr&lt; native::Serializable &gt;&#160;</td>
<td class="paramname"><em>nativeptr</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Protected constructor to wrap a native object pointer </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">nativeptr</td><td>The native object pointer</td></tr>
</table>
</dd>
</dl>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a0cde4d19021ec7c00c9024d1f8a439ec"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0cde4d19021ec7c00c9024d1f8a439ec">&#9670;&nbsp;</a></span>Equals() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename TNative, typename TManaged, int8_t TYPEID&gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool <a class="el" href="a00418.html">Apache::Geode::Client::CacheableBuiltinKey</a>&lt; TNative, TManaged, TYPEID &gt;::Equals </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00902.html">ICacheableKey</a>^&#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">inline</span><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Return true if this key matches other object. </p>
<p>It invokes the '==' operator of the underlying native object. </p>
<p>Reimplemented from <a class="el" href="a00498.html#a5431c8fb0bc4b2fed7e18efdb994e57d">Apache::Geode::Client::CacheableKey</a>.</p>
</div>
</div>
<a id="afc250b7a83d89a264ca57903aa9beaf4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afc250b7a83d89a264ca57903aa9beaf4">&#9670;&nbsp;</a></span>Equals() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename TNative, typename TManaged, int8_t TYPEID&gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool <a class="el" href="a00418.html">Apache::Geode::Client::CacheableBuiltinKey</a>&lt; TNative, TManaged, TYPEID &gt;::Equals </td>
<td>(</td>
<td class="paramtype">Object^&#160;</td>
<td class="paramname"><em>obj</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Return true if this key matches other object. </p>
<p>It invokes the '==' operator of the underlying native object. </p>
<p>Reimplemented from <a class="el" href="a00498.html#a7d9ba3bd7851aa680dc56654eb44c00d">Apache::Geode::Client::CacheableKey</a>.</p>
</div>
</div>
<a id="a9a88344340ac7b9d298672439f264997"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9a88344340ac7b9d298672439f264997">&#9670;&nbsp;</a></span>GetHashCode()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual System::Int32 Apache::Geode::Client::CacheableKey::GetHashCode </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span><span class="mlabel">inherited</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Return the hashcode for this key. </p>
<p>It gets the hash code by calling the <code>hashcode()</code> function of the underlying <code>apache::geode::client::CacheableKey</code> object. </p>
<p>Implements <a class="el" href="a00902.html#a541fd0835dd2941b0e84c9115cddaf5d">Apache::Geode::Client::ICacheableKey</a>.</p>
<p>Reimplemented in <a class="el" href="a00522.html#a77581c5e5934134d743f4c09bcc20264">Apache::Geode::Client::CacheableString</a>.</p>
</div>
</div>
<a id="a35d8b124f0c74119bc2b562eb6a1db01"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a35d8b124f0c74119bc2b562eb6a1db01">&#9670;&nbsp;</a></span>operator CacheableKey^() <span class="overload">[1/9]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static Apache::Geode::Client::CacheableKey::operator <a class="el" href="a00498.html">CacheableKey</a>^ </td>
<td>(</td>
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>value</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span><span class="mlabel">inherited</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Implicit conversion operator from a boolean to a <code><a class="el" href="a00498.html" title="This class wraps the native C++ apache::geode::client::Serializable objects as managed ....">CacheableKey</a></code>. </p>
</div>
</div>
<a id="adb03559f0e734c75992ee5a949d88a4f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adb03559f0e734c75992ee5a949d88a4f">&#9670;&nbsp;</a></span>operator CacheableKey^() <span class="overload">[2/9]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static Apache::Geode::Client::CacheableKey::operator <a class="el" href="a00498.html">CacheableKey</a>^ </td>
<td>(</td>
<td class="paramtype">Byte&#160;</td>
<td class="paramname"><em>value</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span><span class="mlabel">inherited</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Implicit conversion operator from a byte to a <code><a class="el" href="a00498.html" title="This class wraps the native C++ apache::geode::client::Serializable objects as managed ....">CacheableKey</a></code>. </p>
</div>
</div>
<a id="aeda53e97287406532f3dde523a5c6674"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aeda53e97287406532f3dde523a5c6674">&#9670;&nbsp;</a></span>operator CacheableKey^() <span class="overload">[3/9]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static Apache::Geode::Client::CacheableKey::operator <a class="el" href="a00498.html">CacheableKey</a>^ </td>
<td>(</td>
<td class="paramtype">Double&#160;</td>
<td class="paramname"><em>value</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span><span class="mlabel">inherited</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Implicit conversion operator from a double to a <code><a class="el" href="a00498.html" title="This class wraps the native C++ apache::geode::client::Serializable objects as managed ....">CacheableKey</a></code>. </p>
</div>
</div>
<a id="aefc98e13c9435b6a17ca21ae9e58f45c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aefc98e13c9435b6a17ca21ae9e58f45c">&#9670;&nbsp;</a></span>operator CacheableKey^() <span class="overload">[4/9]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static Apache::Geode::Client::CacheableKey::operator <a class="el" href="a00498.html">CacheableKey</a>^ </td>
<td>(</td>
<td class="paramtype">Single&#160;</td>
<td class="paramname"><em>value</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span><span class="mlabel">inherited</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Implicit conversion operator from a float to a <code><a class="el" href="a00498.html" title="This class wraps the native C++ apache::geode::client::Serializable objects as managed ....">CacheableKey</a></code>. </p>
</div>
</div>
<a id="ac1d43d99eb1699ff51cd109721a55d0b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac1d43d99eb1699ff51cd109721a55d0b">&#9670;&nbsp;</a></span>operator CacheableKey^() <span class="overload">[5/9]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static Apache::Geode::Client::CacheableKey::operator <a class="el" href="a00498.html">CacheableKey</a>^ </td>
<td>(</td>
<td class="paramtype">System::Int16&#160;</td>
<td class="paramname"><em>value</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span><span class="mlabel">inherited</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Implicit conversion operator from a 16-bit integer to a <code><a class="el" href="a00498.html" title="This class wraps the native C++ apache::geode::client::Serializable objects as managed ....">CacheableKey</a></code>. </p>
</div>
</div>
<a id="a7097ceae6f88dc136233b150da8859c4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7097ceae6f88dc136233b150da8859c4">&#9670;&nbsp;</a></span>operator CacheableKey^() <span class="overload">[6/9]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static Apache::Geode::Client::CacheableKey::operator <a class="el" href="a00498.html">CacheableKey</a>^ </td>
<td>(</td>
<td class="paramtype">Char&#160;</td>
<td class="paramname"><em>value</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span><span class="mlabel">inherited</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Implicit conversion operator from a character to a <code><a class="el" href="a00498.html" title="This class wraps the native C++ apache::geode::client::Serializable objects as managed ....">CacheableKey</a></code>. </p>
</div>
</div>
<a id="a46ac082503f3cfb7b38ff0eb33489be8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a46ac082503f3cfb7b38ff0eb33489be8">&#9670;&nbsp;</a></span>operator CacheableKey^() <span class="overload">[7/9]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static Apache::Geode::Client::CacheableKey::operator <a class="el" href="a00498.html">CacheableKey</a>^ </td>
<td>(</td>
<td class="paramtype">System::Int32&#160;</td>
<td class="paramname"><em>value</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span><span class="mlabel">inherited</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Implicit conversion operator from a 32-bit integer to a <code><a class="el" href="a00498.html" title="This class wraps the native C++ apache::geode::client::Serializable objects as managed ....">CacheableKey</a></code>. </p>
</div>
</div>
<a id="a1a70369be59b5a8541c506910b6e5e71"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1a70369be59b5a8541c506910b6e5e71">&#9670;&nbsp;</a></span>operator CacheableKey^() <span class="overload">[8/9]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static Apache::Geode::Client::CacheableKey::operator <a class="el" href="a00498.html">CacheableKey</a>^ </td>
<td>(</td>
<td class="paramtype">System::Int64&#160;</td>
<td class="paramname"><em>value</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span><span class="mlabel">inherited</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Implicit conversion operator from a 64-bit integer to a <code><a class="el" href="a00498.html" title="This class wraps the native C++ apache::geode::client::Serializable objects as managed ....">CacheableKey</a></code>. </p>
</div>
</div>
<a id="adcc218644681073a3a9d151aea9c7f80"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adcc218644681073a3a9d151aea9c7f80">&#9670;&nbsp;</a></span>operator CacheableKey^() <span class="overload">[9/9]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static Apache::Geode::Client::CacheableKey::operator <a class="el" href="a00498.html">CacheableKey</a>^ </td>
<td>(</td>
<td class="paramtype">String^&#160;</td>
<td class="paramname"><em>value</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span><span class="mlabel">inherited</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Implicit conversion operator from a string to a <code><a class="el" href="a00498.html" title="This class wraps the native C++ apache::geode::client::Serializable objects as managed ....">CacheableKey</a></code>. </p>
</div>
</div>
<a id="af58568d503b71f832b3c46387de3211e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af58568d503b71f832b3c46387de3211e">&#9670;&nbsp;</a></span>operator==()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename TNative, typename TManaged, int8_t TYPEID&gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool <a class="el" href="a00418.html">Apache::Geode::Client::CacheableBuiltinKey</a>&lt; TNative, TManaged, TYPEID &gt;::operator== </td>
<td>(</td>
<td class="paramtype">TManaged&#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">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Comparison operator against another value. </p>
</div>
</div>
<a id="a93998b074515d5609416e8a633e71333"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a93998b074515d5609416e8a633e71333">&#9670;&nbsp;</a></span>ToString()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename TNative, typename TManaged, int8_t TYPEID&gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">String ^ <a class="el" href="a00418.html">Apache::Geode::Client::CacheableBuiltinKey</a>&lt; TNative, TManaged, TYPEID &gt;::ToString </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 class="mlabel">override</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Return a string representation of the object. </p>
<p>This returns the string for the <code>Value</code> property. </p>
<p>Implements <a class="el" href="a01022.html#a335290fd15fd41d39bc73a7ca10d19bd">Apache::Geode::Client::ISerializable</a>.</p>
</div>
</div>
<h2 class="groupheader">Property Documentation</h2>
<a id="a961265733e9d83372f8facb7d88b4c78"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a961265733e9d83372f8facb7d88b4c78">&#9670;&nbsp;</a></span>ObjectSize <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">System:: UInt64 Apache::Geode::Client::ISerializable::ObjectSize</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">inherited</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the size of this object in bytes. </p>
<p>This is only needed if you use the HeapLRU feature. </p>
<p>Note that you can simply return zero if you are not using the HeapLRU feature. </p>
<dl class="section return"><dt>Returns</dt><dd>the size of this object in bytes.</dd></dl>
</div>
</div>
<a id="af073822a47dac5d41afb64df6ad52fee"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af073822a47dac5d41afb64df6ad52fee">&#9670;&nbsp;</a></span>ObjectSize <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual System:: UInt64 Apache::Geode::Client::Serializable::ObjectSize</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">inherited</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>return the size of this object in bytes </p>
</div>
</div>
<a id="aad5d4b67cd0b81ec0c0e953f81a3a175"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aad5d4b67cd0b81ec0c0e953f81a3a175">&#9670;&nbsp;</a></span>Value</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename TNative, typename TManaged, int8_t TYPEID&gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">TManaged <a class="el" href="a00418.html">Apache::Geode::Client::CacheableBuiltinKey</a>&lt; TNative, TManaged, TYPEID &gt;::Value</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Gets the value. </p>
</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<HR><address style="align: right;"><small>Apache Geode C++ Cache .NET API Documentation</small></address>