<!-- This comment will put IE 6, 7 and 8 in quirks mode --> <!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>wsdlpull: ConfigFile Class Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="search/search.css" rel="stylesheet" type="text/css"/> <script type="text/javaScript" src="search/search.js"></script> <link href="doxygen.css" rel="stylesheet" type="text/css"/> </head> <body onload='searchBox.OnSelectItem(0);'> <!-- Generated by Doxygen 1.6.2-20100208 --> <script type="text/javascript"><!-- var searchBox = new SearchBox("searchBox", "search",false,'Search'); --></script> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</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><a href="dirs.html"><span>Directories</span></a></li> <li> <div id="MSearchBox" class="MSearchBoxInactive"> <img id="MSearchSelect" src="search/search.png" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" alt=""/> <input type="text" id="MSearchField" value="Search" accesskey="S" onfocus="searchBox.OnSearchFieldFocus(true)" onblur="searchBox.OnSearchFieldFocus(false)" onkeyup="searchBox.OnSearchFieldChange(event)"/> <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a> </div> </li> </ul> </div> <div class="tabs"> <ul> <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> <div class="contents"> <h1>ConfigFile Class Reference</h1><!-- doxytag: class="ConfigFile" --> <p><code>#include <<a class="el" href="ConfigFile_8h_source.html">ConfigFile.h</a>></code></p> <p><a href="classConfigFile-members.html">List of all members.</a></p> <table border="0" cellpadding="0" cellspacing="0"> <tr><td colspan="2"><h2>Classes</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structConfigFile_1_1file__not__found.html">file_not_found</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structConfigFile_1_1key__not__found.html">key_not_found</a></td></tr> <tr><td colspan="2"><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classConfigFile.html#a183e0c2336f40e4cb8382b8f570248ad">ConfigFile</a> (string filename, bool isList=false, string delimiter="=", string comment="##", string sentry="EndConfigFile")</td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classConfigFile.html#a9ce259defdfaabeedb2455849ca6bd1e">ConfigFile</a> ()</td></tr> <tr><td class="memTemplParams" colspan="2">template<class T > </td></tr> <tr><td class="memTemplItemLeft" align="right" valign="top">T </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classConfigFile.html#a2c870b7009aa29208838fc73f8dde6af">read</a> (const string &key) const </td></tr> <tr><td class="memTemplParams" colspan="2">template<class T > </td></tr> <tr><td class="memTemplItemLeft" align="right" valign="top">T </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classConfigFile.html#a58fe3e41915e8f119a91d51d5d369014">read</a> (const string &key, const T &value) const </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="classConfigFile.html#a7526e5aad42677251502b67c579d1539">readInto</a> (T &var, const string &key) const </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="classConfigFile.html#a22b3d7f8312ca371631d75d803263f10">readInto</a> (T &var, const string &key, const T &value) const </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="classConfigFile.html#aa209a19359ca5c657c2aae19932f066f">add</a> (string key, const T &value, bool store=false)</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="classConfigFile.html#a2ad47b1c6db0571f035e71909fece24e">add</a> (const T &key, bool store=false)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classConfigFile.html#afca295f72101b138ad2702a11c342f37">remove</a> (const string &key)</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="classConfigFile.html#a154715f4b7602da0467dc0caa9d9ec08">remove</a> (const T &key)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classConfigFile.html#afd3d1146ae212a7e5802961f5ad3fe91">keyExists</a> (const string &key) const </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="classConfigFile.html#a1db64f1cbca25b9d744babca6e7b9382">keyExists</a> (const T &key) const </td></tr> <tr><td class="memItemLeft" align="right" valign="top">string </td><td class="memItemRight" valign="bottom"><a class="el" href="classConfigFile.html#adcc1df41c7d669a7cc81c47b85b0ee14">getDelimiter</a> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top">string </td><td class="memItemRight" valign="bottom"><a class="el" href="classConfigFile.html#a2b0cd50789ea83b1a12bf39293c7401a">getComment</a> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top">string </td><td class="memItemRight" valign="bottom"><a class="el" href="classConfigFile.html#adf270b0cf2a1b034fc18fd2e82296760">getSentry</a> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top">string </td><td class="memItemRight" valign="bottom"><a class="el" href="classConfigFile.html#af28390aba7d8f399ac734c074e659b99">setDelimiter</a> (const string &s)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">string </td><td class="memItemRight" valign="bottom"><a class="el" href="classConfigFile.html#a2e06b3000fb45426c975b334b2cee148">setComment</a> (const string &s)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classConfigFile.html#aae6af4a2757d27461438600dafef3187">load</a> (string filename, bool isList=false)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classConfigFile.html#ab13acdfb1472f6672574a30e7ae1ba2a">save</a> ()</td></tr> <tr><td colspan="2"><h2>Protected Types</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">typedef std::map< string, <br class="typebreak"/> string >::iterator </td><td class="memItemRight" valign="bottom"><a class="el" href="classConfigFile.html#a91de4778982f558673be7465f33750f5">mapi</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top">typedef std::map< string, <br class="typebreak"/> string >::const_iterator </td><td class="memItemRight" valign="bottom"><a class="el" href="classConfigFile.html#af606aa032e366450b81792da67c984fc">mapci</a></td></tr> <tr><td colspan="2"><h2>Static Protected Member Functions</h2></td></tr> <tr><td class="memTemplParams" colspan="2">template<class T > </td></tr> <tr><td class="memTemplItemLeft" align="right" valign="top">static string </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classConfigFile.html#a0b2ef4a39ca6ea31d186c301f1f52700">T_as_string</a> (const T &t)</td></tr> <tr><td class="memTemplParams" colspan="2">template<class T > </td></tr> <tr><td class="memTemplItemLeft" align="right" valign="top">static T </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classConfigFile.html#a741caa76c057b33332439cce2521b27e">string_as_T</a> (const string &s)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="classConfigFile.html#a6b445b393fcf42386a804fc4077fac10">trim</a> (string &s)</td></tr> <tr><td colspan="2"><h2>Protected Attributes</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">string </td><td class="memItemRight" valign="bottom"><a class="el" href="classConfigFile.html#ad63f3e259f665192b64fb3e83c701425">myDelimiter</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top">string </td><td class="memItemRight" valign="bottom"><a class="el" href="classConfigFile.html#a2c60a141e8ad012b86a0642ec8ec638d">myComment</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top">string </td><td class="memItemRight" valign="bottom"><a class="el" href="classConfigFile.html#af066ec1942c50848a055350029ebbca5">mySentry</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top">std::map< string, string > </td><td class="memItemRight" valign="bottom"><a class="el" href="classConfigFile.html#a91b9b9e241d42bd3b1bb8b3e6355761f">myContents</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classConfigFile.html#aa5cb7de8754cd596b0e7b1d306d143bf">file</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classConfigFile.html#a0bc00d561b3a014e9b163901ccebde5f">listmode</a></td></tr> <tr><td colspan="2"><h2>Friends</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">std::ostream & </td><td class="memItemRight" valign="bottom"><a class="el" href="classConfigFile.html#a8ccacbc37db1992a5515e2c72fc83ce6">operator<<</a> (std::ostream &os, const <a class="el" href="classConfigFile.html">ConfigFile</a> &cf)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">std::istream & </td><td class="memItemRight" valign="bottom"><a class="el" href="classConfigFile.html#a25042475439039e70f90febe7d0e63ec">operator>></a> (std::istream &is, <a class="el" href="classConfigFile.html">ConfigFile</a> &cf)</td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <p>Definition at line <a class="el" href="ConfigFile_8h_source.html#l00054">54</a> of file <a class="el" href="ConfigFile_8h_source.html">ConfigFile.h</a>.</p> <hr/><h2>Member Typedef Documentation</h2> <a class="anchor" id="a91de4778982f558673be7465f33750f5"></a><!-- doxytag: member="ConfigFile::mapi" ref="a91de4778982f558673be7465f33750f5" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">typedef std::map<string,string>::iterator <a class="el" href="classConfigFile.html#a91de4778982f558673be7465f33750f5">ConfigFile::mapi</a><code> [protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="ConfigFile_8h_source.html#l00062">62</a> of file <a class="el" href="ConfigFile_8h_source.html">ConfigFile.h</a>.</p> </div> </div> <a class="anchor" id="af606aa032e366450b81792da67c984fc"></a><!-- doxytag: member="ConfigFile::mapci" ref="af606aa032e366450b81792da67c984fc" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">typedef std::map<string,string>::const_iterator <a class="el" href="classConfigFile.html#af606aa032e366450b81792da67c984fc">ConfigFile::mapci</a><code> [protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="ConfigFile_8h_source.html#l00063">63</a> of file <a class="el" href="ConfigFile_8h_source.html">ConfigFile.h</a>.</p> </div> </div> <hr/><h2>Constructor & Destructor Documentation</h2> <a class="anchor" id="a183e0c2336f40e4cb8382b8f570248ad"></a><!-- doxytag: member="ConfigFile::ConfigFile" ref="a183e0c2336f40e4cb8382b8f570248ad" args="(string filename, bool isList=false, string delimiter="=", string comment="##", string sentry="EndConfigFile")" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">ConfigFile::ConfigFile </td> <td>(</td> <td class="paramtype">string </td> <td class="paramname"> <em>filename</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"> <em>isList</em> = <code>false</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">string </td> <td class="paramname"> <em>delimiter</em> = <code>"="</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">string </td> <td class="paramname"> <em>comment</em> = <code>"##"</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">string </td> <td class="paramname"> <em>sentry</em> = <code>"EndConfigFile"</code></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="ConfigFile_8cpp_source.html#l00007">7</a> of file <a class="el" href="ConfigFile_8cpp_source.html">ConfigFile.cpp</a>.</p> </div> </div> <a class="anchor" id="a9ce259defdfaabeedb2455849ca6bd1e"></a><!-- doxytag: member="ConfigFile::ConfigFile" ref="a9ce259defdfaabeedb2455849ca6bd1e" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">ConfigFile::ConfigFile </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="ConfigFile_8cpp_source.html#l00021">21</a> of file <a class="el" href="ConfigFile_8cpp_source.html">ConfigFile.cpp</a>.</p> </div> </div> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="a2c870b7009aa29208838fc73f8dde6af"></a><!-- doxytag: member="ConfigFile::read" ref="a2c870b7009aa29208838fc73f8dde6af" args="(const string &key) const " --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class T > </div> <table class="memname"> <tr> <td class="memname">T ConfigFile::read </td> <td>(</td> <td class="paramtype">const string & </td> <td class="paramname"> <em>key</em></td> <td> ) </td> <td> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="ConfigFile_8h_source.html#l00184">184</a> of file <a class="el" href="ConfigFile_8h_source.html">ConfigFile.h</a>.</p> <p>References <a class="el" href="ConfigFile_8h_source.html#l00060">myContents</a>.</p> </div> </div> <a class="anchor" id="a58fe3e41915e8f119a91d51d5d369014"></a><!-- doxytag: member="ConfigFile::read" ref="a58fe3e41915e8f119a91d51d5d369014" args="(const string &key, const T &value) const " --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class T > </div> <table class="memname"> <tr> <td class="memname">T ConfigFile::read </td> <td>(</td> <td class="paramtype">const string & </td> <td class="paramname"> <em>key</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const T & </td> <td class="paramname"> <em>value</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="ConfigFile_8h_source.html#l00194">194</a> of file <a class="el" href="ConfigFile_8h_source.html">ConfigFile.h</a>.</p> <p>References <a class="el" href="ConfigFile_8h_source.html#l00060">myContents</a>.</p> </div> </div> <a class="anchor" id="a7526e5aad42677251502b67c579d1539"></a><!-- doxytag: member="ConfigFile::readInto" ref="a7526e5aad42677251502b67c579d1539" args="(T &var, const string &key) const " --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class T > </div> <table class="memname"> <tr> <td class="memname">bool ConfigFile::readInto </td> <td>(</td> <td class="paramtype">T & </td> <td class="paramname"> <em>var</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const string & </td> <td class="paramname"> <em>key</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="ConfigFile_8h_source.html#l00205">205</a> of file <a class="el" href="ConfigFile_8h_source.html">ConfigFile.h</a>.</p> <p>References <a class="el" href="ConfigFile_8h_source.html#l00060">myContents</a>.</p> </div> </div> <a class="anchor" id="a22b3d7f8312ca371631d75d803263f10"></a><!-- doxytag: member="ConfigFile::readInto" ref="a22b3d7f8312ca371631d75d803263f10" args="(T &var, const string &key, const T &value) const " --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class T > </div> <table class="memname"> <tr> <td class="memname">bool ConfigFile::readInto </td> <td>(</td> <td class="paramtype">T & </td> <td class="paramname"> <em>var</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const string & </td> <td class="paramname"> <em>key</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const T & </td> <td class="paramname"> <em>value</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="ConfigFile_8h_source.html#l00218">218</a> of file <a class="el" href="ConfigFile_8h_source.html">ConfigFile.h</a>.</p> <p>References <a class="el" href="ConfigFile_8h_source.html#l00060">myContents</a>.</p> </div> </div> <a class="anchor" id="aa209a19359ca5c657c2aae19932f066f"></a><!-- doxytag: member="ConfigFile::add" ref="aa209a19359ca5c657c2aae19932f066f" args="(string key, const T &value, bool store=false)" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class T > </div> <table class="memname"> <tr> <td class="memname">void ConfigFile::add </td> <td>(</td> <td class="paramtype">string </td> <td class="paramname"> <em>key</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const T & </td> <td class="paramname"> <em>value</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"> <em>store</em> = <code>false</code></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="ConfigFile_8h_source.html#l00234">234</a> of file <a class="el" href="ConfigFile_8h_source.html">ConfigFile.h</a>.</p> <p>References <a class="el" href="ConfigFile_8h_source.html#l00064">file</a>, <a class="el" href="ConfigFile_8h_source.html#l00060">myContents</a>, <a class="el" href="ConfigFile_8h_source.html#l00057">myDelimiter</a>, <a class="el" href="ConfigFile_8h_source.html#l00131">T_as_string()</a>, and <a class="el" href="ConfigFile_8cpp_source.html#l00064">trim()</a>.</p> </div> </div> <a class="anchor" id="a2ad47b1c6db0571f035e71909fece24e"></a><!-- doxytag: member="ConfigFile::add" ref="a2ad47b1c6db0571f035e71909fece24e" args="(const T &key, bool store=false)" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class T > </div> <table class="memname"> <tr> <td class="memname">void ConfigFile::add </td> <td>(</td> <td class="paramtype">const T & </td> <td class="paramname"> <em>key</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"> <em>store</em> = <code>false</code></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="ConfigFile_8h_source.html#l00253">253</a> of file <a class="el" href="ConfigFile_8h_source.html">ConfigFile.h</a>.</p> <p>References <a class="el" href="ConfigFile_8h_source.html#l00064">file</a>, <a class="el" href="ConfigFile_8cpp_source.html#l00055">keyExists()</a>, <a class="el" href="ConfigFile_8h_source.html#l00060">myContents</a>, <a class="el" href="ConfigFile_8h_source.html#l00131">T_as_string()</a>, and <a class="el" href="ConfigFile_8cpp_source.html#l00064">trim()</a>.</p> </div> </div> <a class="anchor" id="afca295f72101b138ad2702a11c342f37"></a><!-- doxytag: member="ConfigFile::remove" ref="afca295f72101b138ad2702a11c342f37" args="(const string &key)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void ConfigFile::remove </td> <td>(</td> <td class="paramtype">const string & </td> <td class="paramname"> <em>key</em></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="ConfigFile_8cpp_source.html#l00047">47</a> of file <a class="el" href="ConfigFile_8cpp_source.html">ConfigFile.cpp</a>.</p> <p>References <a class="el" href="ConfigFile_8h_source.html#l00060">myContents</a>.</p> </div> </div> <a class="anchor" id="a154715f4b7602da0467dc0caa9d9ec08"></a><!-- doxytag: member="ConfigFile::remove" ref="a154715f4b7602da0467dc0caa9d9ec08" args="(const T &key)" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class T > </div> <table class="memname"> <tr> <td class="memname">void ConfigFile::remove </td> <td>(</td> <td class="paramtype">const T & </td> <td class="paramname"> <em>key</em></td> <td> ) </td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="ConfigFile_8h_source.html#l00270">270</a> of file <a class="el" href="ConfigFile_8h_source.html">ConfigFile.h</a>.</p> <p>References <a class="el" href="ConfigFile_8cpp_source.html#l00055">keyExists()</a>, <a class="el" href="ConfigFile_8h_source.html#l00060">myContents</a>, <a class="el" href="ConfigFile_8cpp_source.html#l00039">save()</a>, <a class="el" href="ConfigFile_8h_source.html#l00131">T_as_string()</a>, and <a class="el" href="ConfigFile_8cpp_source.html#l00064">trim()</a>.</p> </div> </div> <a class="anchor" id="afd3d1146ae212a7e5802961f5ad3fe91"></a><!-- doxytag: member="ConfigFile::keyExists" ref="afd3d1146ae212a7e5802961f5ad3fe91" args="(const string &key) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool ConfigFile::keyExists </td> <td>(</td> <td class="paramtype">const string & </td> <td class="paramname"> <em>key</em></td> <td> ) </td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="ConfigFile_8cpp_source.html#l00055">55</a> of file <a class="el" href="ConfigFile_8cpp_source.html">ConfigFile.cpp</a>.</p> <p>References <a class="el" href="ConfigFile_8h_source.html#l00060">myContents</a>.</p> <p>Referenced by <a class="el" href="ConfigFile_8h_source.html#l00253">add()</a>, and <a class="el" href="ConfigFile_8h_source.html#l00270">remove()</a>.</p> </div> </div> <a class="anchor" id="a1db64f1cbca25b9d744babca6e7b9382"></a><!-- doxytag: member="ConfigFile::keyExists" ref="a1db64f1cbca25b9d744babca6e7b9382" args="(const T &key) const " --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class T > </div> <table class="memname"> <tr> <td class="memname">bool ConfigFile::keyExists </td> <td>(</td> <td class="paramtype">const T & </td> <td class="paramname"> <em>key</em></td> <td> ) </td> <td> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="ConfigFile_8h_source.html#l00281">281</a> of file <a class="el" href="ConfigFile_8h_source.html">ConfigFile.h</a>.</p> <p>References <a class="el" href="ConfigFile_8h_source.html#l00060">myContents</a>, and <a class="el" href="ConfigFile_8h_source.html#l00131">T_as_string()</a>.</p> </div> </div> <a class="anchor" id="adcc1df41c7d669a7cc81c47b85b0ee14"></a><!-- doxytag: member="ConfigFile::getDelimiter" ref="adcc1df41c7d669a7cc81c47b85b0ee14" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">string ConfigFile::getDelimiter </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="ConfigFile_8h_source.html#l00095">95</a> of file <a class="el" href="ConfigFile_8h_source.html">ConfigFile.h</a>.</p> <p>References <a class="el" href="ConfigFile_8h_source.html#l00057">myDelimiter</a>.</p> </div> </div> <a class="anchor" id="a2b0cd50789ea83b1a12bf39293c7401a"></a><!-- doxytag: member="ConfigFile::getComment" ref="a2b0cd50789ea83b1a12bf39293c7401a" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">string ConfigFile::getComment </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="ConfigFile_8h_source.html#l00096">96</a> of file <a class="el" href="ConfigFile_8h_source.html">ConfigFile.h</a>.</p> <p>References <a class="el" href="ConfigFile_8h_source.html#l00058">myComment</a>.</p> </div> </div> <a class="anchor" id="adf270b0cf2a1b034fc18fd2e82296760"></a><!-- doxytag: member="ConfigFile::getSentry" ref="adf270b0cf2a1b034fc18fd2e82296760" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">string ConfigFile::getSentry </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="ConfigFile_8h_source.html#l00097">97</a> of file <a class="el" href="ConfigFile_8h_source.html">ConfigFile.h</a>.</p> <p>References <a class="el" href="ConfigFile_8h_source.html#l00059">mySentry</a>.</p> </div> </div> <a class="anchor" id="af28390aba7d8f399ac734c074e659b99"></a><!-- doxytag: member="ConfigFile::setDelimiter" ref="af28390aba7d8f399ac734c074e659b99" args="(const string &s)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">string ConfigFile::setDelimiter </td> <td>(</td> <td class="paramtype">const string & </td> <td class="paramname"> <em>s</em></td> <td> ) </td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="ConfigFile_8h_source.html#l00098">98</a> of file <a class="el" href="ConfigFile_8h_source.html">ConfigFile.h</a>.</p> <p>References <a class="el" href="ConfigFile_8h_source.html#l00057">myDelimiter</a>.</p> </div> </div> <a class="anchor" id="a2e06b3000fb45426c975b334b2cee148"></a><!-- doxytag: member="ConfigFile::setComment" ref="a2e06b3000fb45426c975b334b2cee148" args="(const string &s)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">string ConfigFile::setComment </td> <td>(</td> <td class="paramtype">const string & </td> <td class="paramname"> <em>s</em></td> <td> ) </td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="ConfigFile_8h_source.html#l00100">100</a> of file <a class="el" href="ConfigFile_8h_source.html">ConfigFile.h</a>.</p> <p>References <a class="el" href="ConfigFile_8h_source.html#l00058">myComment</a>.</p> </div> </div> <a class="anchor" id="aae6af4a2757d27461438600dafef3187"></a><!-- doxytag: member="ConfigFile::load" ref="aae6af4a2757d27461438600dafef3187" args="(string filename, bool isList=false)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void ConfigFile::load </td> <td>(</td> <td class="paramtype">string </td> <td class="paramname"> <em>filename</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"> <em>isList</em> = <code>false</code></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="ConfigFile_8cpp_source.html#l00028">28</a> of file <a class="el" href="ConfigFile_8cpp_source.html">ConfigFile.cpp</a>.</p> <p>References <a class="el" href="ConfigFile_8h_source.html#l00064">file</a>, and <a class="el" href="ConfigFile_8h_source.html#l00065">listmode</a>.</p> </div> </div> <a class="anchor" id="ab13acdfb1472f6672574a30e7ae1ba2a"></a><!-- doxytag: member="ConfigFile::save" ref="ab13acdfb1472f6672574a30e7ae1ba2a" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void ConfigFile::save </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="ConfigFile_8cpp_source.html#l00039">39</a> of file <a class="el" href="ConfigFile_8cpp_source.html">ConfigFile.cpp</a>.</p> <p>References <a class="el" href="ConfigFile_8h_source.html#l00064">file</a>.</p> <p>Referenced by <a class="el" href="ConfigFile_8h_source.html#l00270">remove()</a>.</p> </div> </div> <a class="anchor" id="a0b2ef4a39ca6ea31d186c301f1f52700"></a><!-- doxytag: member="ConfigFile::T_as_string" ref="a0b2ef4a39ca6ea31d186c301f1f52700" args="(const T &t)" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class T > </div> <table class="memname"> <tr> <td class="memname">string ConfigFile::T_as_string </td> <td>(</td> <td class="paramtype">const T & </td> <td class="paramname"> <em>t</em></td> <td> ) </td> <td><code> [inline, static, protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="ConfigFile_8h_source.html#l00131">131</a> of file <a class="el" href="ConfigFile_8h_source.html">ConfigFile.h</a>.</p> <p>Referenced by <a class="el" href="ConfigFile_8h_source.html#l00234">add()</a>, <a class="el" href="ConfigFile_8h_source.html#l00281">keyExists()</a>, and <a class="el" href="ConfigFile_8h_source.html#l00270">remove()</a>.</p> </div> </div> <a class="anchor" id="a741caa76c057b33332439cce2521b27e"></a><!-- doxytag: member="ConfigFile::string_as_T" ref="a741caa76c057b33332439cce2521b27e" args="(const string &s)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool ConfigFile::string_as_T< bool > </td> <td>(</td> <td class="paramtype">const string & </td> <td class="paramname"> <em>s</em></td> <td> ) </td> <td><code> [inline, static, protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="ConfigFile_8h_source.html#l00143">143</a> of file <a class="el" href="ConfigFile_8h_source.html">ConfigFile.h</a>.</p> </div> </div> <a class="anchor" id="a6b445b393fcf42386a804fc4077fac10"></a><!-- doxytag: member="ConfigFile::trim" ref="a6b445b393fcf42386a804fc4077fac10" args="(string &s)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void ConfigFile::trim </td> <td>(</td> <td class="paramtype">string & </td> <td class="paramname"> <em>s</em></td> <td> ) </td> <td><code> [static, protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="ConfigFile_8cpp_source.html#l00064">64</a> of file <a class="el" href="ConfigFile_8cpp_source.html">ConfigFile.cpp</a>.</p> <p>Referenced by <a class="el" href="ConfigFile_8h_source.html#l00234">add()</a>, <a class="el" href="ConfigFile_8cpp_source.html#l00092">operator>>()</a>, and <a class="el" href="ConfigFile_8h_source.html#l00270">remove()</a>.</p> </div> </div> <hr/><h2>Friends And Related Function Documentation</h2> <a class="anchor" id="a8ccacbc37db1992a5515e2c72fc83ce6"></a><!-- doxytag: member="ConfigFile::operator<<" ref="a8ccacbc37db1992a5515e2c72fc83ce6" args="(std::ostream &os, const ConfigFile &cf)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">std::ostream& operator<< </td> <td>(</td> <td class="paramtype">std::ostream & </td> <td class="paramname"> <em>os</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classConfigFile.html">ConfigFile</a> & </td> <td class="paramname"> <em>cf</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [friend]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="ConfigFile_8cpp_source.html#l00073">73</a> of file <a class="el" href="ConfigFile_8cpp_source.html">ConfigFile.cpp</a>.</p> </div> </div> <a class="anchor" id="a25042475439039e70f90febe7d0e63ec"></a><!-- doxytag: member="ConfigFile::operator>>" ref="a25042475439039e70f90febe7d0e63ec" args="(std::istream &is, ConfigFile &cf)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">std::istream& operator>> </td> <td>(</td> <td class="paramtype">std::istream & </td> <td class="paramname"> <em>is</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classConfigFile.html">ConfigFile</a> & </td> <td class="paramname"> <em>cf</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [friend]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="ConfigFile_8cpp_source.html#l00092">92</a> of file <a class="el" href="ConfigFile_8cpp_source.html">ConfigFile.cpp</a>.</p> </div> </div> <hr/><h2>Member Data Documentation</h2> <a class="anchor" id="ad63f3e259f665192b64fb3e83c701425"></a><!-- doxytag: member="ConfigFile::myDelimiter" ref="ad63f3e259f665192b64fb3e83c701425" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">string <a class="el" href="classConfigFile.html#ad63f3e259f665192b64fb3e83c701425">ConfigFile::myDelimiter</a><code> [protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="ConfigFile_8h_source.html#l00057">57</a> of file <a class="el" href="ConfigFile_8h_source.html">ConfigFile.h</a>.</p> <p>Referenced by <a class="el" href="ConfigFile_8h_source.html#l00234">add()</a>, <a class="el" href="ConfigFile_8h_source.html#l00095">getDelimiter()</a>, <a class="el" href="ConfigFile_8cpp_source.html#l00073">operator<<()</a>, <a class="el" href="ConfigFile_8cpp_source.html#l00092">operator>>()</a>, and <a class="el" href="ConfigFile_8h_source.html#l00098">setDelimiter()</a>.</p> </div> </div> <a class="anchor" id="a2c60a141e8ad012b86a0642ec8ec638d"></a><!-- doxytag: member="ConfigFile::myComment" ref="a2c60a141e8ad012b86a0642ec8ec638d" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">string <a class="el" href="classConfigFile.html#a2c60a141e8ad012b86a0642ec8ec638d">ConfigFile::myComment</a><code> [protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="ConfigFile_8h_source.html#l00058">58</a> of file <a class="el" href="ConfigFile_8h_source.html">ConfigFile.h</a>.</p> <p>Referenced by <a class="el" href="ConfigFile_8h_source.html#l00096">getComment()</a>, <a class="el" href="ConfigFile_8cpp_source.html#l00092">operator>>()</a>, and <a class="el" href="ConfigFile_8h_source.html#l00100">setComment()</a>.</p> </div> </div> <a class="anchor" id="af066ec1942c50848a055350029ebbca5"></a><!-- doxytag: member="ConfigFile::mySentry" ref="af066ec1942c50848a055350029ebbca5" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">string <a class="el" href="classConfigFile.html#af066ec1942c50848a055350029ebbca5">ConfigFile::mySentry</a><code> [protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="ConfigFile_8h_source.html#l00059">59</a> of file <a class="el" href="ConfigFile_8h_source.html">ConfigFile.h</a>.</p> <p>Referenced by <a class="el" href="ConfigFile_8h_source.html#l00097">getSentry()</a>, and <a class="el" href="ConfigFile_8cpp_source.html#l00092">operator>>()</a>.</p> </div> </div> <a class="anchor" id="a91b9b9e241d42bd3b1bb8b3e6355761f"></a><!-- doxytag: member="ConfigFile::myContents" ref="a91b9b9e241d42bd3b1bb8b3e6355761f" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">std::map<string,string> <a class="el" href="classConfigFile.html#a91b9b9e241d42bd3b1bb8b3e6355761f">ConfigFile::myContents</a><code> [protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="ConfigFile_8h_source.html#l00060">60</a> of file <a class="el" href="ConfigFile_8h_source.html">ConfigFile.h</a>.</p> <p>Referenced by <a class="el" href="ConfigFile_8h_source.html#l00234">add()</a>, <a class="el" href="ConfigFile_8cpp_source.html#l00055">keyExists()</a>, <a class="el" href="ConfigFile_8cpp_source.html#l00073">operator<<()</a>, <a class="el" href="ConfigFile_8cpp_source.html#l00092">operator>>()</a>, <a class="el" href="ConfigFile_8h_source.html#l00184">read()</a>, <a class="el" href="ConfigFile_8h_source.html#l00205">readInto()</a>, and <a class="el" href="ConfigFile_8cpp_source.html#l00047">remove()</a>.</p> </div> </div> <a class="anchor" id="aa5cb7de8754cd596b0e7b1d306d143bf"></a><!-- doxytag: member="ConfigFile::file" ref="aa5cb7de8754cd596b0e7b1d306d143bf" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">std::string <a class="el" href="classConfigFile.html#aa5cb7de8754cd596b0e7b1d306d143bf">ConfigFile::file</a><code> [protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="ConfigFile_8h_source.html#l00064">64</a> of file <a class="el" href="ConfigFile_8h_source.html">ConfigFile.h</a>.</p> <p>Referenced by <a class="el" href="ConfigFile_8h_source.html#l00234">add()</a>, <a class="el" href="ConfigFile_8cpp_source.html#l00028">load()</a>, and <a class="el" href="ConfigFile_8cpp_source.html#l00039">save()</a>.</p> </div> </div> <a class="anchor" id="a0bc00d561b3a014e9b163901ccebde5f"></a><!-- doxytag: member="ConfigFile::listmode" ref="a0bc00d561b3a014e9b163901ccebde5f" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool <a class="el" href="classConfigFile.html#a0bc00d561b3a014e9b163901ccebde5f">ConfigFile::listmode</a><code> [protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="ConfigFile_8h_source.html#l00065">65</a> of file <a class="el" href="ConfigFile_8h_source.html">ConfigFile.h</a>.</p> <p>Referenced by <a class="el" href="ConfigFile_8cpp_source.html#l00028">load()</a>, <a class="el" href="ConfigFile_8cpp_source.html#l00073">operator<<()</a>, and <a class="el" href="ConfigFile_8cpp_source.html#l00092">operator>>()</a>.</p> </div> </div> <hr/>The documentation for this class was generated from the following files:<ul> <li>/builddir/build/BUILD/wsdlpull-1.23/src/xmlpull/<a class="el" href="ConfigFile_8h_source.html">ConfigFile.h</a></li> <li>/builddir/build/BUILD/wsdlpull-1.23/src/xmlpull/<a class="el" href="ConfigFile_8cpp_source.html">ConfigFile.cpp</a></li> </ul> </div> <!--- window showing the filter options --> <div id="MSearchSelectWindow" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" onkeydown="return searchBox.OnSearchSelectKey(event)"> <a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark"> </span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark"> </span>Defines</a></div> <!-- iframe showing the search results (closed by default) --> <div id="MSearchResultsWindow"> <iframe src="" frameborder="0" name="MSearchResults" id="MSearchResults"> </iframe> </div> <hr class="footer"/><address style="text-align: right;"><small>Generated by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2-20100208 </small></address> </body> </html>