Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 2f6559b7006594cad03af173263c219e > files > 4374

mrpt-doc-0.9.4-0.1.20110110svn2383.fc15.i686.rpm

<!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::CConfigFileMemory 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> &gt; <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&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;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&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;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_config_file_memory.html">CConfigFileMemory</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a>  </div>
  <div class="headertitle">
<h1>mrpt::utils::CConfigFileMemory Class Reference</h1>  </div>
</div>
<div class="contents">
<!-- doxytag: class="mrpt::utils::CConfigFileMemory" --><!-- doxytag: inherits="mrpt::utils::CConfigFileBase" --><hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>This class implements a config file-like interface over a memory-stored string list. </p>

<p>Definition at line <a class="el" href="_c_config_file_memory_8h_source.html#l00045">45</a> of file <a class="el" href="_c_config_file_memory_8h_source.html">CConfigFileMemory.h</a>.</p>

<p><code>#include &lt;<a class="el" href="_c_config_file_memory_8h_source.html">mrpt/utils/CConfigFileMemory.h</a>&gt;</code></p>
<!-- startSectionHeader --><div class="dynheader">
Inheritance diagram for mrpt::utils::CConfigFileMemory:<!-- endSectionHeader --></div>
<!-- startSectionSummary --><!-- endSectionSummary --><!-- startSectionContent --><div class="dyncontent">
<div class="center"><img src="classmrpt_1_1utils_1_1_c_config_file_memory__inherit__graph.png" border="0" usemap="#mrpt_1_1utils_1_1_c_config_file_memory_inherit__map" alt="Inheritance graph"/></div>
<map name="mrpt_1_1utils_1_1_c_config_file_memory_inherit__map" id="mrpt_1_1utils_1_1_c_config_file_memory_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_config_file_memory-members.html">List of all members.</a></p>
<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="classmrpt_1_1utils_1_1_c_config_file_memory.html#acfa57d65ed6a3d341619f3965edf5339">CConfigFileMemory</a> (const <a class="el" href="classmrpt_1_1utils_1_1_c_string_list.html">utils::CStringList</a> &amp;stringList)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor and initialize from a list of strings.  <a href="#acfa57d65ed6a3d341619f3965edf5339"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1utils_1_1_c_config_file_memory.html#a1c529fcce717ddf64804bd0be0693d12">CConfigFileMemory</a> (const std::string &amp;str)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor and initialize from string with the whole "config file".  <a href="#a1c529fcce717ddf64804bd0be0693d12"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1utils_1_1_c_config_file_memory.html#a63488dbf2c999ddb7eea11e67f151b4f">CConfigFileMemory</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Empty constructor.  <a href="#a63488dbf2c999ddb7eea11e67f151b4f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1utils_1_1_c_config_file_memory.html#ae9b12d764d5319f1b56e09b564010aef">CConfigFileMemory</a> (const <a class="el" href="classmrpt_1_1utils_1_1_c_config_file_memory.html">CConfigFileMemory</a> &amp;o)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy constructor.  <a href="#ae9b12d764d5319f1b56e09b564010aef"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmrpt_1_1utils_1_1_c_config_file_memory.html">CConfigFileMemory</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1utils_1_1_c_config_file_memory.html#aaca9824da7663294223ba83525aade1a">operator=</a> (const <a class="el" href="classmrpt_1_1utils_1_1_c_config_file_memory.html">CConfigFileMemory</a> &amp;o)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy operator.  <a href="#aaca9824da7663294223ba83525aade1a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1utils_1_1_c_config_file_memory.html#ad49303774bd365111f698e71eec8630c">setContent</a> (const <a class="el" href="classmrpt_1_1utils_1_1_c_string_list.html">utils::CStringList</a> &amp;stringList)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Changes the contents of the virtual "config file".  <a href="#ad49303774bd365111f698e71eec8630c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1utils_1_1_c_config_file_memory.html#a27ec8fc06fd8ed1bcb9df4d75faffb5f">setContent</a> (const std::string &amp;str)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Changes the contents of the virtual "config file".  <a href="#a27ec8fc06fd8ed1bcb9df4d75faffb5f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1utils_1_1_c_config_file_memory.html#af0a01f4272aa43f790645f36af850e12">getContent</a> (std::string &amp;str) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the currnet contents of the virtual "config file".  <a href="#af0a01f4272aa43f790645f36af850e12"></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="classmrpt_1_1utils_1_1_c_config_file_memory.html#ace402763328c56048d224947754ba053">getContent</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the currnet contents of the virtual "config file".  <a href="#ace402763328c56048d224947754ba053"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1utils_1_1_c_config_file_memory.html#a669d0872e2d7ea9ec9b18558f2d90659">~CConfigFileMemory</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor.  <a href="#a669d0872e2d7ea9ec9b18558f2d90659"></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="classmrpt_1_1utils_1_1_c_config_file_memory.html#abe237d68a4ed84a63df80c9457a742bd">getAllSections</a> (<a class="el" href="namespacemrpt.html#a4d04fc5241bf87fcaffec90f3b23b1ea">vector_string</a> &amp;sections) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a list with all the section names.  <a href="#abe237d68a4ed84a63df80c9457a742bd"></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="classmrpt_1_1utils_1_1_c_config_file_memory.html#a44c773288d89c2dafa9851439487638b">getAllKeys</a> (const std::string section, <a class="el" href="namespacemrpt.html#a4d04fc5241bf87fcaffec90f3b23b1ea">vector_string</a> &amp;keys) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returs a list with all the keys into a section.  <a href="#a44c773288d89c2dafa9851439487638b"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1utils_1_1_c_config_file_memory.html#af92425d9e2e5223df7cac692202d7f30">writeString</a> (const std::string &amp;section, const std::string &amp;name, const std::string &amp;str)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">A virtual method to write a generic string.  <a href="#af92425d9e2e5223df7cac692202d7f30"></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="classmrpt_1_1utils_1_1_c_config_file_memory.html#a3c33450e2e62c0b54ae003a32b6a7cea">readString</a> (const std::string &amp;section, const std::string &amp;name, const std::string &amp;defaultStr, bool failIfNotFound=false) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">A virtual method to read a generic string.  <a href="#a3c33450e2e62c0b54ae003a32b6a7cea"></a><br/></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"><a class="el" href="structmrpt_1_1utils_1_1non__copiable__ptr__basic.html">void_ptr_noncopy</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1utils_1_1_c_config_file_memory.html#a1e350172593fb5d4e0696e5767634f7d">m_ini</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The IniFile object.  <a href="#a1e350172593fb5d4e0696e5767634f7d"></a><br/></td></tr>
</table>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="acfa57d65ed6a3d341619f3965edf5339"></a><!-- doxytag: member="mrpt::utils::CConfigFileMemory::CConfigFileMemory" ref="acfa57d65ed6a3d341619f3965edf5339" args="(const utils::CStringList &amp;stringList)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">mrpt::utils::CConfigFileMemory::CConfigFileMemory </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classmrpt_1_1utils_1_1_c_string_list.html">utils::CStringList</a> &amp;&#160;</td>
          <td class="paramname"> <em>stringList</em>&#160;)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Constructor and initialize from a list of strings. </p>

