blob: 8d7293306f86ee7dae5108276a30e3d8f4de4a72 [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://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"/>
<title>activemq-cpp-3.4.0: activemq::util::PrimitiveMap Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.7.3 -->
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
<div id="projectname">activemq-cpp-3.4.0</div>
</td>
</tr>
</tbody>
</table>
</div>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
<li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Data&#160;Fields</span></a></li>
</ul>
</div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
initNavTree('classactivemq_1_1util_1_1_primitive_map.html','');
</script>
<div id="doc-content">
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> </div>
<div class="headertitle">
<h1>activemq::util::PrimitiveMap Class Reference</h1> </div>
</div>
<div class="contents">
<!-- doxytag: class="activemq::util::PrimitiveMap" --><!-- doxytag: inherits="StlMap&lt; std::string, PrimitiveValueNode &gt;" -->
<p>Map of named primitives.
<a href="#_details">More...</a></p>
<p><code>#include &lt;<a class="el" href="_primitive_map_8h_source.html">src/main/activemq/util/PrimitiveMap.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for activemq::util::PrimitiveMap:</div>
<div class="dyncontent">
<div class="center"><img src="classactivemq_1_1util_1_1_primitive_map__inherit__graph.png" border="0" usemap="#activemq_1_1util_1_1_primitive_map_inherit__map" alt="Inheritance graph"/></div>
<map name="activemq_1_1util_1_1_primitive_map_inherit__map" id="activemq_1_1util_1_1_primitive_map_inherit__map">
<area shape="rect" id="node2" href="classdecaf_1_1util_1_1_stl_map.html" title="decaf::util::StlMap\&lt; std::string, PrimitiveValueNode \&gt;" alt="" coords="79,160,465,189"/><area shape="rect" id="node4" href="classdecaf_1_1util_1_1_map.html" title="decaf::util::Map\&lt; std::string, PrimitiveValueNode, std::less\&lt; std::string \&gt; \&gt;" alt="" coords="5,83,539,112"/><area shape="rect" id="node6" href="classdecaf_1_1util_1_1concurrent_1_1_synchronizable.html" title="The interface for all synchronizable objects (that is, objects that can be locked and unlocked)..." alt="" coords="129,5,415,35"/></map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classactivemq_1_1util_1_1_primitive_map.html#ae78562ed9f0b5493b012beb3d4d17e95">PrimitiveMap</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Default Constructor, creates an empty map. <a href="#ae78562ed9f0b5493b012beb3d4d17e95"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classactivemq_1_1util_1_1_primitive_map.html#afeba7f0ffb5a70b60bc398e4387a6dfa">~PrimitiveMap</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classactivemq_1_1util_1_1_primitive_map.html#ad8f39d9e819c6462906f2a9cc17ea241">PrimitiveMap</a> (const <a class="el" href="classdecaf_1_1util_1_1_map.html">decaf::util::Map</a>&lt; std::string, <a class="el" href="classactivemq_1_1util_1_1_primitive_value_node.html">PrimitiveValueNode</a> &gt; &amp;source)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy Constructor. <a href="#ad8f39d9e819c6462906f2a9cc17ea241"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classactivemq_1_1util_1_1_primitive_map.html#a0477b9fe4d3db7cc54fbe19d481399fe">PrimitiveMap</a> (const <a class="el" href="classactivemq_1_1util_1_1_primitive_map.html">PrimitiveMap</a> &amp;source)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy Constructor. <a href="#a0477b9fe4d3db7cc54fbe19d481399fe"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classactivemq_1_1util_1_1_primitive_map.html#a0c4c095c52c1b624c38c3c10d10c3145">toString</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Converts the contents into a formatted string that can be output in a Log File or other debugging tool. <a href="#a0c4c095c52c1b624c38c3c10d10c3145"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classactivemq_1_1util_1_1_primitive_map.html#a22425fd4b741bcb3d4cb6e0ff4099f26">getBool</a> (const std::string &amp;key) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the Boolean value at the given key, if the key is not in the map or cannot be returned as the requested value then an exception of type NoSuchElementException is thrown. <a href="#a22425fd4b741bcb3d4cb6e0ff4099f26"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classactivemq_1_1util_1_1_primitive_map.html#a184f427aace18a0fcc7444c2d81673ba">setBool</a> (const std::string &amp;key, bool value)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the value at key to the specified type. <a href="#a184f427aace18a0fcc7444c2d81673ba"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual unsigned char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classactivemq_1_1util_1_1_primitive_map.html#a369f28cb53b78a20caa98181a28678f7">getByte</a> (const std::string &amp;key) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the Byte value at the given key, if the key is not in the map or cannot be returned as the requested value then an exception of type NoSuchElementException is thrown. <a href="#a369f28cb53b78a20caa98181a28678f7"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classactivemq_1_1util_1_1_primitive_map.html#a01885595137b8e779d8bca5808c98083">setByte</a> (const std::string &amp;key, unsigned char value)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the value at key to the specified type. <a href="#a01885595137b8e779d8bca5808c98083"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classactivemq_1_1util_1_1_primitive_map.html#ac260b3243fe8c05b2d0f797aa62b5047">getChar</a> (const std::string &amp;key) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the Character value at the given key, if the key is not in the map or cannot be returned as the requested value then an exception of type NoSuchElementException is thrown. <a href="#ac260b3243fe8c05b2d0f797aa62b5047"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classactivemq_1_1util_1_1_primitive_map.html#a043433575f568d80cd758fb266a6235c">setChar</a> (const std::string &amp;key, char value)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the value at key to the specified type. <a href="#a043433575f568d80cd758fb266a6235c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual short&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classactivemq_1_1util_1_1_primitive_map.html#a8c557fb085188b625496b6cb112d4aaa">getShort</a> (const std::string &amp;key) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the Short value at the given key, if the key is not in the map or cannot be returned as the requested value then an exception of type NoSuchElementException is thrown. <a href="#a8c557fb085188b625496b6cb112d4aaa"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classactivemq_1_1util_1_1_primitive_map.html#a1141fb0ff6a16d221a3b934588cd57d4">setShort</a> (const std::string &amp;key, short value)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the value at key to the specified type. <a href="#a1141fb0ff6a16d221a3b934588cd57d4"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classactivemq_1_1util_1_1_primitive_map.html#acca9220151a29dab431118b0f89e9eab">getInt</a> (const std::string &amp;key) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the Integer value at the given key, if the key is not in the map or cannot be returned as the requested value then an exception of type NoSuchElementException is thrown. <a href="#acca9220151a29dab431118b0f89e9eab"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classactivemq_1_1util_1_1_primitive_map.html#a5a6323b0625402227abd0327d6b649b3">setInt</a> (const std::string &amp;key, int value)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the value at key to the specified type. <a href="#a5a6323b0625402227abd0327d6b649b3"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual long long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classactivemq_1_1util_1_1_primitive_map.html#a47960844e9d5090f783b323af7334956">getLong</a> (const std::string &amp;key) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the Long value at the given key, if the key is not in the map or cannot be returned as the requested value then an exception of type NoSuchElementException is thrown. <a href="#a47960844e9d5090f783b323af7334956"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classactivemq_1_1util_1_1_primitive_map.html#ad6cba61735e269c817f68fd7efc87864">setLong</a> (const std::string &amp;key, long long value)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the value at key to the specified type. <a href="#ad6cba61735e269c817f68fd7efc87864"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classactivemq_1_1util_1_1_primitive_map.html#a0f614f57e05f5d59f5761990a77bd890">getFloat</a> (const std::string &amp;key) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the Float value at the given key, if the key is not in the map or cannot be returned as the requested value then an exception of type NoSuchElementException is thrown. <a href="#a0f614f57e05f5d59f5761990a77bd890"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classactivemq_1_1util_1_1_primitive_map.html#a68c8a784d37bde747b52ce38edda6735">setFloat</a> (const std::string &amp;key, float value)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the value at key to the specified type. <a href="#a68c8a784d37bde747b52ce38edda6735"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classactivemq_1_1util_1_1_primitive_map.html#a4fbbbec58661f062511a3a4b7f4b627e">getDouble</a> (const std::string &amp;key) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the Double value at the given key, if the key is not in the map or cannot be returned as the requested value then an exception of type NoSuchElementException is thrown. <a href="#a4fbbbec58661f062511a3a4b7f4b627e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classactivemq_1_1util_1_1_primitive_map.html#a6076f317d68bc586baad54f6be6a60d2">setDouble</a> (const std::string &amp;key, double value)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the value at key to the specified type. <a href="#a6076f317d68bc586baad54f6be6a60d2"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classactivemq_1_1util_1_1_primitive_map.html#adb657085945d043c6f6ef1639e292a8b">getString</a> (const std::string &amp;key) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the String value at the given key, if the key is not in the map or cannot be returned as the requested value then an exception of type NoSuchElementException is thrown. <a href="#adb657085945d043c6f6ef1639e292a8b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classactivemq_1_1util_1_1_primitive_map.html#a629024c84b5f00db1b2314246ae56337">setString</a> (const std::string &amp;key, const std::string &amp;value)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the value at key to the specified type. <a href="#a629024c84b5f00db1b2314246ae56337"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual std::vector&lt; unsigned <br class="typebreak"/>
char &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classactivemq_1_1util_1_1_primitive_map.html#a8dadec6361a6619a6a249c59b706ac99">getByteArray</a> (const std::string &amp;key) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the Byte Array value at the given key, if the key is not in the map or cannot be returned as the requested value then an exception of type NoSuchElementException is thrown. <a href="#a8dadec6361a6619a6a249c59b706ac99"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classactivemq_1_1util_1_1_primitive_map.html#ad3c7a49fb443ac51105eb87c92d64f5e">setByteArray</a> (const std::string &amp;key, const std::vector&lt; unsigned char &gt; &amp;value)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the value at key to the specified type. <a href="#ad3c7a49fb443ac51105eb87c92d64f5e"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Map of named primitives. </p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="ae78562ed9f0b5493b012beb3d4d17e95"></a><!-- doxytag: member="activemq::util::PrimitiveMap::PrimitiveMap" ref="ae78562ed9f0b5493b012beb3d4d17e95" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">activemq::util::PrimitiveMap::PrimitiveMap </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Default Constructor, creates an empty map. </p>
</div>
</div>
<a class="anchor" id="afeba7f0ffb5a70b60bc398e4387a6dfa"></a><!-- doxytag: member="activemq::util::PrimitiveMap::~PrimitiveMap" ref="afeba7f0ffb5a70b60bc398e4387a6dfa" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual activemq::util::PrimitiveMap::~PrimitiveMap </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td><code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="ad8f39d9e819c6462906f2a9cc17ea241"></a><!-- doxytag: member="activemq::util::PrimitiveMap::PrimitiveMap" ref="ad8f39d9e819c6462906f2a9cc17ea241" args="(const decaf::util::Map&lt; std::string, PrimitiveValueNode &gt; &amp;source)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">activemq::util::PrimitiveMap::PrimitiveMap </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classdecaf_1_1util_1_1_map.html">decaf::util::Map</a>&lt; std::string, <a class="el" href="classactivemq_1_1util_1_1_primitive_value_node.html">PrimitiveValueNode</a> &gt; &amp;&#160;</td>
<td class="paramname"><em>source</em></td><td>)</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Copy Constructor. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">source</td><td>The Decaf Library Map instance whose elements will be copied into this Map. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a0477b9fe4d3db7cc54fbe19d481399fe"></a><!-- doxytag: member="activemq::util::PrimitiveMap::PrimitiveMap" ref="a0477b9fe4d3db7cc54fbe19d481399fe" args="(const PrimitiveMap &amp;source)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">activemq::util::PrimitiveMap::PrimitiveMap </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classactivemq_1_1util_1_1_primitive_map.html">PrimitiveMap</a> &amp;&#160;</td>
<td class="paramname"><em>source</em></td><td>)</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Copy Constructor. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">source</td><td>The <a class="el" href="classactivemq_1_1util_1_1_primitive_map.html" title="Map of named primitives.">PrimitiveMap</a> whose elements will be copied into this Map. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a22425fd4b741bcb3d4cb6e0ff4099f26"></a><!-- doxytag: member="activemq::util::PrimitiveMap::getBool" ref="a22425fd4b741bcb3d4cb6e0ff4099f26" args="(const std::string &amp;key) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual bool activemq::util::PrimitiveMap::getBool </td>
<td>(</td>
<td class="paramtype">const std::string &amp;&#160;</td>
<td class="paramname"><em>key</em></td><td>)</td>
<td> const<code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Gets the Boolean value at the given key, if the key is not in the map or cannot be returned as the requested value then an exception of type NoSuchElementException is thrown. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">key</td><td>- the location to return the value from. </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>the value at key in the type requested. </dd></dl>
<dl><dt><b>Exceptions:</b></dt><dd>
<table class="exception">
<tr><td class="paramname">NoSuchElementException</td><td>if key is not in the map. </td></tr>
<tr><td class="paramname">UnSupportedOperationException</td><td>if the value cannot be converted to the type this method returns </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a369f28cb53b78a20caa98181a28678f7"></a><!-- doxytag: member="activemq::util::PrimitiveMap::getByte" ref="a369f28cb53b78a20caa98181a28678f7" args="(const std::string &amp;key) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual unsigned char activemq::util::PrimitiveMap::getByte </td>
<td>(</td>
<td class="paramtype">const std::string &amp;&#160;</td>
<td class="paramname"><em>key</em></td><td>)</td>
<td> const<code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Gets the Byte value at the given key, if the key is not in the map or cannot be returned as the requested value then an exception of type NoSuchElementException is thrown. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">key</td><td>- the location to return the value from. </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>the value at key in the type requested. </dd></dl>
<dl><dt><b>Exceptions:</b></dt><dd>
<table class="exception">
<tr><td class="paramname">NoSuchElementException</td><td>if key is not in the map. </td></tr>
<tr><td class="paramname">UnSupportedOperationException</td><td>if the value cannot be converted to the type this method returns </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a8dadec6361a6619a6a249c59b706ac99"></a><!-- doxytag: member="activemq::util::PrimitiveMap::getByteArray" ref="a8dadec6361a6619a6a249c59b706ac99" args="(const std::string &amp;key) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual std::vector&lt;unsigned char&gt; activemq::util::PrimitiveMap::getByteArray </td>
<td>(</td>
<td class="paramtype">const std::string &amp;&#160;</td>
<td class="paramname"><em>key</em></td><td>)</td>
<td> const<code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Gets the Byte Array value at the given key, if the key is not in the map or cannot be returned as the requested value then an exception of type NoSuchElementException is thrown. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">key</td><td>- the location to return the value from. </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>the value at key in the type requested. </dd></dl>
<dl><dt><b>Exceptions:</b></dt><dd>
<table class="exception">
<tr><td class="paramname">NoSuchElementException</td><td>if key is not in the map. </td></tr>
<tr><td class="paramname">UnSupportedOperationException</td><td>if the value cannot be converted to the type this method returns </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="ac260b3243fe8c05b2d0f797aa62b5047"></a><!-- doxytag: member="activemq::util::PrimitiveMap::getChar" ref="ac260b3243fe8c05b2d0f797aa62b5047" args="(const std::string &amp;key) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual char activemq::util::PrimitiveMap::getChar </td>
<td>(</td>
<td class="paramtype">const std::string &amp;&#160;</td>
<td class="paramname"><em>key</em></td><td>)</td>
<td> const<code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Gets the Character value at the given key, if the key is not in the map or cannot be returned as the requested value then an exception of type NoSuchElementException is thrown. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">key</td><td>- the location to return the value from. </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>the value at key in the type requested. </dd></dl>
<dl><dt><b>Exceptions:</b></dt><dd>
<table class="exception">
<tr><td class="paramname">NoSuchElementException</td><td>if key is not in the map. </td></tr>
<tr><td class="paramname">UnSupportedOperationException</td><td>if the value cannot be converted to the type this method returns </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a4fbbbec58661f062511a3a4b7f4b627e"></a><!-- doxytag: member="activemq::util::PrimitiveMap::getDouble" ref="a4fbbbec58661f062511a3a4b7f4b627e" args="(const std::string &amp;key) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual double activemq::util::PrimitiveMap::getDouble </td>
<td>(</td>
<td class="paramtype">const std::string &amp;&#160;</td>
<td class="paramname"><em>key</em></td><td>)</td>
<td> const<code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Gets the Double value at the given key, if the key is not in the map or cannot be returned as the requested value then an exception of type NoSuchElementException is thrown. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">key</td><td>- the location to return the value from. </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>the value at key in the type requested. </dd></dl>
<dl><dt><b>Exceptions:</b></dt><dd>
<table class="exception">
<tr><td class="paramname">NoSuchElementException</td><td>if key is not in the map. </td></tr>
<tr><td class="paramname">UnSupportedOperationException</td><td>if the value cannot be converted to the type this method returns </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a0f614f57e05f5d59f5761990a77bd890"></a><!-- doxytag: member="activemq::util::PrimitiveMap::getFloat" ref="a0f614f57e05f5d59f5761990a77bd890" args="(const std::string &amp;key) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual float activemq::util::PrimitiveMap::getFloat </td>
<td>(</td>
<td class="paramtype">const std::string &amp;&#160;</td>
<td class="paramname"><em>key</em></td><td>)</td>
<td> const<code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Gets the Float value at the given key, if the key is not in the map or cannot be returned as the requested value then an exception of type NoSuchElementException is thrown. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">key</td><td>- the location to return the value from. </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>the value at key in the type requested. </dd></dl>
<dl><dt><b>Exceptions:</b></dt><dd>
<table class="exception">
<tr><td class="paramname">NoSuchElementException</td><td>if key is not in the map. </td></tr>
<tr><td class="paramname">UnSupportedOperationException</td><td>if the value cannot be converted to the type this method returns </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="acca9220151a29dab431118b0f89e9eab"></a><!-- doxytag: member="activemq::util::PrimitiveMap::getInt" ref="acca9220151a29dab431118b0f89e9eab" args="(const std::string &amp;key) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual int activemq::util::PrimitiveMap::getInt </td>
<td>(</td>
<td class="paramtype">const std::string &amp;&#160;</td>
<td class="paramname"><em>key</em></td><td>)</td>
<td> const<code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Gets the Integer value at the given key, if the key is not in the map or cannot be returned as the requested value then an exception of type NoSuchElementException is thrown. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">key</td><td>- the location to return the value from. </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>the value at key in the type requested. </dd></dl>
<dl><dt><b>Exceptions:</b></dt><dd>
<table class="exception">
<tr><td class="paramname">NoSuchElementException</td><td>if key is not in the map. </td></tr>
<tr><td class="paramname">UnSupportedOperationException</td><td>if the value cannot be converted to the type this method returns </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a47960844e9d5090f783b323af7334956"></a><!-- doxytag: member="activemq::util::PrimitiveMap::getLong" ref="a47960844e9d5090f783b323af7334956" args="(const std::string &amp;key) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual long long activemq::util::PrimitiveMap::getLong </td>
<td>(</td>
<td class="paramtype">const std::string &amp;&#160;</td>
<td class="paramname"><em>key</em></td><td>)</td>
<td> const<code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Gets the Long value at the given key, if the key is not in the map or cannot be returned as the requested value then an exception of type NoSuchElementException is thrown. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">key</td><td>- the location to return the value from. </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>the value at key in the type requested. </dd></dl>
<dl><dt><b>Exceptions:</b></dt><dd>
<table class="exception">
<tr><td class="paramname">NoSuchElementException</td><td>if key is not in the map. </td></tr>
<tr><td class="paramname">UnSupportedOperationException</td><td>if the value cannot be converted to the type this method returns </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a8c557fb085188b625496b6cb112d4aaa"></a><!-- doxytag: member="activemq::util::PrimitiveMap::getShort" ref="a8c557fb085188b625496b6cb112d4aaa" args="(const std::string &amp;key) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual short activemq::util::PrimitiveMap::getShort </td>
<td>(</td>
<td class="paramtype">const std::string &amp;&#160;</td>
<td class="paramname"><em>key</em></td><td>)</td>
<td> const<code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Gets the Short value at the given key, if the key is not in the map or cannot be returned as the requested value then an exception of type NoSuchElementException is thrown. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">key</td><td>- the location to return the value from. </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>the value at key in the type requested. </dd></dl>
<dl><dt><b>Exceptions:</b></dt><dd>
<table class="exception">
<tr><td class="paramname">NoSuchElementException</td><td>if key is not in the map. </td></tr>
<tr><td class="paramname">UnSupportedOperationException</td><td>if the value cannot be converted to the type this method returns </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="adb657085945d043c6f6ef1639e292a8b"></a><!-- doxytag: member="activemq::util::PrimitiveMap::getString" ref="adb657085945d043c6f6ef1639e292a8b" args="(const std::string &amp;key) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual std::string activemq::util::PrimitiveMap::getString </td>
<td>(</td>
<td class="paramtype">const std::string &amp;&#160;</td>
<td class="paramname"><em>key</em></td><td>)</td>
<td> const<code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Gets the String value at the given key, if the key is not in the map or cannot be returned as the requested value then an exception of type NoSuchElementException is thrown. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">key</td><td>- the location to return the value from. </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>the value at key in the type requested. </dd></dl>
<dl><dt><b>Exceptions:</b></dt><dd>
<table class="exception">
<tr><td class="paramname">NoSuchElementException</td><td>if key is not in the map. </td></tr>
<tr><td class="paramname">UnSupportedOperationException</td><td>if the value cannot be converted to the type this method returns </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a184f427aace18a0fcc7444c2d81673ba"></a><!-- doxytag: member="activemq::util::PrimitiveMap::setBool" ref="a184f427aace18a0fcc7444c2d81673ba" args="(const std::string &amp;key, bool value)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void activemq::util::PrimitiveMap::setBool </td>
<td>(</td>
<td class="paramtype">const std::string &amp;&#160;</td>
<td class="paramname"><em>key</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><code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Sets the value at key to the specified type. </p>
<p>Overwrites any data that was previously at this key or inserts a new element at key. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">key</td><td>- the map key to set or insert. </td></tr>
<tr><td class="paramname">value</td><td>- the new value to set at the key location. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a01885595137b8e779d8bca5808c98083"></a><!-- doxytag: member="activemq::util::PrimitiveMap::setByte" ref="a01885595137b8e779d8bca5808c98083" args="(const std::string &amp;key, unsigned char value)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void activemq::util::PrimitiveMap::setByte </td>
<td>(</td>
<td class="paramtype">const std::string &amp;&#160;</td>
<td class="paramname"><em>key</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">unsigned char&#160;</td>
<td class="paramname"><em>value</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td><code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Sets the value at key to the specified type. </p>
<p>Overwrites any data that was previously at this key or inserts a new element at key. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">key</td><td>- the map key to set or insert. </td></tr>
<tr><td class="paramname">value</td><td>- the new value to set at the key location. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="ad3c7a49fb443ac51105eb87c92d64f5e"></a><!-- doxytag: member="activemq::util::PrimitiveMap::setByteArray" ref="ad3c7a49fb443ac51105eb87c92d64f5e" args="(const std::string &amp;key, const std::vector&lt; unsigned char &gt; &amp;value)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void activemq::util::PrimitiveMap::setByteArray </td>
<td>(</td>
<td class="paramtype">const std::string &amp;&#160;</td>
<td class="paramname"><em>key</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const std::vector&lt; unsigned char &gt; &amp;&#160;</td>
<td class="paramname"><em>value</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td><code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Sets the value at key to the specified type. </p>
<p>Overwrites any data that was previously at this key or inserts a new element at key. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">key</td><td>- the map key to set or insert. </td></tr>
<tr><td class="paramname">value</td><td>- the new value to set at the key location. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a043433575f568d80cd758fb266a6235c"></a><!-- doxytag: member="activemq::util::PrimitiveMap::setChar" ref="a043433575f568d80cd758fb266a6235c" args="(const std::string &amp;key, char value)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void activemq::util::PrimitiveMap::setChar </td>
<td>(</td>
<td class="paramtype">const std::string &amp;&#160;</td>
<td class="paramname"><em>key</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">char&#160;</td>
<td class="paramname"><em>value</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td><code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Sets the value at key to the specified type. </p>
<p>Overwrites any data that was previously at this key or inserts a new element at key. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">key</td><td>- the map key to set or insert. </td></tr>
<tr><td class="paramname">value</td><td>- the new value to set at the key location. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a6076f317d68bc586baad54f6be6a60d2"></a><!-- doxytag: member="activemq::util::PrimitiveMap::setDouble" ref="a6076f317d68bc586baad54f6be6a60d2" args="(const std::string &amp;key, double value)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void activemq::util::PrimitiveMap::setDouble </td>
<td>(</td>
<td class="paramtype">const std::string &amp;&#160;</td>
<td class="paramname"><em>key</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><code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Sets the value at key to the specified type. </p>
<p>Overwrites any data that was previously at this key or inserts a new element at key. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">key</td><td>- the map key to set or insert. </td></tr>
<tr><td class="paramname">value</td><td>- the new value to set at the key location. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a68c8a784d37bde747b52ce38edda6735"></a><!-- doxytag: member="activemq::util::PrimitiveMap::setFloat" ref="a68c8a784d37bde747b52ce38edda6735" args="(const std::string &amp;key, float value)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void activemq::util::PrimitiveMap::setFloat </td>
<td>(</td>
<td class="paramtype">const std::string &amp;&#160;</td>
<td class="paramname"><em>key</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><code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Sets the value at key to the specified type. </p>
<p>Overwrites any data that was previously at this key or inserts a new element at key. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">key</td><td>- the map key to set or insert. </td></tr>
<tr><td class="paramname">value</td><td>- the new value to set at the key location. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a5a6323b0625402227abd0327d6b649b3"></a><!-- doxytag: member="activemq::util::PrimitiveMap::setInt" ref="a5a6323b0625402227abd0327d6b649b3" args="(const std::string &amp;key, int value)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void activemq::util::PrimitiveMap::setInt </td>
<td>(</td>
<td class="paramtype">const std::string &amp;&#160;</td>
<td class="paramname"><em>key</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>value</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td><code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Sets the value at key to the specified type. </p>
<p>Overwrites any data that was previously at this key or inserts a new element at key. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">key</td><td>- the map key to set or insert. </td></tr>
<tr><td class="paramname">value</td><td>- the new value to set at the key location. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="ad6cba61735e269c817f68fd7efc87864"></a><!-- doxytag: member="activemq::util::PrimitiveMap::setLong" ref="ad6cba61735e269c817f68fd7efc87864" args="(const std::string &amp;key, long long value)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void activemq::util::PrimitiveMap::setLong </td>
<td>(</td>
<td class="paramtype">const std::string &amp;&#160;</td>
<td class="paramname"><em>key</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">long long&#160;</td>
<td class="paramname"><em>value</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td><code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Sets the value at key to the specified type. </p>
<p>Overwrites any data that was previously at this key or inserts a new element at key. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">key</td><td>- the map key to set or insert. </td></tr>
<tr><td class="paramname">value</td><td>- the new value to set at the key location. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a1141fb0ff6a16d221a3b934588cd57d4"></a><!-- doxytag: member="activemq::util::PrimitiveMap::setShort" ref="a1141fb0ff6a16d221a3b934588cd57d4" args="(const std::string &amp;key, short value)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void activemq::util::PrimitiveMap::setShort </td>
<td>(</td>
<td class="paramtype">const std::string &amp;&#160;</td>
<td class="paramname"><em>key</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">short&#160;</td>
<td class="paramname"><em>value</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td><code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Sets the value at key to the specified type. </p>
<p>Overwrites any data that was previously at this key or inserts a new element at key. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">key</td><td>- the map key to set or insert. </td></tr>
<tr><td class="paramname">value</td><td>- the new value to set at the key location. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a629024c84b5f00db1b2314246ae56337"></a><!-- doxytag: member="activemq::util::PrimitiveMap::setString" ref="a629024c84b5f00db1b2314246ae56337" args="(const std::string &amp;key, const std::string &amp;value)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void activemq::util::PrimitiveMap::setString </td>
<td>(</td>
<td class="paramtype">const std::string &amp;&#160;</td>
<td class="paramname"><em>key</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><code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Sets the value at key to the specified type. </p>
<p>Overwrites any data that was previously at this key or inserts a new element at key. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">key</td><td>- the map key to set or insert. </td></tr>
<tr><td class="paramname">value</td><td>- the new value to set at the key location. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a0c4c095c52c1b624c38c3c10d10c3145"></a><!-- doxytag: member="activemq::util::PrimitiveMap::toString" ref="a0c4c095c52c1b624c38c3c10d10c3145" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">std::string activemq::util::PrimitiveMap::toString </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Converts the contents into a formatted string that can be output in a Log File or other debugging tool. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>formatted String of all elements in the map. </dd></dl>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>src/main/activemq/util/<a class="el" href="_primitive_map_8h_source.html">PrimitiveMap.h</a></li>
</ul>
</div>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="namespaceactivemq.html">activemq</a> </li>
<li class="navelem"><a class="el" href="namespaceactivemq_1_1util.html">util</a> </li>
<li class="navelem"><a class="el" href="classactivemq_1_1util_1_1_primitive_map.html">PrimitiveMap</a> </li>
<li class="footer">Generated on Mon Apr 25 2011 for activemq-cpp-3.4.0 by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </li>
</ul>
</div>
</body>
</html>