blob: a53161a347d4c7b4e9fc364ebc196d6f08d06acb [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.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>&nbsp; Apache Ignite C++: ignite::jni::JavaGlobalRef 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="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="projectlogo"><img alt="Logo" src="ignite_logo.png"/></td>
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">&nbsp; Apache Ignite C++
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<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>
<!-- 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 id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="namespaceignite.html">ignite</a></li><li class="navelem"><b>jni</b></li><li class="navelem"><a class="el" href="classignite_1_1jni_1_1JavaGlobalRef.html">JavaGlobalRef</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="classignite_1_1jni_1_1JavaGlobalRef-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">ignite::jni::JavaGlobalRef Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Represents global reference to Java object.
<a href="classignite_1_1jni_1_1JavaGlobalRef.html#details">More...</a></p>
<p><code>#include &lt;<a class="el" href="utils_8h_source.html">utils.h</a>&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:a5fe074c948c297dcd436c75bba999e9b"><td class="memItemLeft" align="right" valign="top"><a id="a5fe074c948c297dcd436c75bba999e9b"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classignite_1_1jni_1_1JavaGlobalRef.html#a5fe074c948c297dcd436c75bba999e9b">JavaGlobalRef</a> ()</td></tr>
<tr class="memdesc:a5fe074c948c297dcd436c75bba999e9b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default constructor. <br /></td></tr>
<tr class="separator:a5fe074c948c297dcd436c75bba999e9b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3bc7ecd6fb05e99b8330bb2c8e18156f"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classignite_1_1jni_1_1JavaGlobalRef.html#a3bc7ecd6fb05e99b8330bb2c8e18156f">JavaGlobalRef</a> (common::concurrent::SharedPointer&lt; <a class="el" href="classignite_1_1jni_1_1java_1_1JniContext.html">java::JniContext</a> &gt; &amp;ctx, jobject obj)</td></tr>
<tr class="memdesc:a3bc7ecd6fb05e99b8330bb2c8e18156f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor. <a href="classignite_1_1jni_1_1JavaGlobalRef.html#a3bc7ecd6fb05e99b8330bb2c8e18156f">More...</a><br /></td></tr>
<tr class="separator:a3bc7ecd6fb05e99b8330bb2c8e18156f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7d44d5057fa4dab727bad5c79958514f"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classignite_1_1jni_1_1JavaGlobalRef.html#a7d44d5057fa4dab727bad5c79958514f">JavaGlobalRef</a> (const <a class="el" href="classignite_1_1jni_1_1JavaGlobalRef.html">JavaGlobalRef</a> &amp;other)</td></tr>
<tr class="memdesc:a7d44d5057fa4dab727bad5c79958514f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy constructor. <a href="classignite_1_1jni_1_1JavaGlobalRef.html#a7d44d5057fa4dab727bad5c79958514f">More...</a><br /></td></tr>
<tr class="separator:a7d44d5057fa4dab727bad5c79958514f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7b6a24fb9346a84fddfe87fdbca1032b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classignite_1_1jni_1_1JavaGlobalRef.html">JavaGlobalRef</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classignite_1_1jni_1_1JavaGlobalRef.html#a7b6a24fb9346a84fddfe87fdbca1032b">operator=</a> (const <a class="el" href="classignite_1_1jni_1_1JavaGlobalRef.html">JavaGlobalRef</a> &amp;other)</td></tr>
<tr class="memdesc:a7b6a24fb9346a84fddfe87fdbca1032b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Assignment operator. <a href="classignite_1_1jni_1_1JavaGlobalRef.html#a7b6a24fb9346a84fddfe87fdbca1032b">More...</a><br /></td></tr>
<tr class="separator:a7b6a24fb9346a84fddfe87fdbca1032b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a10f64725d464187c412c81a572b6c108"><td class="memItemLeft" align="right" valign="top"><a id="a10f64725d464187c412c81a572b6c108"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classignite_1_1jni_1_1JavaGlobalRef.html#a10f64725d464187c412c81a572b6c108">~JavaGlobalRef</a> ()</td></tr>
<tr class="memdesc:a10f64725d464187c412c81a572b6c108"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <br /></td></tr>
<tr class="separator:a10f64725d464187c412c81a572b6c108"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6463cf19fa1f5917fc24a127fc6e8042"><td class="memItemLeft" align="right" valign="top">jobject&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classignite_1_1jni_1_1JavaGlobalRef.html#a6463cf19fa1f5917fc24a127fc6e8042">Get</a> ()</td></tr>
<tr class="memdesc:a6463cf19fa1f5917fc24a127fc6e8042"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get object. <a href="classignite_1_1jni_1_1JavaGlobalRef.html#a6463cf19fa1f5917fc24a127fc6e8042">More...</a><br /></td></tr>
<tr class="separator:a6463cf19fa1f5917fc24a127fc6e8042"><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>Represents global reference to Java object. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a3bc7ecd6fb05e99b8330bb2c8e18156f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3bc7ecd6fb05e99b8330bb2c8e18156f">&#9670;&nbsp;</a></span>JavaGlobalRef() <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">ignite::jni::JavaGlobalRef::JavaGlobalRef </td>
<td>(</td>
<td class="paramtype">common::concurrent::SharedPointer&lt; <a class="el" href="classignite_1_1jni_1_1java_1_1JniContext.html">java::JniContext</a> &gt; &amp;&#160;</td>
<td class="paramname"><em>ctx</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">jobject&#160;</td>
<td class="paramname"><em>obj</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">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Constructor. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">ctx</td><td>JNI context. </td></tr>
<tr><td class="paramname">obj</td><td>Java object. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a7d44d5057fa4dab727bad5c79958514f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7d44d5057fa4dab727bad5c79958514f">&#9670;&nbsp;</a></span>JavaGlobalRef() <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">ignite::jni::JavaGlobalRef::JavaGlobalRef </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classignite_1_1jni_1_1JavaGlobalRef.html">JavaGlobalRef</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">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Copy constructor. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">other</td><td>Other instance. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a6463cf19fa1f5917fc24a127fc6e8042"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6463cf19fa1f5917fc24a127fc6e8042">&#9670;&nbsp;</a></span>Get()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">jobject ignite::jni::JavaGlobalRef::Get </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>Get object. </p>
<dl class="section return"><dt>Returns</dt><dd>Object. </dd></dl>
</div>
</div>
<a id="a7b6a24fb9346a84fddfe87fdbca1032b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7b6a24fb9346a84fddfe87fdbca1032b">&#9670;&nbsp;</a></span>operator=()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classignite_1_1jni_1_1JavaGlobalRef.html">JavaGlobalRef</a>&amp; ignite::jni::JavaGlobalRef::operator= </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classignite_1_1jni_1_1JavaGlobalRef.html">JavaGlobalRef</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">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Assignment operator. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">other</td><td>Other instance. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>*this. </dd></dl>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="utils_8h_source.html">utils.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jan 10 2022 11:02:04 for &nbsp; Apache Ignite C++ by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>