blob: 8c982dc743da2173df42e3fed302020c868d2f65 [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 C++ Reference: apache::geode::client::PdxWriter 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="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 C++ 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('a00779.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> </div>
<div class="headertitle">
<div class="title">apache::geode::client::PdxWriter Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div> </div>
</div><!--header-->
<div class="contents">
<p>A <a class="el" href="a00779.html" title="A PdxWriter will be passed to PdxSerializable.toData when it is serializing the domain class.">PdxWriter</a> will be passed to <a class="el" href="a00763.html#a28894ac9e842832bcb336915ae3983e0" title="Serialize this object in Geode PDX format.">PdxSerializable.toData</a> when it is serializing the domain class.
<a href="a00779.html#details">More...</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:a4284cab342603084f26e40658ee66819"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="a00779.html">PdxWriter</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00779.html#a4284cab342603084f26e40658ee66819">markIdentityField</a> (const std::string &amp;fieldName)=0</td></tr>
<tr class="memdesc:a4284cab342603084f26e40658ee66819"><td class="mdescLeft">&#160;</td><td class="mdescRight">Indicate that the given field name should be included in hashCode and equals checks of this object on a server that is using {<a class="el" href="a00371.html#a7133aa9a21c8481e0e0f912c9bbf6a3e">} or when a client executes a query on a server. </a> <a href="#a4284cab342603084f26e40658ee66819">More...</a><br /></td></tr>
<tr class="separator:a4284cab342603084f26e40658ee66819"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7ca557ffc4b412beff97d5c65e14ee91"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00779.html#a7ca557ffc4b412beff97d5c65e14ee91">PdxWriter</a> ()=default</td></tr>
<tr class="memdesc:a7ca557ffc4b412beff97d5c65e14ee91"><td class="mdescLeft">&#160;</td><td class="mdescRight">constructors <a href="#a7ca557ffc4b412beff97d5c65e14ee91">More...</a><br /></td></tr>
<tr class="separator:a7ca557ffc4b412beff97d5c65e14ee91"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7da0ac9e3283f8cb54916db0192cb478"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="a00779.html">PdxWriter</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00779.html#a7da0ac9e3283f8cb54916db0192cb478">writeArrayOfByteArrays</a> (const std::string &amp;fieldName, int8_t *const *const array, int arrayLength, const int *elementLength)=0</td></tr>
<tr class="memdesc:a7da0ac9e3283f8cb54916db0192cb478"><td class="mdescLeft">&#160;</td><td class="mdescRight">Writes the named field with the given value to the serialized form. <a href="#a7da0ac9e3283f8cb54916db0192cb478">More...</a><br /></td></tr>
<tr class="separator:a7da0ac9e3283f8cb54916db0192cb478"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2b7652a38153b22a0c52fed8ff229893"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="a00779.html">PdxWriter</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00779.html#a2b7652a38153b22a0c52fed8ff229893">writeBoolean</a> (const std::string &amp;fieldName, bool value)=0</td></tr>
<tr class="memdesc:a2b7652a38153b22a0c52fed8ff229893"><td class="mdescLeft">&#160;</td><td class="mdescRight">Writes the named field with the given value to the serialized form. <a href="#a2b7652a38153b22a0c52fed8ff229893">More...</a><br /></td></tr>
<tr class="separator:a2b7652a38153b22a0c52fed8ff229893"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a654d85741bb002c517c59ee2dc7eea28"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="a00779.html">PdxWriter</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00779.html#a654d85741bb002c517c59ee2dc7eea28">writeBooleanArray</a> (const std::string &amp;fieldName, const std::vector&lt; bool &gt; &amp;array)=0</td></tr>
<tr class="memdesc:a654d85741bb002c517c59ee2dc7eea28"><td class="mdescLeft">&#160;</td><td class="mdescRight">Writes the named field with the given value to the serialized form. <a href="#a654d85741bb002c517c59ee2dc7eea28">More...</a><br /></td></tr>
<tr class="separator:a654d85741bb002c517c59ee2dc7eea28"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a73b8c1dbccf5fcb9df2ec44c67bab793"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="a00779.html">PdxWriter</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00779.html#a73b8c1dbccf5fcb9df2ec44c67bab793">writeByte</a> (const std::string &amp;fieldName, int8_t value)=0</td></tr>
<tr class="memdesc:a73b8c1dbccf5fcb9df2ec44c67bab793"><td class="mdescLeft">&#160;</td><td class="mdescRight">Writes the named field with the given value to the serialized form. <a href="#a73b8c1dbccf5fcb9df2ec44c67bab793">More...</a><br /></td></tr>
<tr class="separator:a73b8c1dbccf5fcb9df2ec44c67bab793"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a32a84d3088c6a23179fe0ee304dbf5cc"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="a00779.html">PdxWriter</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00779.html#a32a84d3088c6a23179fe0ee304dbf5cc">writeByteArray</a> (const std::string &amp;fieldName, const std::vector&lt; int8_t &gt; &amp;array)=0</td></tr>
<tr class="memdesc:a32a84d3088c6a23179fe0ee304dbf5cc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Writes the named field with the given value to the serialized form. <a href="#a32a84d3088c6a23179fe0ee304dbf5cc">More...</a><br /></td></tr>
<tr class="separator:a32a84d3088c6a23179fe0ee304dbf5cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2f596ba97be4b759f9a374a261025672"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="a00779.html">PdxWriter</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00779.html#a2f596ba97be4b759f9a374a261025672">writeChar</a> (const std::string &amp;fieldName, char16_t value)=0</td></tr>
<tr class="memdesc:a2f596ba97be4b759f9a374a261025672"><td class="mdescLeft">&#160;</td><td class="mdescRight">Writes the named field with the given value to the serialized form The fields type is <code>char16_t</code> <a href="#a2f596ba97be4b759f9a374a261025672">More...</a><br /></td></tr>
<tr class="separator:a2f596ba97be4b759f9a374a261025672"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a673bc2acf634f9a6ba78ca5e36dbd545"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="a00779.html">PdxWriter</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00779.html#a673bc2acf634f9a6ba78ca5e36dbd545">writeCharArray</a> (const std::string &amp;fieldName, const std::vector&lt; char16_t &gt; &amp;array)=0</td></tr>
<tr class="memdesc:a673bc2acf634f9a6ba78ca5e36dbd545"><td class="mdescLeft">&#160;</td><td class="mdescRight">Writes the named field with the given value to the serialized form. <a href="#a673bc2acf634f9a6ba78ca5e36dbd545">More...</a><br /></td></tr>
<tr class="separator:a673bc2acf634f9a6ba78ca5e36dbd545"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad1ea81fc0a7f4f34ede3225c0fd51982"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="a00779.html">PdxWriter</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00779.html#ad1ea81fc0a7f4f34ede3225c0fd51982">writeDate</a> (const std::string &amp;fieldName, std::shared_ptr&lt; <a class="el" href="a00327.html">CacheableDate</a> &gt; date)=0</td></tr>
<tr class="memdesc:ad1ea81fc0a7f4f34ede3225c0fd51982"><td class="mdescLeft">&#160;</td><td class="mdescRight">Writes the named field with the given value to the serialized form. <a href="#ad1ea81fc0a7f4f34ede3225c0fd51982">More...</a><br /></td></tr>
<tr class="separator:ad1ea81fc0a7f4f34ede3225c0fd51982"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acdf69137612072ce64d984cd6d8191db"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="a00779.html">PdxWriter</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00779.html#acdf69137612072ce64d984cd6d8191db">writeDouble</a> (const std::string &amp;fieldName, double value)=0</td></tr>
<tr class="memdesc:acdf69137612072ce64d984cd6d8191db"><td class="mdescLeft">&#160;</td><td class="mdescRight">Writes the named field with the given value to the serialized form. <a href="#acdf69137612072ce64d984cd6d8191db">More...</a><br /></td></tr>
<tr class="separator:acdf69137612072ce64d984cd6d8191db"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2c8ba26bc80de80fb93ffd32d3ba6b84"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="a00779.html">PdxWriter</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00779.html#a2c8ba26bc80de80fb93ffd32d3ba6b84">writeDoubleArray</a> (const std::string &amp;fieldName, const std::vector&lt; double &gt; &amp;array)=0</td></tr>
<tr class="memdesc:a2c8ba26bc80de80fb93ffd32d3ba6b84"><td class="mdescLeft">&#160;</td><td class="mdescRight">Writes the named field with the given value to the serialized form. <a href="#a2c8ba26bc80de80fb93ffd32d3ba6b84">More...</a><br /></td></tr>
<tr class="separator:a2c8ba26bc80de80fb93ffd32d3ba6b84"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1bad4c003781181edf84e23c1a058f26"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="a00779.html">PdxWriter</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00779.html#a1bad4c003781181edf84e23c1a058f26">writeFloat</a> (const std::string &amp;fieldName, float value)=0</td></tr>
<tr class="memdesc:a1bad4c003781181edf84e23c1a058f26"><td class="mdescLeft">&#160;</td><td class="mdescRight">Writes the named field with the given value to the serialized form. <a href="#a1bad4c003781181edf84e23c1a058f26">More...</a><br /></td></tr>
<tr class="separator:a1bad4c003781181edf84e23c1a058f26"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa7ba2fc0758db2f2dc5f617006d75666"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="a00779.html">PdxWriter</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00779.html#aa7ba2fc0758db2f2dc5f617006d75666">writeFloatArray</a> (const std::string &amp;fieldName, const std::vector&lt; float &gt; &amp;array)=0</td></tr>
<tr class="memdesc:aa7ba2fc0758db2f2dc5f617006d75666"><td class="mdescLeft">&#160;</td><td class="mdescRight">Writes the named field with the given value to the serialized form. <a href="#aa7ba2fc0758db2f2dc5f617006d75666">More...</a><br /></td></tr>
<tr class="separator:aa7ba2fc0758db2f2dc5f617006d75666"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa1600dafb47a07ce1533414061fc2b06"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="a00779.html">PdxWriter</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00779.html#aa1600dafb47a07ce1533414061fc2b06">writeInt</a> (const std::string &amp;fieldName, int32_t value)=0</td></tr>
<tr class="memdesc:aa1600dafb47a07ce1533414061fc2b06"><td class="mdescLeft">&#160;</td><td class="mdescRight">Writes the named field with the given value to the serialized form. <a href="#aa1600dafb47a07ce1533414061fc2b06">More...</a><br /></td></tr>
<tr class="separator:aa1600dafb47a07ce1533414061fc2b06"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5570ef6b0aa04d472b7e227c25fc6c79"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="a00779.html">PdxWriter</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00779.html#a5570ef6b0aa04d472b7e227c25fc6c79">writeIntArray</a> (const std::string &amp;fieldName, const std::vector&lt; int32_t &gt; &amp;array)=0</td></tr>
<tr class="memdesc:a5570ef6b0aa04d472b7e227c25fc6c79"><td class="mdescLeft">&#160;</td><td class="mdescRight">Writes the named field with the given value to the serialized form. <a href="#a5570ef6b0aa04d472b7e227c25fc6c79">More...</a><br /></td></tr>
<tr class="separator:a5570ef6b0aa04d472b7e227c25fc6c79"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7b072d1c0422da93b58452ce4c2805b9"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="a00779.html">PdxWriter</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00779.html#a7b072d1c0422da93b58452ce4c2805b9">writeLong</a> (const std::string &amp;fieldName, int64_t value)=0</td></tr>
<tr class="memdesc:a7b072d1c0422da93b58452ce4c2805b9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Writes the named field with the given value to the serialized form. <a href="#a7b072d1c0422da93b58452ce4c2805b9">More...</a><br /></td></tr>
<tr class="separator:a7b072d1c0422da93b58452ce4c2805b9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0d1075298669017c6583bf63e968f658"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="a00779.html">PdxWriter</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00779.html#a0d1075298669017c6583bf63e968f658">writeLongArray</a> (const std::string &amp;fieldName, const std::vector&lt; int64_t &gt; &amp;array)=0</td></tr>
<tr class="memdesc:a0d1075298669017c6583bf63e968f658"><td class="mdescLeft">&#160;</td><td class="mdescRight">Writes the named field with the given value to the serialized form. <a href="#a0d1075298669017c6583bf63e968f658">More...</a><br /></td></tr>
<tr class="separator:a0d1075298669017c6583bf63e968f658"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5e2aef1a6a522842269b3aa9b1908e9a"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="a00779.html">PdxWriter</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00779.html#a5e2aef1a6a522842269b3aa9b1908e9a">writeObject</a> (const std::string &amp;fieldName, std::shared_ptr&lt; <a class="el" href="a00855.html">Cacheable</a> &gt; value)=0</td></tr>
<tr class="memdesc:a5e2aef1a6a522842269b3aa9b1908e9a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Writes the named field with the given value to the serialized form. <a href="#a5e2aef1a6a522842269b3aa9b1908e9a">More...</a><br /></td></tr>
<tr class="separator:a5e2aef1a6a522842269b3aa9b1908e9a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a22c792204fbb8eda34642d32a70e7b4b"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="a00779.html">PdxWriter</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00779.html#a22c792204fbb8eda34642d32a70e7b4b">writeObjectArray</a> (const std::string &amp;fieldName, std::shared_ptr&lt; <a class="el" href="a00355.html">CacheableObjectArray</a> &gt; array)=0</td></tr>
<tr class="memdesc:a22c792204fbb8eda34642d32a70e7b4b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Writes the named field with the given value to the serialized form. <a href="#a22c792204fbb8eda34642d32a70e7b4b">More...</a><br /></td></tr>
<tr class="separator:a22c792204fbb8eda34642d32a70e7b4b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a43556c0b35daf855719ca04fd3cd7c69"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="a00779.html">PdxWriter</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00779.html#a43556c0b35daf855719ca04fd3cd7c69">writeShort</a> (const std::string &amp;fieldName, int16_t value)=0</td></tr>
<tr class="memdesc:a43556c0b35daf855719ca04fd3cd7c69"><td class="mdescLeft">&#160;</td><td class="mdescRight">Writes the named field with the given value to the serialized form. <a href="#a43556c0b35daf855719ca04fd3cd7c69">More...</a><br /></td></tr>
<tr class="separator:a43556c0b35daf855719ca04fd3cd7c69"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7987e3c50ab83631e29906b5db3a0926"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="a00779.html">PdxWriter</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00779.html#a7987e3c50ab83631e29906b5db3a0926">writeShortArray</a> (const std::string &amp;fieldName, const std::vector&lt; int16_t &gt; &amp;array)=0</td></tr>
<tr class="memdesc:a7987e3c50ab83631e29906b5db3a0926"><td class="mdescLeft">&#160;</td><td class="mdescRight">Writes the named field with the given value to the serialized form. <a href="#a7987e3c50ab83631e29906b5db3a0926">More...</a><br /></td></tr>
<tr class="separator:a7987e3c50ab83631e29906b5db3a0926"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aba9a1b68b5716e21834234b4513ba830"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="a00779.html">PdxWriter</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00779.html#aba9a1b68b5716e21834234b4513ba830">writeString</a> (const std::string &amp;fieldName, const std::string &amp;value)=0</td></tr>
<tr class="memdesc:aba9a1b68b5716e21834234b4513ba830"><td class="mdescLeft">&#160;</td><td class="mdescRight">Writes the named field with the given value to the serialized form. <a href="#aba9a1b68b5716e21834234b4513ba830">More...</a><br /></td></tr>
<tr class="separator:aba9a1b68b5716e21834234b4513ba830"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa98876c145e567024e04fb0e15c6d94a"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="a00779.html">PdxWriter</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00779.html#aa98876c145e567024e04fb0e15c6d94a">writeStringArray</a> (const std::string &amp;fieldName, const std::vector&lt; std::string &gt; &amp;array)=0</td></tr>
<tr class="memdesc:aa98876c145e567024e04fb0e15c6d94a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Writes the named field with the given value to the serialized form. <a href="#aa98876c145e567024e04fb0e15c6d94a">More...</a><br /></td></tr>
<tr class="separator:aa98876c145e567024e04fb0e15c6d94a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afe6e9828597463ee36403fa3e415eb8c"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="a00779.html">PdxWriter</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00779.html#afe6e9828597463ee36403fa3e415eb8c">writeUnreadFields</a> (std::shared_ptr&lt; <a class="el" href="a00771.html">PdxUnreadFields</a> &gt; unread)=0</td></tr>
<tr class="memdesc:afe6e9828597463ee36403fa3e415eb8c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Writes the given unread fields to the serialized form. <a href="#afe6e9828597463ee36403fa3e415eb8c">More...</a><br /></td></tr>
<tr class="separator:afe6e9828597463ee36403fa3e415eb8c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab5368e4c96a78b48dfcf0d7cc5c3d1d6"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00779.html#ab5368e4c96a78b48dfcf0d7cc5c3d1d6">~PdxWriter</a> ()=default</td></tr>
<tr class="memdesc:ab5368e4c96a78b48dfcf0d7cc5c3d1d6"><td class="mdescLeft">&#160;</td><td class="mdescRight">destructor <a href="#ab5368e4c96a78b48dfcf0d7cc5c3d1d6">More...</a><br /></td></tr>
<tr class="separator:ab5368e4c96a78b48dfcf0d7cc5c3d1d6"><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 <a class="el" href="a00779.html" title="A PdxWriter will be passed to PdxSerializable.toData when it is serializing the domain class.">PdxWriter</a> will be passed to <a class="el" href="a00763.html#a28894ac9e842832bcb336915ae3983e0" title="Serialize this object in Geode PDX format.">PdxSerializable.toData</a> when it is serializing the domain class. </p>
<p>The domain class needs to serialize member fields using this abstract class. This class is implemented by Native Client. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a7ca557ffc4b412beff97d5c65e14ee91"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7ca557ffc4b412beff97d5c65e14ee91">&#9670;&nbsp;</a></span>PdxWriter()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">apache::geode::client::PdxWriter::PdxWriter </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">default</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>constructors </p>
</div>
</div>
<a id="ab5368e4c96a78b48dfcf0d7cc5c3d1d6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab5368e4c96a78b48dfcf0d7cc5c3d1d6">&#9670;&nbsp;</a></span>~PdxWriter()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual apache::geode::client::PdxWriter::~PdxWriter </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span><span class="mlabel">default</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>destructor </p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a4284cab342603084f26e40658ee66819"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4284cab342603084f26e40658ee66819">&#9670;&nbsp;</a></span>markIdentityField()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="a00779.html">PdxWriter</a>&amp; apache::geode::client::PdxWriter::markIdentityField </td>
<td>(</td>
<td class="paramtype">const std::string &amp;&#160;</td>
<td class="paramname"><em>fieldName</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Indicate that the given field name should be included in hashCode and equals checks of this object on a server that is using {<a class="el" href="a00371.html#a7133aa9a21c8481e0e0f912c9bbf6a3e">} or when a client executes a query on a server. </a></p>
<p>The fields that are marked as identity fields are used to generate the hashCode and equals methods of <a class="el" href="a00751.html">PdxInstance</a>. Because of this, the identity fields should themselves either be primitives, or implement hashCode and equals.</p>
<p>If no fields are set as identity fields, then all fields will be used in hashCode and equals checks.</p>
<p>The identity fields should make marked after they are written using a write* method.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">fieldName</td><td>the name of the field to mark as an identity field. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>this <a class="el" href="a00779.html" title="A PdxWriter will be passed to PdxSerializable.toData when it is serializing the domain class.">PdxWriter</a>&amp; </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="a00475.html" title="Thrown when the state of cache is manipulated to be illegal.">IllegalStateException</a></td><td>if the named field does not exist. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a7da0ac9e3283f8cb54916db0192cb478"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7da0ac9e3283f8cb54916db0192cb478">&#9670;&nbsp;</a></span>writeArrayOfByteArrays()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="a00779.html">PdxWriter</a>&amp; apache::geode::client::PdxWriter::writeArrayOfByteArrays </td>
<td>(</td>
<td class="paramtype">const std::string &amp;&#160;</td>
<td class="paramname"><em>fieldName</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int8_t *const *const&#160;</td>
<td class="paramname"><em>array</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>arrayLength</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const int *&#160;</td>
<td class="paramname"><em>elementLength</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">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Writes the named field with the given value to the serialized form. </p>
<p>The fields type is <code>int8_t**</code>. </p>
<p>C++ int8_t** is mapped to Java byte[][].</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">fieldName</td><td>the name of the field to write </td></tr>
<tr><td class="paramname">array</td><td>the value of the field to write </td></tr>
<tr><td class="paramname">arrayLength</td><td>the length of the actual byte array field holding individual byte arrays to write </td></tr>
<tr><td class="paramname">elementLength</td><td>the length of the individual byte arrays to write </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>this <a class="el" href="a00779.html" title="A PdxWriter will be passed to PdxSerializable.toData when it is serializing the domain class.">PdxWriter</a> </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="a00475.html" title="Thrown when the state of cache is manipulated to be illegal.">IllegalStateException</a></td><td>if the named field has already been written or fieldName is nullptr or empty. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a2b7652a38153b22a0c52fed8ff229893"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2b7652a38153b22a0c52fed8ff229893">&#9670;&nbsp;</a></span>writeBoolean()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="a00779.html">PdxWriter</a>&amp; apache::geode::client::PdxWriter::writeBoolean </td>
<td>(</td>
<td class="paramtype">const std::string &amp;&#160;</td>
<td class="paramname"><em>fieldName</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&#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">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Writes the named field with the given value to the serialized form. </p>
<p>The fields type is <code>bool</code>. </p>
<p>C++ bool is mapped to Java boolean</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">fieldName</td><td>the name of the field to write </td></tr>
<tr><td class="paramname">value</td><td>the value of the field to write </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>this <a class="el" href="a00779.html" title="A PdxWriter will be passed to PdxSerializable.toData when it is serializing the domain class.">PdxWriter</a> </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="a00475.html" title="Thrown when the state of cache is manipulated to be illegal.">IllegalStateException</a></td><td>if the named field has already been written or fieldName is nullptr or empty </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a654d85741bb002c517c59ee2dc7eea28"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a654d85741bb002c517c59ee2dc7eea28">&#9670;&nbsp;</a></span>writeBooleanArray()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="a00779.html">PdxWriter</a>&amp; apache::geode::client::PdxWriter::writeBooleanArray </td>
<td>(</td>
<td class="paramtype">const std::string &amp;&#160;</td>
<td class="paramname"><em>fieldName</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const std::vector&lt; bool &gt; &amp;&#160;</td>
<td class="paramname"><em>array</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">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Writes the named field with the given value to the serialized form. </p>
<p>The fields type is <code>bool*</code>. </p>
<p>C++ bool* is mapped to Java boolean[]</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">fieldName</td><td>the name of the field to write </td></tr>
<tr><td class="paramname">array</td><td>the value of the field to write </td></tr>
<tr><td class="paramname">length</td><td>the length of the array field to write </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>this <a class="el" href="a00779.html" title="A PdxWriter will be passed to PdxSerializable.toData when it is serializing the domain class.">PdxWriter</a> </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="a00475.html" title="Thrown when the state of cache is manipulated to be illegal.">IllegalStateException</a></td><td>if the named field has already been written or fieldName is nullptr or empty. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a73b8c1dbccf5fcb9df2ec44c67bab793"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a73b8c1dbccf5fcb9df2ec44c67bab793">&#9670;&nbsp;</a></span>writeByte()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="a00779.html">PdxWriter</a>&amp; apache::geode::client::PdxWriter::writeByte </td>
<td>(</td>
<td class="paramtype">const std::string &amp;&#160;</td>
<td class="paramname"><em>fieldName</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int8_t&#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">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Writes the named field with the given value to the serialized form. </p>
<p>The fields type is <code>int8_t</code>. </p>
<p>C++ int8_t is mapped to Java byte</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">fieldName</td><td>the name of the field to write </td></tr>
<tr><td class="paramname">value</td><td>the value of the field to write </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>this <a class="el" href="a00779.html" title="A PdxWriter will be passed to PdxSerializable.toData when it is serializing the domain class.">PdxWriter</a> </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="a00475.html" title="Thrown when the state of cache is manipulated to be illegal.">IllegalStateException</a></td><td>if the named field has already been written or fieldName is nullptr or empty </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a32a84d3088c6a23179fe0ee304dbf5cc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a32a84d3088c6a23179fe0ee304dbf5cc">&#9670;&nbsp;</a></span>writeByteArray()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="a00779.html">PdxWriter</a>&amp; apache::geode::client::PdxWriter::writeByteArray </td>
<td>(</td>
<td class="paramtype">const std::string &amp;&#160;</td>
<td class="paramname"><em>fieldName</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const std::vector&lt; int8_t &gt; &amp;&#160;</td>
<td class="paramname"><em>array</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">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Writes the named field with the given value to the serialized form. </p>
<p>The fields type is <code>int8_t*</code>. </p>
<p>C++ int8_t* is mapped to Java byte[].</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">fieldName</td><td>the name of the field to write </td></tr>
<tr><td class="paramname">array</td><td>the value of the field to write </td></tr>
<tr><td class="paramname">length</td><td>the length of the array field to write </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>this <a class="el" href="a00779.html" title="A PdxWriter will be passed to PdxSerializable.toData when it is serializing the domain class.">PdxWriter</a> </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="a00475.html" title="Thrown when the state of cache is manipulated to be illegal.">IllegalStateException</a></td><td>if the named field has already been written or fieldName is nullptr or empty. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a2f596ba97be4b759f9a374a261025672"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2f596ba97be4b759f9a374a261025672">&#9670;&nbsp;</a></span>writeChar()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="a00779.html">PdxWriter</a>&amp; apache::geode::client::PdxWriter::writeChar </td>
<td>(</td>
<td class="paramtype">const std::string &amp;&#160;</td>
<td class="paramname"><em>fieldName</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">char16_t&#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">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Writes the named field with the given value to the serialized form The fields type is <code>char16_t</code> </p>
<p>C++ char16_t is mapped to Java char</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">fieldName</td><td>The name of the field to write </td></tr>
<tr><td class="paramname">value</td><td>The value of the field to write </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>this <a class="el" href="a00779.html" title="A PdxWriter will be passed to PdxSerializable.toData when it is serializing the domain class.">PdxWriter</a> </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="a00475.html" title="Thrown when the state of cache is manipulated to be illegal.">IllegalStateException</a></td><td>if the named field has already been written or fieldName is nullptr or empty </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a673bc2acf634f9a6ba78ca5e36dbd545"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a673bc2acf634f9a6ba78ca5e36dbd545">&#9670;&nbsp;</a></span>writeCharArray()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="a00779.html">PdxWriter</a>&amp; apache::geode::client::PdxWriter::writeCharArray </td>
<td>(</td>
<td class="paramtype">const std::string &amp;&#160;</td>
<td class="paramname"><em>fieldName</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const std::vector&lt; char16_t &gt; &amp;&#160;</td>
<td class="paramname"><em>array</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">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Writes the named field with the given value to the serialized form. </p>
<p>The fields type is <code>char16_t*</code>. </p>
<p>C++ char16_t* is mapped to Java char[].</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">fieldName</td><td>the name of the field to write </td></tr>
<tr><td class="paramname">array</td><td>the value of the field to write </td></tr>
<tr><td class="paramname">length</td><td>the length of the array field to write </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>this <a class="el" href="a00779.html" title="A PdxWriter will be passed to PdxSerializable.toData when it is serializing the domain class.">PdxWriter</a> </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="a00475.html" title="Thrown when the state of cache is manipulated to be illegal.">IllegalStateException</a></td><td>if the named field has already been written or fieldName is nullptr or empty. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="ad1ea81fc0a7f4f34ede3225c0fd51982"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad1ea81fc0a7f4f34ede3225c0fd51982">&#9670;&nbsp;</a></span>writeDate()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="a00779.html">PdxWriter</a>&amp; apache::geode::client::PdxWriter::writeDate </td>
<td>(</td>
<td class="paramtype">const std::string &amp;&#160;</td>
<td class="paramname"><em>fieldName</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">std::shared_ptr&lt; <a class="el" href="a00327.html">CacheableDate</a> &gt;&#160;</td>
<td class="paramname"><em>date</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">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Writes the named field with the given value to the serialized form. </p>
<p>The fields type is <code>CacheableDatePtr</code>. </p>
<p>C++ std::shared_ptr&lt;CacheableDate&gt; is mapped to Java Date</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">fieldName</td><td>the name of the field to write </td></tr>
<tr><td class="paramname">value</td><td>the value of the field to write </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>this <a class="el" href="a00779.html" title="A PdxWriter will be passed to PdxSerializable.toData when it is serializing the domain class.">PdxWriter</a> </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="a00475.html" title="Thrown when the state of cache is manipulated to be illegal.">IllegalStateException</a></td><td>if the named field has already been written or fieldName is nullptr or empty </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="acdf69137612072ce64d984cd6d8191db"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acdf69137612072ce64d984cd6d8191db">&#9670;&nbsp;</a></span>writeDouble()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="a00779.html">PdxWriter</a>&amp; apache::geode::client::PdxWriter::writeDouble </td>
<td>(</td>
<td class="paramtype">const std::string &amp;&#160;</td>
<td class="paramname"><em>fieldName</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&#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">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Writes the named field with the given value to the serialized form. </p>
<p>The fields type is <code>double</code>. </p>
<p>C++ double is mapped to Java double</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">fieldName</td><td>the name of the field to write </td></tr>
<tr><td class="paramname">value</td><td>the value of the field to write </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>this <a class="el" href="a00779.html" title="A PdxWriter will be passed to PdxSerializable.toData when it is serializing the domain class.">PdxWriter</a> </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="a00475.html" title="Thrown when the state of cache is manipulated to be illegal.">IllegalStateException</a></td><td>if the named field has already been written or fieldName is nullptr or empty </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a2c8ba26bc80de80fb93ffd32d3ba6b84"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2c8ba26bc80de80fb93ffd32d3ba6b84">&#9670;&nbsp;</a></span>writeDoubleArray()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="a00779.html">PdxWriter</a>&amp; apache::geode::client::PdxWriter::writeDoubleArray </td>
<td>(</td>
<td class="paramtype">const std::string &amp;&#160;</td>
<td class="paramname"><em>fieldName</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const std::vector&lt; double &gt; &amp;&#160;</td>
<td class="paramname"><em>array</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">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Writes the named field with the given value to the serialized form. </p>
<p>The fields type is <code>double*</code>. </p>
<p>C++ double* is mapped to Java double[].</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">fieldName</td><td>the name of the field to write </td></tr>
<tr><td class="paramname">array</td><td>the value of the field to write </td></tr>
<tr><td class="paramname">length</td><td>the length of the array field to write </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>this <a class="el" href="a00779.html" title="A PdxWriter will be passed to PdxSerializable.toData when it is serializing the domain class.">PdxWriter</a> </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="a00475.html" title="Thrown when the state of cache is manipulated to be illegal.">IllegalStateException</a></td><td>if the named field has already been written or fieldName is nullptr or empty. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a1bad4c003781181edf84e23c1a058f26"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1bad4c003781181edf84e23c1a058f26">&#9670;&nbsp;</a></span>writeFloat()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="a00779.html">PdxWriter</a>&amp; apache::geode::client::PdxWriter::writeFloat </td>
<td>(</td>
<td class="paramtype">const std::string &amp;&#160;</td>
<td class="paramname"><em>fieldName</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float&#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">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Writes the named field with the given value to the serialized form. </p>
<p>The fields type is <code>float</code>. </p>
<p>C++ float is mapped to Java float</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">fieldName</td><td>the name of the field to write </td></tr>
<tr><td class="paramname">value</td><td>the value of the field to write </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>this <a class="el" href="a00779.html" title="A PdxWriter will be passed to PdxSerializable.toData when it is serializing the domain class.">PdxWriter</a> </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="a00475.html" title="Thrown when the state of cache is manipulated to be illegal.">IllegalStateException</a></td><td>if the named field has already been written or fieldName is nullptr or empty </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="aa7ba2fc0758db2f2dc5f617006d75666"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa7ba2fc0758db2f2dc5f617006d75666">&#9670;&nbsp;</a></span>writeFloatArray()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="a00779.html">PdxWriter</a>&amp; apache::geode::client::PdxWriter::writeFloatArray </td>
<td>(</td>
<td class="paramtype">const std::string &amp;&#160;</td>
<td class="paramname"><em>fieldName</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const std::vector&lt; float &gt; &amp;&#160;</td>
<td class="paramname"><em>array</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">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Writes the named field with the given value to the serialized form. </p>
<p>The fields type is <code>float*</code>. </p>
<p>C++ float* is mapped to Java float[].</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">fieldName</td><td>the name of the field to write </td></tr>
<tr><td class="paramname">array</td><td>the value of the field to write </td></tr>
<tr><td class="paramname">length</td><td>the length of the array field to write </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>this <a class="el" href="a00779.html" title="A PdxWriter will be passed to PdxSerializable.toData when it is serializing the domain class.">PdxWriter</a> </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="a00475.html" title="Thrown when the state of cache is manipulated to be illegal.">IllegalStateException</a></td><td>if the named field has already been written or fieldName is nullptr or empty. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="aa1600dafb47a07ce1533414061fc2b06"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa1600dafb47a07ce1533414061fc2b06">&#9670;&nbsp;</a></span>writeInt()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="a00779.html">PdxWriter</a>&amp; apache::geode::client::PdxWriter::writeInt </td>
<td>(</td>
<td class="paramtype">const std::string &amp;&#160;</td>
<td class="paramname"><em>fieldName</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int32_t&#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">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Writes the named field with the given value to the serialized form. </p>
<p>The fields type is <code>int32_t</code>. </p>
<p>C++ int32_t is mapped to Java int</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">fieldName</td><td>the name of the field to write </td></tr>
<tr><td class="paramname">value</td><td>the value of the field to write </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>this <a class="el" href="a00779.html" title="A PdxWriter will be passed to PdxSerializable.toData when it is serializing the domain class.">PdxWriter</a> </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="a00475.html" title="Thrown when the state of cache is manipulated to be illegal.">IllegalStateException</a></td><td>if the named field has already been written or fieldName is nullptr or empty </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a5570ef6b0aa04d472b7e227c25fc6c79"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5570ef6b0aa04d472b7e227c25fc6c79">&#9670;&nbsp;</a></span>writeIntArray()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="a00779.html">PdxWriter</a>&amp; apache::geode::client::PdxWriter::writeIntArray </td>
<td>(</td>
<td class="paramtype">const std::string &amp;&#160;</td>
<td class="paramname"><em>fieldName</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const std::vector&lt; int32_t &gt; &amp;&#160;</td>
<td class="paramname"><em>array</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">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Writes the named field with the given value to the serialized form. </p>
<p>The fields type is <code>int32_t*</code>. </p>
<p>C++ int32_t* is mapped to Java int[].</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">fieldName</td><td>the name of the field to write </td></tr>
<tr><td class="paramname">array</td><td>the value of the field to write </td></tr>
<tr><td class="paramname">length</td><td>the length of the array field to write </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>this <a class="el" href="a00779.html" title="A PdxWriter will be passed to PdxSerializable.toData when it is serializing the domain class.">PdxWriter</a> </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="a00475.html" title="Thrown when the state of cache is manipulated to be illegal.">IllegalStateException</a></td><td>if the named field has already been written or fieldName is nullptr or empty. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a7b072d1c0422da93b58452ce4c2805b9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7b072d1c0422da93b58452ce4c2805b9">&#9670;&nbsp;</a></span>writeLong()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="a00779.html">PdxWriter</a>&amp; apache::geode::client::PdxWriter::writeLong </td>
<td>(</td>
<td class="paramtype">const std::string &amp;&#160;</td>
<td class="paramname"><em>fieldName</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int64_t&#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">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Writes the named field with the given value to the serialized form. </p>
<p>The fields type is <code>int64_t</code>. </p>
<p>C++ int64_t is mapped to Java long</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">fieldName</td><td>the name of the field to write </td></tr>
<tr><td class="paramname">value</td><td>the value of the field to write </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>this <a class="el" href="a00779.html" title="A PdxWriter will be passed to PdxSerializable.toData when it is serializing the domain class.">PdxWriter</a> </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="a00475.html" title="Thrown when the state of cache is manipulated to be illegal.">IllegalStateException</a></td><td>if the named field has already been written or fieldName is nullptr or empty </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a0d1075298669017c6583bf63e968f658"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0d1075298669017c6583bf63e968f658">&#9670;&nbsp;</a></span>writeLongArray()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="a00779.html">PdxWriter</a>&amp; apache::geode::client::PdxWriter::writeLongArray </td>
<td>(</td>
<td class="paramtype">const std::string &amp;&#160;</td>
<td class="paramname"><em>fieldName</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const std::vector&lt; int64_t &gt; &amp;&#160;</td>
<td class="paramname"><em>array</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">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Writes the named field with the given value to the serialized form. </p>
<p>The fields type is <code>int64_t*</code>. </p>
<p>C++ int64_t* is mapped to Java long[].</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">fieldName</td><td>the name of the field to write </td></tr>
<tr><td class="paramname">array</td><td>the value of the field to write </td></tr>
<tr><td class="paramname">length</td><td>the length of the array field to write </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>this <a class="el" href="a00779.html" title="A PdxWriter will be passed to PdxSerializable.toData when it is serializing the domain class.">PdxWriter</a> </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="a00475.html" title="Thrown when the state of cache is manipulated to be illegal.">IllegalStateException</a></td><td>if the named field has already been written or fieldName is nullptr or empty. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a5e2aef1a6a522842269b3aa9b1908e9a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5e2aef1a6a522842269b3aa9b1908e9a">&#9670;&nbsp;</a></span>writeObject()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="a00779.html">PdxWriter</a>&amp; apache::geode::client::PdxWriter::writeObject </td>
<td>(</td>
<td class="paramtype">const std::string &amp;&#160;</td>
<td class="paramname"><em>fieldName</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">std::shared_ptr&lt; <a class="el" href="a00855.html">Cacheable</a> &gt;&#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">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Writes the named field with the given value to the serialized form. </p>
<p>The fields type is <code>CacheablePtr</code>. </p>
<p>C++ std::shared_ptr&lt;Cacheable&gt; is mapped to Java object.</p>
<p>It is best to use one of the other writeXXX methods if your field type will always be XXX. This method allows the field value to be anything that is an instance of Object. This gives you more flexibility but more space is used to store the serialized field.</p>
<p>Note that some Java objects serialized with this method may not be compatible with non-java languages. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">fieldName</td><td>the name of the field to write </td></tr>
<tr><td class="paramname">value</td><td>the value of the field to write </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>this <a class="el" href="a00779.html" title="A PdxWriter will be passed to PdxSerializable.toData when it is serializing the domain class.">PdxWriter</a> </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="a00475.html" title="Thrown when the state of cache is manipulated to be illegal.">IllegalStateException</a></td><td>if the named field has already been written or fieldName is nullptr or empty. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a22c792204fbb8eda34642d32a70e7b4b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a22c792204fbb8eda34642d32a70e7b4b">&#9670;&nbsp;</a></span>writeObjectArray()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="a00779.html">PdxWriter</a>&amp; apache::geode::client::PdxWriter::writeObjectArray </td>
<td>(</td>
<td class="paramtype">const std::string &amp;&#160;</td>
<td class="paramname"><em>fieldName</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">std::shared_ptr&lt; <a class="el" href="a00355.html">CacheableObjectArray</a> &gt;&#160;</td>
<td class="paramname"><em>array</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">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Writes the named field with the given value to the serialized form. </p>
<p>The fields type is <code>CacheableObjectArrayPtr</code>. C++ std::shared_ptr&lt;CacheableObjectArray&gt; is mapped to Java Object[]. For how each element of the array is a mapped to C++ see {<a class="el" href="a00779.html#a5e2aef1a6a522842269b3aa9b1908e9a">}. Note that this call may serialize elements that are not compatible with non-java languages. fieldName the name of the field to write array the value of the field to write this PdxWriter IllegalStateException if the named field has already been written or fieldName is nullptr or empty. </a></p>
</div>
</div>
<a id="a43556c0b35daf855719ca04fd3cd7c69"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a43556c0b35daf855719ca04fd3cd7c69">&#9670;&nbsp;</a></span>writeShort()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="a00779.html">PdxWriter</a>&amp; apache::geode::client::PdxWriter::writeShort </td>
<td>(</td>
<td class="paramtype">const std::string &amp;&#160;</td>
<td class="paramname"><em>fieldName</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int16_t&#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">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Writes the named field with the given value to the serialized form. </p>
<p>The fields type is <code>int16_t</code>. </p>
<p>C++ int16_t is mapped to Java short</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">fieldName</td><td>the name of the field to write </td></tr>
<tr><td class="paramname">value</td><td>the value of the field to write </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>this <a class="el" href="a00779.html" title="A PdxWriter will be passed to PdxSerializable.toData when it is serializing the domain class.">PdxWriter</a> </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="a00475.html" title="Thrown when the state of cache is manipulated to be illegal.">IllegalStateException</a></td><td>if the named field has already been written or fieldName is nullptr or empty </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a7987e3c50ab83631e29906b5db3a0926"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7987e3c50ab83631e29906b5db3a0926">&#9670;&nbsp;</a></span>writeShortArray()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="a00779.html">PdxWriter</a>&amp; apache::geode::client::PdxWriter::writeShortArray </td>
<td>(</td>
<td class="paramtype">const std::string &amp;&#160;</td>
<td class="paramname"><em>fieldName</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const std::vector&lt; int16_t &gt; &amp;&#160;</td>
<td class="paramname"><em>array</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">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Writes the named field with the given value to the serialized form. </p>
<p>The fields type is <code>int16_t*</code>. </p>
<p>C++ int16_t* is mapped to Java short[].</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">fieldName</td><td>the name of the field to write </td></tr>
<tr><td class="paramname">array</td><td>the value of the field to write </td></tr>
<tr><td class="paramname">length</td><td>the length of the array field to write </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>this <a class="el" href="a00779.html" title="A PdxWriter will be passed to PdxSerializable.toData when it is serializing the domain class.">PdxWriter</a> </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="a00475.html" title="Thrown when the state of cache is manipulated to be illegal.">IllegalStateException</a></td><td>if the named field has already been written or fieldName is nullptr or empty. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="aba9a1b68b5716e21834234b4513ba830"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aba9a1b68b5716e21834234b4513ba830">&#9670;&nbsp;</a></span>writeString()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="a00779.html">PdxWriter</a>&amp; apache::geode::client::PdxWriter::writeString </td>
<td>(</td>
<td class="paramtype">const std::string &amp;&#160;</td>
<td class="paramname"><em>fieldName</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const std::string &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">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Writes the named field with the given value to the serialized form. </p>
<p>The fields type is <code>char*</code>. </p>
<p>C++ std::string is mapped to Java String</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">fieldName</td><td>the name of the field to write </td></tr>
<tr><td class="paramname">value</td><td>the UTF-8 value of the field to write </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>this <a class="el" href="a00779.html" title="A PdxWriter will be passed to PdxSerializable.toData when it is serializing the domain class.">PdxWriter</a> </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="a00475.html" title="Thrown when the state of cache is manipulated to be illegal.">IllegalStateException</a></td><td>if the named field has already been written or fieldName is nullptr or empty </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="aa98876c145e567024e04fb0e15c6d94a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa98876c145e567024e04fb0e15c6d94a">&#9670;&nbsp;</a></span>writeStringArray()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="a00779.html">PdxWriter</a>&amp; apache::geode::client::PdxWriter::writeStringArray </td>
<td>(</td>
<td class="paramtype">const std::string &amp;&#160;</td>
<td class="paramname"><em>fieldName</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const std::vector&lt; std::string &gt; &amp;&#160;</td>
<td class="paramname"><em>array</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">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Writes the named field with the given value to the serialized form. </p>
<p>The fields type is <code>std::vector&lt;std::string&gt;</code>. </p>
<p>C++ std::vector&lt;std::string&gt; is mapped to Java String[].</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">fieldName</td><td>the name of the field to write </td></tr>
<tr><td class="paramname">array</td><td>the value of the field to write </td></tr>
<tr><td class="paramname">length</td><td>the length of the array field to write </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>this <a class="el" href="a00779.html" title="A PdxWriter will be passed to PdxSerializable.toData when it is serializing the domain class.">PdxWriter</a> </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="a00475.html" title="Thrown when the state of cache is manipulated to be illegal.">IllegalStateException</a></td><td>if the named field has already been written or fieldName is nullptr or empty. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="afe6e9828597463ee36403fa3e415eb8c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afe6e9828597463ee36403fa3e415eb8c">&#9670;&nbsp;</a></span>writeUnreadFields()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="a00779.html">PdxWriter</a>&amp; apache::geode::client::PdxWriter::writeUnreadFields </td>
<td>(</td>
<td class="paramtype">std::shared_ptr&lt; <a class="el" href="a00771.html">PdxUnreadFields</a> &gt;&#160;</td>
<td class="paramname"><em>unread</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Writes the given unread fields to the serialized form. </p>
<p>The unread fields are obtained by calling {<a class="el" href="a00759.html#a57a21d6413b8e59e7667bb74bb46b0e5">}. </a>This method must be called first before any of the writeXXX methods is called. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">unread</td><td>the object that was returned from {<a class="el" href="a00759.html#a57a21d6413b8e59e7667bb74bb46b0e5">}. this PdxWriter IllegalStateException if one of the writeXXX methods has already been called. </a></td></tr>
</table>
</dd>
</dl>
</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 API Documentation</small></address>