<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>The MRPT project: mrpt::utils::CMHPropertiesValuesList Class Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="tabs.css" rel="stylesheet" type="text/css"> </head><body> <div align="left"><a href="http://www.mrpt.org/">Main MRPT website</a> > <b>C++ reference</b> </div> <div align="right"> <a href="index.html"><img border="0" src="mrpt_logo.png" alt="MRPT logo"></a> </div> <!-- Generated by Doxygen 1.7.2 --> <script type="text/javascript"><!-- var searchBox = new SearchBox("searchBox", "search",false,'Search'); --></script> <div class="navigation" id="top"> <div class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li class="current"><a href="annotated.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> <li id="searchli"> <div id="MSearchBox" class="MSearchBoxInactive"> <span class="left"> <form id="FSearchBox" action="search.php" method="get"> <img id="MSearchSelect" src="search/mag.png" alt=""/> <input type="text" id="MSearchField" name="query" value="Search" size="20" accesskey="S" onfocus="searchBox.OnSearchFieldFocus(true)" onblur="searchBox.OnSearchFieldFocus(false)"/> </form> </span><span class="right"></span> </div> </li> </ul> </div> <div class="tabs2"> <ul class="tablist"> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="classes.html"><span>Class Index</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div class="navpath"> <ul> <li><a class="el" href="namespacemrpt.html">mrpt</a> </li> <li><a class="el" href="namespacemrpt_1_1utils.html">utils</a> </li> <li><a class="el" href="classmrpt_1_1utils_1_1_c_m_h_properties_values_list.html">CMHPropertiesValuesList</a> </li> </ul> </div> </div> <div class="header"> <div class="summary"> <a href="#pub-types">Public Types</a> | <a href="#pub-methods">Public Member Functions</a> | <a href="#pri-attribs">Private Attributes</a> </div> <div class="headertitle"> <h1>mrpt::utils::CMHPropertiesValuesList Class Reference</h1> </div> </div> <div class="contents"> <!-- doxytag: class="mrpt::utils::CMHPropertiesValuesList" --><!-- doxytag: inherits="mrpt::utils::CSerializable" --><hr/><a name="_details"></a><h2>Detailed Description</h2> <p>An arbitrary list of "annotations", or named attributes, each being an instance of any <a class="el" href="classmrpt_1_1utils_1_1_c_serializable.html" title="The virtual base class which provides a unified interface for all persistent objects in MRPT...">CSerializable</a> object (Multi-hypotheses version). </p> <p>For each named annotation (or attribute), several values may exist, each associated to a given hypothesis ID. A non multi-hypotheses version exists in <a class="el" href="classmrpt_1_1utils_1_1_c_properties_values_list.html" title="An arbitrary list of "annotations", or named attributes, each being an instance of any CSer...">CPropertiesValuesList</a>. </p> <dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classmrpt_1_1utils_1_1_c_serializable.html" title="The virtual base class which provides a unified interface for all persistent objects in MRPT...">CSerializable</a>, <a class="el" href="classmrpt_1_1utils_1_1_c_properties_values_list.html" title="An arbitrary list of "annotations", or named attributes, each being an instance of any CSer...">CPropertiesValuesList</a> </dd></dl> <p>Definition at line <a class="el" href="_c_m_h_properties_values_list_8h_source.html#l00064">64</a> of file <a class="el" href="_c_m_h_properties_values_list_8h_source.html">CMHPropertiesValuesList.h</a>.</p> <p><code>#include <<a class="el" href="_c_m_h_properties_values_list_8h_source.html">mrpt/utils/CMHPropertiesValuesList.h</a>></code></p> <!-- startSectionHeader --><div class="dynheader"> Inheritance diagram for mrpt::utils::CMHPropertiesValuesList:<!-- endSectionHeader --></div> <!-- startSectionSummary --><!-- endSectionSummary --><!-- startSectionContent --><div class="dyncontent"> <div class="center"><img src="classmrpt_1_1utils_1_1_c_m_h_properties_values_list__inherit__graph.png" border="0" usemap="#mrpt_1_1utils_1_1_c_m_h_properties_values_list_inherit__map" alt="Inheritance graph"/></div> <map name="mrpt_1_1utils_1_1_c_m_h_properties_values_list_inherit__map" id="mrpt_1_1utils_1_1_c_m_h_properties_values_list_inherit__map"> </map> <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center><!-- endSectionContent --></div> <p><a href="classmrpt_1_1utils_1_1_c_m_h_properties_values_list-members.html">List of all members.</a></p> <table class="memberdecls"> <tr><td colspan="2"><h2><a name="pub-types"></a> Public Types</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">typedef std::vector<br class="typebreak"/> < <a class="el" href="structmrpt_1_1utils_1_1_t_property_value_i_d_triplet.html">TPropertyValueIDTriplet</a> ><br class="typebreak"/> ::<a class="el" href="classmrpt_1_1utils_1_1_c_m_h_properties_values_list.html#ac88d3181660e1630f65c1c6f5d9a13f5">iterator</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1utils_1_1_c_m_h_properties_values_list.html#ac88d3181660e1630f65c1c6f5d9a13f5">iterator</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top">typedef std::vector<br class="typebreak"/> < <a class="el" href="structmrpt_1_1utils_1_1_t_property_value_i_d_triplet.html">TPropertyValueIDTriplet</a> ><br class="typebreak"/> ::<a class="el" href="classmrpt_1_1utils_1_1_c_m_h_properties_values_list.html#af16448dc46235d6d840f154d88d85dd7">const_iterator</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1utils_1_1_c_m_h_properties_values_list.html#af16448dc46235d6d840f154d88d85dd7">const_iterator</a></td></tr> <tr><td colspan="2"><h2><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1utils_1_1_c_m_h_properties_values_list.html#a36f5473d4b4d5d31ba6e4b031e3841f5">CMHPropertiesValuesList</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Default constructor. <a href="#a36f5473d4b4d5d31ba6e4b031e3841f5"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1utils_1_1_c_m_h_properties_values_list.html#a5490a9b14805779fbccdd5166c535e7e">CMHPropertiesValuesList</a> (const <a class="el" href="classmrpt_1_1utils_1_1_c_m_h_properties_values_list.html">CMHPropertiesValuesList</a> &o)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Copy constructor. <a href="#a5490a9b14805779fbccdd5166c535e7e"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmrpt_1_1utils_1_1_c_m_h_properties_values_list.html">CMHPropertiesValuesList</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1utils_1_1_c_m_h_properties_values_list.html#a358a47a4bf79af0eda7f6bf13c4dddac">operator=</a> (const <a class="el" href="classmrpt_1_1utils_1_1_c_m_h_properties_values_list.html">CMHPropertiesValuesList</a> &o)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Copy operator. <a href="#a358a47a4bf79af0eda7f6bf13c4dddac"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1utils_1_1_c_m_h_properties_values_list.html#a669f75c2557233c093b035c03cb729f0">~CMHPropertiesValuesList</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="#a669f75c2557233c093b035c03cb729f0"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1utils_1_1_c_m_h_properties_values_list.html#a3ecfbcfeec5ebe917920e84a1bee61a2">clear</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Clears the list and frees all object's memory. <a href="#a3ecfbcfeec5ebe917920e84a1bee61a2"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="structmrpt_1_1utils_1_1_c_serializable_ptr.html">CSerializablePtr</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1utils_1_1_c_m_h_properties_values_list.html#a4da5682cf128d8f800815177341e2d3d">get</a> (const char *propertyName, const int64_t &hypothesis_ID) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the value of the property (case insensitive) for some given hypothesis ID, or a NULL smart pointer if it does not exist. <a href="#a4da5682cf128d8f800815177341e2d3d"></a><br/></td></tr> <tr><td class="memTemplParams" colspan="2">template<typename T > </td></tr> <tr><td class="memTemplItemLeft" align="right" valign="top">T::SmartPtr </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classmrpt_1_1utils_1_1_c_m_h_properties_values_list.html#a75cad9d532ca721d8c8fe141c0e669c9">getAs</a> (const char *propertyName, const int64_t &hypothesis_ID, bool allowNullPointer=true) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the value of the property (case insensitive) for some given hypothesis ID checking its class in runtime, or a NULL smart pointer if it does not exist. <a href="#a75cad9d532ca721d8c8fe141c0e669c9"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="structmrpt_1_1utils_1_1_c_serializable_ptr.html">CSerializablePtr</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1utils_1_1_c_m_h_properties_values_list.html#af5f6aea08a0aff8da96027879f8718b5">getAnyHypothesis</a> (const char *propertyName) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the value of the property (case insensitive) for the first hypothesis ID found, or NULL if it does not exist. <a href="#af5f6aea08a0aff8da96027879f8718b5"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1utils_1_1_c_m_h_properties_values_list.html#a6f495ee529449718eb04f04d7951b3e5">set</a> (const char *propertyName, const <a class="el" href="structmrpt_1_1utils_1_1_c_serializable_ptr.html">CSerializablePtr</a> &obj, const int64_t &hypothesis_ID)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets/change the value of the property (case insensitive) for the given hypothesis ID, making a copy of the object (or setting it to NULL if it is the passed value) <a href="#a6f495ee529449718eb04f04d7951b3e5"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1utils_1_1_c_m_h_properties_values_list.html#a400be0b452369ef70de8a8705533d430">setMemoryReference</a> (const char *propertyName, const <a class="el" href="structmrpt_1_1utils_1_1_c_serializable_ptr.html">CSerializablePtr</a> &obj, const int64_t &hypothesis_ID)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets/change the value of the property (case insensitive) for the given hypothesis ID, directly replacing the pointer instead of making a copy of the object. <a href="#a400be0b452369ef70de8a8705533d430"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1utils_1_1_c_m_h_properties_values_list.html#a07d02f31ac8c8878f7eb092f14795125">remove</a> (const char *propertyName, const int64_t &hypothesis_ID)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Remove a given property, if it exists. <a href="#a07d02f31ac8c8878f7eb092f14795125"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1utils_1_1_c_m_h_properties_values_list.html#aa5d8743ef291cbc79fcdabee327c0500">removeAll</a> (const int64_t &hypothesis_ID)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Remove all the properties for the given hypothesis. <a href="#aa5d8743ef291cbc79fcdabee327c0500"></a><br/></td></tr> <tr><td class="memTemplParams" colspan="2">template<class T > </td></tr> <tr><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classmrpt_1_1utils_1_1_c_m_h_properties_values_list.html#afc2f83bf0e618690eb41e28c2bed8d91">setElemental</a> (const char *propertyName, const T &data, const int64_t &hypothesis_ID)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets/change the value of a property (case insensitive) for the given hypothesis ID, from an elemental data type. <a href="#afc2f83bf0e618690eb41e28c2bed8d91"></a><br/></td></tr> <tr><td class="memTemplParams" colspan="2">template<class T > </td></tr> <tr><td class="memTemplItemLeft" align="right" valign="top">bool </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classmrpt_1_1utils_1_1_c_m_h_properties_values_list.html#a08e2748adbfed61c6ebd0704064d92d3">getElemental</a> (const char *propertyName, T &out_data, const int64_t &hypothesis_ID, bool raiseExceptionIfNotFound=false) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the value of a property (case insensitive) for the given hypothesis ID, retrieves it as an elemental data type (types must coincide, basic size check is performed). <a href="#a08e2748adbfed61c6ebd0704064d92d3"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">std::vector< std::string > </td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1utils_1_1_c_m_h_properties_values_list.html#adcfe3d77fc8c9fc6bf26765de369f3e7">getPropertyNames</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the name of all properties in the list. <a href="#adcfe3d77fc8c9fc6bf26765de369f3e7"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmrpt_1_1utils_1_1_c_m_h_properties_values_list.html#ac88d3181660e1630f65c1c6f5d9a13f5">iterator</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1utils_1_1_c_m_h_properties_values_list.html#a4e7896bb06e7ccd294c2c32ee03e5660">begin</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmrpt_1_1utils_1_1_c_m_h_properties_values_list.html#af16448dc46235d6d840f154d88d85dd7">const_iterator</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1utils_1_1_c_m_h_properties_values_list.html#a5ec13646b6f664432f41517ceaee0eb7">begin</a> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmrpt_1_1utils_1_1_c_m_h_properties_values_list.html#ac88d3181660e1630f65c1c6f5d9a13f5">iterator</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1utils_1_1_c_m_h_properties_values_list.html#adbeae11c34ad372e39cd5ddec6db8831">end</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmrpt_1_1utils_1_1_c_m_h_properties_values_list.html#af16448dc46235d6d840f154d88d85dd7">const_iterator</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1utils_1_1_c_m_h_properties_values_list.html#a599130dd0404de75dfde721dfbaa2551">end</a> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1utils_1_1_c_m_h_properties_values_list.html#ab31231f920dcee6fc7c2a924e8da5582">size</a> () const </td></tr> <tr><td colspan="2"><h2><a name="pri-attribs"></a> Private Attributes</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">std::vector<br class="typebreak"/> < <a class="el" href="structmrpt_1_1utils_1_1_t_property_value_i_d_triplet.html">TPropertyValueIDTriplet</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1utils_1_1_c_m_h_properties_values_list.html#ab807a04d43f66ac257d65a3bcc9df957">m_properties</a></td></tr> <tr><td colspan="2"><h2><a name="member-group"></a> RTTI stuff</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="structmrpt_1_1utils_1_1_c_m_h_properties_values_list_ptr.html">CMHPropertiesValuesListPtr</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1utils_1_1_c_m_h_properties_values_list.html#aa284669270095cf6143bf3439a363eae">SmartPtr</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="structmrpt_1_1utils_1_1_c_l_a_s_s_i_n_i_t.html">mrpt::utils::CLASSINIT</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1utils_1_1_c_m_h_properties_values_list.html#a04fb4038fc0d461ce865d994604d3c58">_init_CMHPropertiesValuesList</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="structmrpt_1_1utils_1_1_t_runtime_class_id.html">mrpt::utils::TRuntimeClassId</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1utils_1_1_c_m_h_properties_values_list.html#a6ec8b9fda278c2820d594bc5199e29ce">classCMHPropertiesValuesList</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top">static const <br class="typebreak"/> <a class="el" href="structmrpt_1_1utils_1_1_t_runtime_class_id.html">mrpt::utils::TRuntimeClassId</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1utils_1_1_c_m_h_properties_values_list.html#a59d230f0a8a506dd42944005345b9b18">classinfo</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top">static const <br class="typebreak"/> <a class="el" href="structmrpt_1_1utils_1_1_t_runtime_class_id.html">mrpt::utils::TRuntimeClassId</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1utils_1_1_c_m_h_properties_values_list.html#af20894755a8e21d55e0661868838f213">_GetBaseClass</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual const <br class="typebreak"/> <a class="el" href="structmrpt_1_1utils_1_1_t_runtime_class_id.html">mrpt::utils::TRuntimeClassId</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1utils_1_1_c_m_h_properties_values_list.html#a5616ef82a972fd32c855749b7e9b90ee">GetRuntimeClass</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns information about the class of an object in runtime. <a href="#a5616ef82a972fd32c855749b7e9b90ee"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classmrpt_1_1utils_1_1_c_object.html">mrpt::utils::CObject</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1utils_1_1_c_m_h_properties_values_list.html#aa96c50b8298d9986b7e38df79cefd526">duplicate</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns a copy of the object, indepently of its class. <a href="#aa96c50b8298d9986b7e38df79cefd526"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classmrpt_1_1utils_1_1_c_object.html">mrpt::utils::CObject</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1utils_1_1_c_m_h_properties_values_list.html#af9f2d2ab658360965e2440fc7ac6197e">CreateObject</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="structmrpt_1_1utils_1_1_c_m_h_properties_values_list_ptr.html">CMHPropertiesValuesListPtr</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1utils_1_1_c_m_h_properties_values_list.html#aa6210138d9da49ec924a41a050d3877e">Create</a> ()</td></tr> </table> <hr/><h2>Member Typedef Documentation</h2> <a class="anchor" id="af16448dc46235d6d840f154d88d85dd7"></a><!-- doxytag: member="mrpt::utils::CMHPropertiesValuesList::const_iterator" ref="af16448dc46235d6d840f154d88d85dd7" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">typedef std::vector<<a class="el" href="structmrpt_1_1utils_1_1_t_property_value_i_d_triplet.html">TPropertyValueIDTriplet</a>>::<a class="el" href="classmrpt_1_1utils_1_1_c_m_h_properties_values_list.html#af16448dc46235d6d840f154d88d85dd7">const_iterator</a> <a class="el" href="classmrpt_1_1utils_1_1_c_m_h_properties_values_list.html#af16448dc46235d6d840f154d88d85dd7">mrpt::utils::CMHPropertiesValuesList::const_iterator</a></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="_c_m_h_properties_values_list_8h_source.html#l00204">204</a> of file <a class="el" href="_c_m_h_properties_values_list_8h_source.html">CMHPropertiesValuesList.h</a>.</p> </div> </div> <a class="anchor" id="ac88d3181660e1630f65c1c6f5d9a13f5"></a><!-- doxytag: member="mrpt::utils::CMHPropertiesValuesList::iterator" ref="ac88d3181660e1630f65c1c6f5d9a13f5" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">typedef std::vector<<a class="el" href="structmrpt_1_1utils_1_1_t_property_value_i_d_triplet.html">TPropertyValueIDTriplet</a>>::<a class="el" href="classmrpt_1_1utils_1_1_c_m_h_properties_values_list.html#ac88d3181660e1630f65c1c6f5d9a13f5">iterator</a> <a class="el" href="classmrpt_1_1utils_1_1_c_m_h_properties_values_list.html#ac88d3181660e1630f65c1c6f5d9a13f5">mrpt::utils::CMHPropertiesValuesList::iterator</a></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="_c_m_h_properties_values_list_8h_source.html#l00203">203</a> of file <a class="el" href="_c_m_h_properties_values_list_8h_source.html">CMHPropertiesValuesList.h</a>.</p> </div> </div> <a class="anchor" id="aa284669270095cf6143bf3439a363eae"></a><!-- doxytag: member="mrpt::utils::CMHPropertiesValuesList::SmartPtr" ref="aa284669270095cf6143bf3439a363eae" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">typedef <a class="el" href="structmrpt_1_1utils_1_1_c_m_h_properties_values_list_ptr.html">CMHPropertiesValuesListPtr</a> <a class="el" href="structmrpt_1_1utils_1_1_c_m_h_properties_values_list_ptr.html">mrpt::utils::CMHPropertiesValuesList::SmartPtr</a></td> </tr> </table> </div> <div class="memdoc"> <p>A typedef for the associated smart pointer </p> <p>Definition at line <a class="el" href="_c_m_h_properties_values_list_8h_source.html#l00067">67</a> of file <a class="el" href="_c_m_h_properties_values_list_8h_source.html">CMHPropertiesValuesList.h</a>.</p> </div> </div> <hr/><h2>Constructor & Destructor Documentation</h2> <a class="anchor" id="a36f5473d4b4d5d31ba6e4b031e3841f5"></a><!-- doxytag: member="mrpt::utils::CMHPropertiesValuesList::CMHPropertiesValuesList" ref="a36f5473d4b4d5d31ba6e4b031e3841f5" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">mrpt::utils::CMHPropertiesValuesList::CMHPropertiesValuesList </td> <td>(</td> <td class="paramname"> )</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Default constructor. </p> </div> </div> <a class="anchor" id="a5490a9b14805779fbccdd5166c535e7e"></a><!-- doxytag: member="mrpt::utils::CMHPropertiesValuesList::CMHPropertiesValuesList" ref="a5490a9b14805779fbccdd5166c535e7e" args="(const CMHPropertiesValuesList &o)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">mrpt::utils::CMHPropertiesValuesList::CMHPropertiesValuesList </td> <td>(</td> <td class="paramtype">const <a class="el" href="classmrpt_1_1utils_1_1_c_m_h_properties_values_list.html">CMHPropertiesValuesList</a> & </td> <td class="paramname"> <em>o</em> )</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Copy constructor. </p> </div> </div> <a class="anchor" id="a669f75c2557233c093b035c03cb729f0"></a><!-- doxytag: member="mrpt::utils::CMHPropertiesValuesList::~CMHPropertiesValuesList" ref="a669f75c2557233c093b035c03cb729f0" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual mrpt::utils::CMHPropertiesValuesList::~CMHPropertiesValuesList </td> <td>(</td> <td class="paramname"> )</td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Destructor. </p> </div> </div> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="af20894755a8e21d55e0661868838f213"></a><!-- doxytag: member="mrpt::utils::CMHPropertiesValuesList::_GetBaseClass" ref="af20894755a8e21d55e0661868838f213" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static const <a class="el" href="structmrpt_1_1utils_1_1_t_runtime_class_id.html">mrpt::utils::TRuntimeClassId</a>* mrpt::utils::CMHPropertiesValuesList::_GetBaseClass </td> <td>(</td> <td class="paramname"> )</td> <td><code> [static, protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Reimplemented from <a class="el" href="classmrpt_1_1utils_1_1_c_serializable.html#a471a2d4e8bf14cdc749d43ffb8066a12">mrpt::utils::CSerializable</a>.</p> </div> </div> <a class="anchor" id="a4e7896bb06e7ccd294c2c32ee03e5660"></a><!-- doxytag: member="mrpt::utils::CMHPropertiesValuesList::begin" ref="a4e7896bb06e7ccd294c2c32ee03e5660" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classmrpt_1_1utils_1_1_c_m_h_properties_values_list.html#ac88d3181660e1630f65c1c6f5d9a13f5">iterator</a> mrpt::utils::CMHPropertiesValuesList::begin </td> <td>(</td> <td class="paramname"> )</td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="_c_m_h_properties_values_list_8h_source.html#l00206">206</a> of file <a class="el" href="_c_m_h_properties_values_list_8h_source.html">CMHPropertiesValuesList.h</a>.</p> </div> </div> <a class="anchor" id="a5ec13646b6f664432f41517ceaee0eb7"></a><!-- doxytag: member="mrpt::utils::CMHPropertiesValuesList::begin" ref="a5ec13646b6f664432f41517ceaee0eb7" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classmrpt_1_1utils_1_1_c_m_h_properties_values_list.html#af16448dc46235d6d840f154d88d85dd7">const_iterator</a> mrpt::utils::CMHPropertiesValuesList::begin </td> <td>(</td> <td class="paramname"> )</td> <td> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="_c_m_h_properties_values_list_8h_source.html#l00207">207</a> of file <a class="el" href="_c_m_h_properties_values_list_8h_source.html">CMHPropertiesValuesList.h</a>.</p> </div> </div> <a class="anchor" id="a3ecfbcfeec5ebe917920e84a1bee61a2"></a><!-- doxytag: member="mrpt::utils::CMHPropertiesValuesList::clear" ref="a3ecfbcfeec5ebe917920e84a1bee61a2" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void mrpt::utils::CMHPropertiesValuesList::clear </td> <td>(</td> <td class="paramname"> )</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Clears the list and frees all object's memory. </p> </div> </div> <a class="anchor" id="aa6210138d9da49ec924a41a050d3877e"></a><!-- doxytag: member="mrpt::utils::CMHPropertiesValuesList::Create" ref="aa6210138d9da49ec924a41a050d3877e" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static <a class="el" href="structmrpt_1_1utils_1_1_c_m_h_properties_values_list_ptr.html">CMHPropertiesValuesListPtr</a> mrpt::utils::CMHPropertiesValuesList::Create </td> <td>(</td> <td class="paramname"> )</td> <td><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="af9f2d2ab658360965e2440fc7ac6197e"></a><!-- doxytag: member="mrpt::utils::CMHPropertiesValuesList::CreateObject" ref="af9f2d2ab658360965e2440fc7ac6197e" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static <a class="el" href="classmrpt_1_1utils_1_1_c_object.html">mrpt::utils::CObject</a>* mrpt::utils::CMHPropertiesValuesList::CreateObject </td> <td>(</td> <td class="paramname"> )</td> <td><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="aa96c50b8298d9986b7e38df79cefd526"></a><!-- doxytag: member="mrpt::utils::CMHPropertiesValuesList::duplicate" ref="aa96c50b8298d9986b7e38df79cefd526" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="classmrpt_1_1utils_1_1_c_object.html">mrpt::utils::CObject</a>* mrpt::utils::CMHPropertiesValuesList::duplicate </td> <td>(</td> <td class="paramname"> )</td> <td> const<code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Returns a copy of the object, indepently of its class. </p> <p>Implements <a class="el" href="classmrpt_1_1utils_1_1_c_object.html#aa1070e173c5f7e307b09c53f1fd256e2">mrpt::utils::CObject</a>.</p> </div> </div> <a class="anchor" id="a599130dd0404de75dfde721dfbaa2551"></a><!-- doxytag: member="mrpt::utils::CMHPropertiesValuesList::end" ref="a599130dd0404de75dfde721dfbaa2551" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classmrpt_1_1utils_1_1_c_m_h_properties_values_list.html#af16448dc46235d6d840f154d88d85dd7">const_iterator</a> mrpt::utils::CMHPropertiesValuesList::end </td> <td>(</td> <td class="paramname"> )</td> <td> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="_c_m_h_properties_values_list_8h_source.html#l00209">209</a> of file <a class="el" href="_c_m_h_properties_values_list_8h_source.html">CMHPropertiesValuesList.h</a>.</p> </div> </div> <a class="anchor" id="adbeae11c34ad372e39cd5ddec6db8831"></a><!-- doxytag: member="mrpt::utils::CMHPropertiesValuesList::end" ref="adbeae11c34ad372e39cd5ddec6db8831" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classmrpt_1_1utils_1_1_c_m_h_properties_values_list.html#ac88d3181660e1630f65c1c6f5d9a13f5">iterator</a> mrpt::utils::CMHPropertiesValuesList::end </td> <td>(</td> <td class="paramname"> )</td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="_c_m_h_properties_values_list_8h_source.html#l00208">208</a> of file <a class="el" href="_c_m_h_properties_values_list_8h_source.html">CMHPropertiesValuesList.h</a>.</p> </div> </div> <a class="anchor" id="a4da5682cf128d8f800815177341e2d3d"></a><!-- doxytag: member="mrpt::utils::CMHPropertiesValuesList::get" ref="a4da5682cf128d8f800815177341e2d3d" args="(const char *propertyName, const int64_t &hypothesis_ID) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="structmrpt_1_1utils_1_1_c_serializable_ptr.html">CSerializablePtr</a> mrpt::utils::CMHPropertiesValuesList::get </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"> <em>propertyName</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const int64_t & </td> <td class="paramname"> <em>hypothesis_ID</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Returns the value of the property (case insensitive) for some given hypothesis ID, or a NULL smart pointer if it does not exist. </p> </div> </div> <a class="anchor" id="af5f6aea08a0aff8da96027879f8718b5"></a><!-- doxytag: member="mrpt::utils::CMHPropertiesValuesList::getAnyHypothesis" ref="af5f6aea08a0aff8da96027879f8718b5" args="(const char *propertyName) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="structmrpt_1_1utils_1_1_c_serializable_ptr.html">CSerializablePtr</a> mrpt::utils::CMHPropertiesValuesList::getAnyHypothesis </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"> <em>propertyName</em> )</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Returns the value of the property (case insensitive) for the first hypothesis ID found, or NULL if it does not exist. </p> </div> </div> <a class="anchor" id="a75cad9d532ca721d8c8fe141c0e669c9"></a><!-- doxytag: member="mrpt::utils::CMHPropertiesValuesList::getAs" ref="a75cad9d532ca721d8c8fe141c0e669c9" args="(const char *propertyName, const int64_t &hypothesis_ID, bool allowNullPointer=true) const " --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<typename T > </div> <table class="memname"> <tr> <td class="memname">T::SmartPtr mrpt::utils::CMHPropertiesValuesList::getAs </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"> <em>propertyName</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const int64_t & </td> <td class="paramname"> <em>hypothesis_ID</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"> <em>allowNullPointer</em> = <code>true</code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Returns the value of the property (case insensitive) for some given hypothesis ID checking its class in runtime, or a NULL smart pointer if it does not exist. </p> <p>Definition at line <a class="el" href="_c_m_h_properties_values_list_8h_source.html#l00100">100</a> of file <a class="el" href="_c_m_h_properties_values_list_8h_source.html">CMHPropertiesValuesList.h</a>.</p> <p>References <a class="el" href="mrpt__macros_8h_source.html#l00267">ASSERT_</a>, <a class="el" href="mrpt__macros_8h_source.html#l00356">MRPT_END</a>, <a class="el" href="mrpt__macros_8h_source.html#l00352">MRPT_START</a>, and <a class="el" href="mrpt__macros_8h_source.html#l00120">THROW_EXCEPTION</a>.</p> </div> </div> <a class="anchor" id="a08e2748adbfed61c6ebd0704064d92d3"></a><!-- doxytag: member="mrpt::utils::CMHPropertiesValuesList::getElemental" ref="a08e2748adbfed61c6ebd0704064d92d3" args="(const char *propertyName, T &out_data, const int64_t &hypothesis_ID, bool raiseExceptionIfNotFound=false) const " --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class T > </div> <table class="memname"> <tr> <td class="memname">bool mrpt::utils::CMHPropertiesValuesList::getElemental </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"> <em>propertyName</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">T & </td> <td class="paramname"> <em>out_data</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const int64_t & </td> <td class="paramname"> <em>hypothesis_ID</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"> <em>raiseExceptionIfNotFound</em> = <code>false</code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Gets the value of a property (case insensitive) for the given hypothesis ID, retrieves it as an elemental data type (types must coincide, basic size check is performed). </p> <dl class="return"><dt><b>Returns:</b></dt><dd>false if the property does not exist for the given hypothesis. </dd></dl> <p>Definition at line <a class="el" href="_c_m_h_properties_values_list_8h_source.html#l00177">177</a> of file <a class="el" href="_c_m_h_properties_values_list_8h_source.html">CMHPropertiesValuesList.h</a>.</p> <p>References <a class="el" href="namespacemrpt_1_1system_1_1os.html#a0b3d8b9d83ae1b217d30f59589a1be3f">mrpt::system::os::_strcmpi()</a>, <a class="el" href="mrpt__macros_8h_source.html#l00267">ASSERT_</a>, <a class="el" href="mrpt__macros_8h_source.html#l00356">MRPT_END</a>, <a class="el" href="mrpt__macros_8h_source.html#l00352">MRPT_START</a>, <a class="el" href="mrpt__macros_8h_source.html#l00120">THROW_EXCEPTION</a>, and <a class="el" href="mrpt__macros_8h.html#a61a8d46146210ee20fa1ff423257a5ec">THROW_EXCEPTION_CUSTOM_MSG1</a>.</p> </div> </div> <a class="anchor" id="adcfe3d77fc8c9fc6bf26765de369f3e7"></a><!-- doxytag: member="mrpt::utils::CMHPropertiesValuesList::getPropertyNames" ref="adcfe3d77fc8c9fc6bf26765de369f3e7" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">std::vector<std::string> mrpt::utils::CMHPropertiesValuesList::getPropertyNames </td> <td>(</td> <td class="paramname"> )</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Returns the name of all properties in the list. </p> </div> </div> <a class="anchor" id="a5616ef82a972fd32c855749b7e9b90ee"></a><!-- doxytag: member="mrpt::utils::CMHPropertiesValuesList::GetRuntimeClass" ref="a5616ef82a972fd32c855749b7e9b90ee" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual const <a class="el" href="structmrpt_1_1utils_1_1_t_runtime_class_id.html">mrpt::utils::TRuntimeClassId</a>* mrpt::utils::CMHPropertiesValuesList::GetRuntimeClass </td> <td>(</td> <td class="paramname"> )</td> <td> const<code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Returns information about the class of an object in runtime. </p> <p>Reimplemented from <a class="el" href="classmrpt_1_1utils_1_1_c_serializable.html#a6861b16159daafd1651d6e0d27f39c58">mrpt::utils::CSerializable</a>.</p> </div> </div> <a class="anchor" id="a358a47a4bf79af0eda7f6bf13c4dddac"></a><!-- doxytag: member="mrpt::utils::CMHPropertiesValuesList::operator=" ref="a358a47a4bf79af0eda7f6bf13c4dddac" args="(const CMHPropertiesValuesList &o)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classmrpt_1_1utils_1_1_c_m_h_properties_values_list.html">CMHPropertiesValuesList</a>& mrpt::utils::CMHPropertiesValuesList::operator= </td> <td>(</td> <td class="paramtype">const <a class="el" href="classmrpt_1_1utils_1_1_c_m_h_properties_values_list.html">CMHPropertiesValuesList</a> & </td> <td class="paramname"> <em>o</em> )</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Copy operator. </p> </div> </div> <a class="anchor" id="a07d02f31ac8c8878f7eb092f14795125"></a><!-- doxytag: member="mrpt::utils::CMHPropertiesValuesList::remove" ref="a07d02f31ac8c8878f7eb092f14795125" args="(const char *propertyName, const int64_t &hypothesis_ID)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void mrpt::utils::CMHPropertiesValuesList::remove </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"> <em>propertyName</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const int64_t & </td> <td class="paramname"> <em>hypothesis_ID</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Remove a given property, if it exists. </p> </div> </div> <a class="anchor" id="aa5d8743ef291cbc79fcdabee327c0500"></a><!-- doxytag: member="mrpt::utils::CMHPropertiesValuesList::removeAll" ref="aa5d8743ef291cbc79fcdabee327c0500" args="(const int64_t &hypothesis_ID)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void mrpt::utils::CMHPropertiesValuesList::removeAll </td> <td>(</td> <td class="paramtype">const int64_t & </td> <td class="paramname"> <em>hypothesis_ID</em> )</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Remove all the properties for the given hypothesis. </p> </div> </div> <a class="anchor" id="a6f495ee529449718eb04f04d7951b3e5"></a><!-- doxytag: member="mrpt::utils::CMHPropertiesValuesList::set" ref="a6f495ee529449718eb04f04d7951b3e5" args="(const char *propertyName, const CSerializablePtr &obj, const int64_t &hypothesis_ID)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void mrpt::utils::CMHPropertiesValuesList::set </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"> <em>propertyName</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="structmrpt_1_1utils_1_1_c_serializable_ptr.html">CSerializablePtr</a> & </td> <td class="paramname"> <em>obj</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const int64_t & </td> <td class="paramname"> <em>hypothesis_ID</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Sets/change the value of the property (case insensitive) for the given hypothesis ID, making a copy of the object (or setting it to NULL if it is the passed value) </p> <dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classmrpt_1_1utils_1_1_c_m_h_properties_values_list.html#a400be0b452369ef70de8a8705533d430" title="Sets/change the value of the property (case insensitive) for the given hypothesis ID...">setMemoryReference</a> </dd></dl> </div> </div> <a class="anchor" id="afc2f83bf0e618690eb41e28c2bed8d91"></a><!-- doxytag: member="mrpt::utils::CMHPropertiesValuesList::setElemental" ref="afc2f83bf0e618690eb41e28c2bed8d91" args="(const char *propertyName, const T &data, const int64_t &hypothesis_ID)" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class T > </div> <table class="memname"> <tr> <td class="memname">void mrpt::utils::CMHPropertiesValuesList::setElemental </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"> <em>propertyName</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const T & </td> <td class="paramname"> <em>data</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const int64_t & </td> <td class="paramname"> <em>hypothesis_ID</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Sets/change the value of a property (case insensitive) for the given hypothesis ID, from an elemental data type. </p> <p>Definition at line <a class="el" href="_c_m_h_properties_values_list_8h_source.html#l00142">142</a> of file <a class="el" href="_c_m_h_properties_values_list_8h_source.html">CMHPropertiesValuesList.h</a>.</p> <p>References <a class="el" href="namespacemrpt_1_1system_1_1os.html#a0b3d8b9d83ae1b217d30f59589a1be3f">mrpt::system::os::_strcmpi()</a>, <a class="el" href="_c_m_h_properties_values_list_8h_source.html#l00056">mrpt::utils::TPropertyValueIDTriplet::ID</a>, <a class="el" href="mrpt__macros_8h_source.html#l00359">MRPT_END_WITH_CLEAN_UP</a>, <a class="el" href="mrpt__macros_8h_source.html#l00352">MRPT_START</a>, <a class="el" href="_c_m_h_properties_values_list_8h_source.html#l00054">mrpt::utils::TPropertyValueIDTriplet::name</a>, <a class="el" href="_c_m_h_properties_values_list_8h_source.html#l00055">mrpt::utils::TPropertyValueIDTriplet::value</a>, and <a class="el" href="smart__ptr_8tpp_source.html#l00275">stlplus::smart_ptr_base< T, C, COUNTER >::value()</a>.</p> </div> </div> <a class="anchor" id="a400be0b452369ef70de8a8705533d430"></a><!-- doxytag: member="mrpt::utils::CMHPropertiesValuesList::setMemoryReference" ref="a400be0b452369ef70de8a8705533d430" args="(const char *propertyName, const CSerializablePtr &obj, const int64_t &hypothesis_ID)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void mrpt::utils::CMHPropertiesValuesList::setMemoryReference </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"> <em>propertyName</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="structmrpt_1_1utils_1_1_c_serializable_ptr.html">CSerializablePtr</a> & </td> <td class="paramname"> <em>obj</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const int64_t & </td> <td class="paramname"> <em>hypothesis_ID</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Sets/change the value of the property (case insensitive) for the given hypothesis ID, directly replacing the pointer instead of making a copy of the object. </p> <dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classmrpt_1_1utils_1_1_c_m_h_properties_values_list.html#a6f495ee529449718eb04f04d7951b3e5" title="Sets/change the value of the property (case insensitive) for the given hypothesis ID...">set</a> </dd></dl> </div> </div> <a class="anchor" id="ab31231f920dcee6fc7c2a924e8da5582"></a><!-- doxytag: member="mrpt::utils::CMHPropertiesValuesList::size" ref="ab31231f920dcee6fc7c2a924e8da5582" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">size_t mrpt::utils::CMHPropertiesValuesList::size </td> <td>(</td> <td class="paramname"> )</td> <td> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="_c_m_h_properties_values_list_8h_source.html#l00211">211</a> of file <a class="el" href="_c_m_h_properties_values_list_8h_source.html">CMHPropertiesValuesList.h</a>.</p> </div> </div> <hr/><h2>Member Data Documentation</h2> <a class="anchor" id="a04fb4038fc0d461ce865d994604d3c58"></a><!-- doxytag: member="mrpt::utils::CMHPropertiesValuesList::_init_CMHPropertiesValuesList" ref="a04fb4038fc0d461ce865d994604d3c58" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="structmrpt_1_1utils_1_1_c_l_a_s_s_i_n_i_t.html">mrpt::utils::CLASSINIT</a> <a class="el" href="classmrpt_1_1utils_1_1_c_m_h_properties_values_list.html#a04fb4038fc0d461ce865d994604d3c58">mrpt::utils::CMHPropertiesValuesList::_init_CMHPropertiesValuesList</a><code> [static, protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="_c_m_h_properties_values_list_8h_source.html#l00067">67</a> of file <a class="el" href="_c_m_h_properties_values_list_8h_source.html">CMHPropertiesValuesList.h</a>.</p> </div> </div> <a class="anchor" id="a6ec8b9fda278c2820d594bc5199e29ce"></a><!-- doxytag: member="mrpt::utils::CMHPropertiesValuesList::classCMHPropertiesValuesList" ref="a6ec8b9fda278c2820d594bc5199e29ce" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="structmrpt_1_1utils_1_1_t_runtime_class_id.html">mrpt::utils::TRuntimeClassId</a> <a class="el" href="classmrpt_1_1utils_1_1_c_m_h_properties_values_list.html#a6ec8b9fda278c2820d594bc5199e29ce">mrpt::utils::CMHPropertiesValuesList::classCMHPropertiesValuesList</a><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="_c_m_h_properties_values_list_8h_source.html#l00067">67</a> of file <a class="el" href="_c_m_h_properties_values_list_8h_source.html">CMHPropertiesValuesList.h</a>.</p> </div> </div> <a class="anchor" id="a59d230f0a8a506dd42944005345b9b18"></a><!-- doxytag: member="mrpt::utils::CMHPropertiesValuesList::classinfo" ref="a59d230f0a8a506dd42944005345b9b18" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const <a class="el" href="structmrpt_1_1utils_1_1_t_runtime_class_id.html">mrpt::utils::TRuntimeClassId</a>* <a class="el" href="classmrpt_1_1utils_1_1_c_m_h_properties_values_list.html#a59d230f0a8a506dd42944005345b9b18">mrpt::utils::CMHPropertiesValuesList::classinfo</a><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="_c_m_h_properties_values_list_8h_source.html#l00067">67</a> of file <a class="el" href="_c_m_h_properties_values_list_8h_source.html">CMHPropertiesValuesList.h</a>.</p> </div> </div> <a class="anchor" id="ab807a04d43f66ac257d65a3bcc9df957"></a><!-- doxytag: member="mrpt::utils::CMHPropertiesValuesList::m_properties" ref="ab807a04d43f66ac257d65a3bcc9df957" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">std::vector<<a class="el" href="structmrpt_1_1utils_1_1_t_property_value_i_d_triplet.html">TPropertyValueIDTriplet</a>> <a class="el" href="classmrpt_1_1utils_1_1_c_m_h_properties_values_list.html#ab807a04d43f66ac257d65a3bcc9df957">mrpt::utils::CMHPropertiesValuesList::m_properties</a><code> [private]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="_c_m_h_properties_values_list_8h_source.html#l00070">70</a> of file <a class="el" href="_c_m_h_properties_values_list_8h_source.html">CMHPropertiesValuesList.h</a>.</p> </div> </div> </div> <br><hr><br> <table border="0" width="100%"> <tr> <td> Page generated by <a href="http://www.doxygen.org" target="_blank">Doxygen 1.7.2</a> for MRPT 0.9.4 SVN: at Mon Jan 10 22:30:30 UTC 2011</td><td></td> <td width="100"> </td> <td width="150"> </td></tr> </table> </body></html>