</div>
</div>
<a class="anchor" id="a1c529fcce717ddf64804bd0be0693d12"></a><!-- doxytag: member="mrpt::utils::CConfigFileMemory::CConfigFileMemory" ref="a1c529fcce717ddf64804bd0be0693d12" args="(const std::string &amp;str)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">mrpt::utils::CConfigFileMemory::CConfigFileMemory </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"> <em>str</em>&#160;)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Constructor and initialize from string with the whole "config file". </p>

</div>
</div>
<a class="anchor" id="a63488dbf2c999ddb7eea11e67f151b4f"></a><!-- doxytag: member="mrpt::utils::CConfigFileMemory::CConfigFileMemory" ref="a63488dbf2c999ddb7eea11e67f151b4f" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">mrpt::utils::CConfigFileMemory::CConfigFileMemory </td>
          <td>(</td>
          <td class="paramname">&#160;)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Empty constructor. </p>
<p>Upon construction, call any of the "setContent" method. </p>

</div>
</div>
<a class="anchor" id="ae9b12d764d5319f1b56e09b564010aef"></a><!-- doxytag: member="mrpt::utils::CConfigFileMemory::CConfigFileMemory" ref="ae9b12d764d5319f1b56e09b564010aef" args="(const CConfigFileMemory &amp;o)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">mrpt::utils::CConfigFileMemory::CConfigFileMemory </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classmrpt_1_1utils_1_1_c_config_file_memory.html">CConfigFileMemory</a> &amp;&#160;</td>
          <td class="paramname"> <em>o</em>&#160;)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Copy constructor. </p>

</div>
</div>
<a class="anchor" id="a669d0872e2d7ea9ec9b18558f2d90659"></a><!-- doxytag: member="mrpt::utils::CConfigFileMemory::~CConfigFileMemory" ref="a669d0872e2d7ea9ec9b18558f2d90659" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual mrpt::utils::CConfigFileMemory::~CConfigFileMemory </td>
          <td>(</td>
          <td class="paramname">&#160;)</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="a44c773288d89c2dafa9851439487638b"></a><!-- doxytag: member="mrpt::utils::CConfigFileMemory::getAllKeys" ref="a44c773288d89c2dafa9851439487638b" args="(const std::string section, vector_string &amp;keys) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void mrpt::utils::CConfigFileMemory::getAllKeys </td>
          <td>(</td>
          <td class="paramtype">const std::string&#160;</td>
          <td class="paramname"> <em>section</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespacemrpt.html#a4d04fc5241bf87fcaffec90f3b23b1ea">vector_string</a> &amp;&#160;</td>
          <td class="paramname"> <em>keys</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returs a list with all the keys into a section. </p>

<p>Implements <a class="el" href="classmrpt_1_1utils_1_1_c_config_file_base.html#a5e750617eddcdae650bf513138f19c5c">mrpt::utils::CConfigFileBase</a>.</p>

</div>
</div>
<a class="anchor" id="abe237d68a4ed84a63df80c9457a742bd"></a><!-- doxytag: member="mrpt::utils::CConfigFileMemory::getAllSections" ref="abe237d68a4ed84a63df80c9457a742bd" args="(vector_string &amp;sections) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void mrpt::utils::CConfigFileMemory::getAllSections </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespacemrpt.html#a4d04fc5241bf87fcaffec90f3b23b1ea">vector_string</a> &amp;&#160;</td>
          <td class="paramname"> <em>sections</em>&#160;)</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns a list with all the section names. </p>

<p>Implements <a class="el" href="classmrpt_1_1utils_1_1_c_config_file_base.html#afaa2b4f8a4c976a524953fa83f724244">mrpt::utils::CConfigFileBase</a>.</p>

</div>
</div>
<a class="anchor" id="af0a01f4272aa43f790645f36af850e12"></a><!-- doxytag: member="mrpt::utils::CConfigFileMemory::getContent" ref="af0a01f4272aa43f790645f36af850e12" args="(std::string &amp;str) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void mrpt::utils::CConfigFileMemory::getContent </td>
          <td>(</td>
          <td class="paramtype">std::string &amp;&#160;</td>
          <td class="paramname"> <em>str</em>&#160;)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Return the currnet contents of the virtual "config file". </p>

<p>Referenced by <a class="el" href="_t_camera_8h_source.html#l00114">mrpt::utils::TCamera::dumpAsText()</a>.</p>

</div>
</div>
<a class="anchor" id="ace402763328c56048d224947754ba053"></a><!-- doxytag: member="mrpt::utils::CConfigFileMemory::getContent" ref="ace402763328c56048d224947754ba053" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string mrpt::utils::CConfigFileMemory::getContent </td>
          <td>(</td>
          <td class="paramname">&#160;)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Return the currnet contents of the virtual "config file". </p>

<p>Definition at line <a class="el" href="_c_config_file_memory_8h_source.html#l00091">91</a> of file <a class="el" href="_c_config_file_memory_8h_source.html">CConfigFileMemory.h</a>.</p>

<p>References <a class="el" href="_c_config_file_memory_8h_source.html#l00091">getContent()</a>.</p>

<p>Referenced by <a class="el" href="_c_config_file_memory_8h_source.html#l00091">getContent()</a>.</p>

</div>
</div>
<a class="anchor" id="aaca9824da7663294223ba83525aade1a"></a><!-- doxytag: member="mrpt::utils::CConfigFileMemory::operator=" ref="aaca9824da7663294223ba83525aade1a" args="(const CConfigFileMemory &amp;o)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classmrpt_1_1utils_1_1_c_config_file_memory.html">CConfigFileMemory</a>&amp; mrpt::utils::CConfigFileMemory::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classmrpt_1_1utils_1_1_c_config_file_memory.html">CConfigFileMemory</a> &amp;&#160;</td>
          <td class="paramname"> <em>o</em>&#160;)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Copy operator. </p>

</div>
</div>
<a class="anchor" id="a3c33450e2e62c0b54ae003a32b6a7cea"></a><!-- doxytag: member="mrpt::utils::CConfigFileMemory::readString" ref="a3c33450e2e62c0b54ae003a32b6a7cea" args="(const std::string &amp;section, const std::string &amp;name, const std::string &amp;defaultStr, bool failIfNotFound=false) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string mrpt::utils::CConfigFileMemory::readString </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"> <em>section</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"> <em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"> <em>defaultStr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"> <em>failIfNotFound</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const<code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>A virtual method to read a generic string. </p>

<p>Implements <a class="el" href="classmrpt_1_1utils_1_1_c_config_file_base.html#acd312c4eedaf9dc94fd5f4fda1783738">mrpt::utils::CConfigFileBase</a>.</p>

</div>
</div>
<a class="anchor" id="ad49303774bd365111f698e71eec8630c"></a><!-- doxytag: member="mrpt::utils::CConfigFileMemory::setContent" ref="ad49303774bd365111f698e71eec8630c" args="(const utils::CStringList &amp;stringList)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void mrpt::utils::CConfigFileMemory::setContent </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classmrpt_1_1utils_1_1_c_string_list.html">utils::CStringList</a> &amp;&#160;</td>
          <td class="paramname"> <em>stringList</em>&#160;)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Changes the contents of the virtual "config file". </p>

</div>
</div>
<a class="anchor" id="a27ec8fc06fd8ed1bcb9df4d75faffb5f"></a><!-- doxytag: member="mrpt::utils::CConfigFileMemory::setContent" ref="a27ec8fc06fd8ed1bcb9df4d75faffb5f" args="(const std::string &amp;str)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void mrpt::utils::CConfigFileMemory::setContent </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"> <em>str</em>&#160;)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Changes the contents of the virtual "config file". </p>

</div>
</div>
<a class="anchor" id="af92425d9e2e5223df7cac692202d7f30"></a><!-- doxytag: member="mrpt::utils::CConfigFileMemory::writeString" ref="af92425d9e2e5223df7cac692202d7f30" args="(const std::string &amp;section, const std::string &amp;name, const std::string &amp;str)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void mrpt::utils::CConfigFileMemory::writeString </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"> <em>section</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"> <em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"> <em>str</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>A virtual method to write a generic string. </p>

<p>Implements <a class="el" href="classmrpt_1_1utils_1_1_c_config_file_base.html#a2875d663230ca4268f1f545a19799c1d">mrpt::utils::CConfigFileBase</a>.</p>

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="a1e350172593fb5d4e0696e5767634f7d"></a><!-- doxytag: member="mrpt::utils::CConfigFileMemory::m_ini" ref="a1e350172593fb5d4e0696e5767634f7d" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structmrpt_1_1utils_1_1non__copiable__ptr__basic.html">void_ptr_noncopy</a> <a class="el" href="classmrpt_1_1utils_1_1_c_config_file_memory.html#a1e350172593fb5d4e0696e5767634f7d">mrpt::utils::CConfigFileMemory::m_ini</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The IniFile object. </p>

<p>Definition at line <a class="el" href="_c_config_file_memory_8h_source.html#l00050">50</a> of file <a class="el" href="_c_config_file_memory_8h_source.html">CConfigFileMemory.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>