[353] | 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
---|
| 2 | <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> |
---|
| 3 | <title>mixpp: itpp::Parser Class Reference</title> |
---|
| 4 | <link href="tabs.css" rel="stylesheet" type="text/css"> |
---|
| 5 | <link href="doxygen.css" rel="stylesheet" type="text/css"> |
---|
| 6 | </head><body> |
---|
| 7 | <!-- Generated by Doxygen 1.5.8 --> |
---|
| 8 | <script type="text/javascript"> |
---|
| 9 | <!-- |
---|
| 10 | function changeDisplayState (e){ |
---|
| 11 | var num=this.id.replace(/[^[0-9]/g,''); |
---|
| 12 | var button=this.firstChild; |
---|
| 13 | var sectionDiv=document.getElementById('dynsection'+num); |
---|
| 14 | if (sectionDiv.style.display=='none'||sectionDiv.style.display==''){ |
---|
| 15 | sectionDiv.style.display='block'; |
---|
| 16 | button.src='open.gif'; |
---|
| 17 | }else{ |
---|
| 18 | sectionDiv.style.display='none'; |
---|
| 19 | button.src='closed.gif'; |
---|
| 20 | } |
---|
| 21 | } |
---|
| 22 | function initDynSections(){ |
---|
| 23 | var divs=document.getElementsByTagName('div'); |
---|
| 24 | var sectionCounter=1; |
---|
| 25 | for(var i=0;i<divs.length-1;i++){ |
---|
| 26 | if(divs[i].className=='dynheader'&&divs[i+1].className=='dynsection'){ |
---|
| 27 | var header=divs[i]; |
---|
| 28 | var section=divs[i+1]; |
---|
| 29 | var button=header.firstChild; |
---|
| 30 | if (button!='IMG'){ |
---|
| 31 | divs[i].insertBefore(document.createTextNode(' '),divs[i].firstChild); |
---|
| 32 | button=document.createElement('img'); |
---|
| 33 | divs[i].insertBefore(button,divs[i].firstChild); |
---|
| 34 | } |
---|
| 35 | header.style.cursor='pointer'; |
---|
| 36 | header.onclick=changeDisplayState; |
---|
| 37 | header.id='dynheader'+sectionCounter; |
---|
| 38 | button.src='closed.gif'; |
---|
| 39 | section.id='dynsection'+sectionCounter; |
---|
| 40 | section.style.display='none'; |
---|
| 41 | section.style.marginLeft='14px'; |
---|
| 42 | sectionCounter++; |
---|
| 43 | } |
---|
| 44 | } |
---|
| 45 | } |
---|
| 46 | window.onload = initDynSections; |
---|
| 47 | --> |
---|
| 48 | </script> |
---|
| 49 | <div class="navigation" id="top"> |
---|
| 50 | <div class="tabs"> |
---|
| 51 | <ul> |
---|
| 52 | <li><a href="main.html"><span>Main Page</span></a></li> |
---|
| 53 | <li><a href="pages.html"><span>Related Pages</span></a></li> |
---|
| 54 | <li><a href="modules.html"><span>Modules</span></a></li> |
---|
| 55 | <li class="current"><a href="annotated.html"><span>Classes</span></a></li> |
---|
| 56 | <li><a href="files.html"><span>Files</span></a></li> |
---|
| 57 | </ul> |
---|
| 58 | </div> |
---|
| 59 | <div class="tabs"> |
---|
| 60 | <ul> |
---|
| 61 | <li><a href="annotated.html"><span>Class List</span></a></li> |
---|
| 62 | <li><a href="classes.html"><span>Class Index</span></a></li> |
---|
| 63 | <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> |
---|
| 64 | <li><a href="functions.html"><span>Class Members</span></a></li> |
---|
| 65 | </ul> |
---|
| 66 | </div> |
---|
| 67 | <div class="navpath"><b>itpp</b>::<a class="el" href="classitpp_1_1Parser.html">Parser</a> |
---|
| 68 | </div> |
---|
| 69 | </div> |
---|
| 70 | <div class="contents"> |
---|
| 71 | <h1>itpp::Parser Class Reference<br> |
---|
| 72 | <small> |
---|
| 73 | [<a class="el" href="group__parser.html">Argument Parser</a>]</small> |
---|
| 74 | </h1><!-- doxytag: class="itpp::Parser" -->Argument <a class="el" href="classitpp_1_1Parser.html" title="Argument Parser Class.">Parser</a> Class. |
---|
| 75 | <a href="#_details">More...</a> |
---|
| 76 | <p> |
---|
| 77 | <code>#include <<a class="el" href="parser_8h-source.html">parser.h</a>></code> |
---|
| 78 | <p> |
---|
| 79 | |
---|
| 80 | <p> |
---|
| 81 | <a href="classitpp_1_1Parser-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> |
---|
| 82 | <tr><td></td></tr> |
---|
| 83 | <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> |
---|
| 84 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7e6c4f33d314ca02afcfcbda2a02771c"></a><!-- doxytag: member="itpp::Parser::Parser" ref="7e6c4f33d314ca02afcfcbda2a02771c" args="()" --> |
---|
| 85 | </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Parser.html#7e6c4f33d314ca02afcfcbda2a02771c">Parser</a> ()</td></tr> |
---|
| 86 | |
---|
| 87 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Default Constructor. <br></td></tr> |
---|
| 88 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9fc6924d39f7833a5af11e827b363007"></a><!-- doxytag: member="itpp::Parser::Parser" ref="9fc6924d39f7833a5af11e827b363007" args="(const std::string &filename)" --> |
---|
| 89 | </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Parser.html#9fc6924d39f7833a5af11e827b363007">Parser</a> (const std::string &filename)</td></tr> |
---|
| 90 | |
---|
| 91 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor. Sets input file name. <br></td></tr> |
---|
| 92 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="71791a6b7d729eceaff86c0e6fed2184"></a><!-- doxytag: member="itpp::Parser::Parser" ref="71791a6b7d729eceaff86c0e6fed2184" args="(int argc, char *argv[])" --> |
---|
| 93 | </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Parser.html#71791a6b7d729eceaff86c0e6fed2184">Parser</a> (int argc, char *argv[])</td></tr> |
---|
| 94 | |
---|
| 95 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor. Uses argc and argv (command line arguments). <br></td></tr> |
---|
| 96 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ee4488251dca6b90929d3b024fa95e58"></a><!-- doxytag: member="itpp::Parser::Parser" ref="ee4488251dca6b90929d3b024fa95e58" args="(const std::string &filename, int argc, char *argv[])" --> |
---|
| 97 | </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Parser.html#ee4488251dca6b90929d3b024fa95e58">Parser</a> (const std::string &filename, int argc, char *argv[])</td></tr> |
---|
| 98 | |
---|
| 99 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor. Sets input file name and uses argc and argv (command line arguments). <br></td></tr> |
---|
| 100 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0ef9b7dc46feff2c946bfcbc27ceedd3"></a><!-- doxytag: member="itpp::Parser::Parser" ref="0ef9b7dc46feff2c946bfcbc27ceedd3" args="(const Array< std::string > &setup)" --> |
---|
| 101 | </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Parser.html#0ef9b7dc46feff2c946bfcbc27ceedd3">Parser</a> (const <a class="el" href="classitpp_1_1Array.html">Array</a>< std::string > &setup)</td></tr> |
---|
| 102 | |
---|
| 103 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor. Sets and <a class="el" href="classitpp_1_1Array.html" title="General array class.">Array</a> of strings. <br></td></tr> |
---|
| 104 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7479074f47cb11287b5a3c5245ca8dfb"></a><!-- doxytag: member="itpp::Parser::init" ref="7479074f47cb11287b5a3c5245ca8dfb" args="(const std::string &filename)" --> |
---|
| 105 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Parser.html#7479074f47cb11287b5a3c5245ca8dfb">init</a> (const std::string &filename)</td></tr> |
---|
| 106 | |
---|
| 107 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Initialization function. Sets input file name. <br></td></tr> |
---|
| 108 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="35d284d536cde61370166998defabd49"></a><!-- doxytag: member="itpp::Parser::init" ref="35d284d536cde61370166998defabd49" args="(int argc, char *argv[])" --> |
---|
| 109 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Parser.html#35d284d536cde61370166998defabd49">init</a> (int argc, char *argv[])</td></tr> |
---|
| 110 | |
---|
| 111 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Initialization function. Uses argc and argv (command line arguments). <br></td></tr> |
---|
| 112 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0904f5906ebd23613d8a73746b87f633"></a><!-- doxytag: member="itpp::Parser::init" ref="0904f5906ebd23613d8a73746b87f633" args="(const std::string &filename, int argc, char *argv[])" --> |
---|
| 113 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Parser.html#0904f5906ebd23613d8a73746b87f633">init</a> (const std::string &filename, int argc, char *argv[])</td></tr> |
---|
| 114 | |
---|
| 115 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Initialization function. Sets input file name and uses argc and argv (command line arguments). <br></td></tr> |
---|
| 116 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="665daba5f677affbceb256118177b49a"></a><!-- doxytag: member="itpp::Parser::init" ref="665daba5f677affbceb256118177b49a" args="(const Array< std::string > &setup)" --> |
---|
| 117 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Parser.html#665daba5f677affbceb256118177b49a">init</a> (const <a class="el" href="classitpp_1_1Array.html">Array</a>< std::string > &setup)</td></tr> |
---|
| 118 | |
---|
| 119 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Initialization function. Sets and <a class="el" href="classitpp_1_1Array.html" title="General array class.">Array</a> of strings. <br></td></tr> |
---|
| 120 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="08ad1252f07cc81c1c7fe4502e281183"></a><!-- doxytag: member="itpp::Parser::set_silentmode" ref="08ad1252f07cc81c1c7fe4502e281183" args="(bool v=true)" --> |
---|
| 121 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Parser.html#08ad1252f07cc81c1c7fe4502e281183">set_silentmode</a> (bool v=true)</td></tr> |
---|
| 122 | |
---|
| 123 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets silent mode if true, or verbose mode if false. <br></td></tr> |
---|
| 124 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c0045afbb4d7003f282f810774eb7c4c"></a><!-- doxytag: member="itpp::Parser::exist" ref="c0045afbb4d7003f282f810774eb7c4c" args="(const std::string &name)" --> |
---|
| 125 | bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Parser.html#c0045afbb4d7003f282f810774eb7c4c">exist</a> (const std::string &name)</td></tr> |
---|
| 126 | |
---|
| 127 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Check is <em>name</em> exists in the file. Returns <code>true</code> if the <em>name</em> is found and <code>false</code> otherwise. <br></td></tr> |
---|
| 128 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="e9d251acac7dbb48e60f614105d047cf"></a><!-- doxytag: member="itpp::Parser::get" ref="e9d251acac7dbb48e60f614105d047cf" args="(T &var, const std::string &name, int num=-1)" --> |
---|
| 129 | template<class T > </td></tr> |
---|
| 130 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">bool </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classitpp_1_1Parser.html#e9d251acac7dbb48e60f614105d047cf">get</a> (T &var, const std::string &name, int num=-1)</td></tr> |
---|
| 131 | |
---|
| 132 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Get variable value if <em>name</em> can be found (and return true), otherwise keep old value (and return false). <br></td></tr> |
---|
| 133 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6f8a25fbc5077decb7710f89811dc087"></a><!-- doxytag: member="itpp::Parser::get_bool" ref="6f8a25fbc5077decb7710f89811dc087" args="(const std::string &name, int num=-1)" --> |
---|
| 134 | bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Parser.html#6f8a25fbc5077decb7710f89811dc087">get_bool</a> (const std::string &name, int num=-1)</td></tr> |
---|
| 135 | |
---|
| 136 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Interpret variable <em>name</em> as a bool. <br></td></tr> |
---|
| 137 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2f7ca1e914536e7bde9f0595066f1f55"></a><!-- doxytag: member="itpp::Parser::get_int" ref="2f7ca1e914536e7bde9f0595066f1f55" args="(const std::string &name, int num=-1)" --> |
---|
| 138 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Parser.html#2f7ca1e914536e7bde9f0595066f1f55">get_int</a> (const std::string &name, int num=-1)</td></tr> |
---|
| 139 | |
---|
| 140 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Interpret variable <em>name</em> as an integer. <br></td></tr> |
---|
| 141 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="00f8d56022ad1961149b3462b680500d"></a><!-- doxytag: member="itpp::Parser::get_double" ref="00f8d56022ad1961149b3462b680500d" args="(const std::string &name, int num=-1)" --> |
---|
| 142 | double </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Parser.html#00f8d56022ad1961149b3462b680500d">get_double</a> (const std::string &name, int num=-1)</td></tr> |
---|
| 143 | |
---|
| 144 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Interpret variable <em>name</em> as a double. <br></td></tr> |
---|
| 145 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="90851d056eb05e74e4be61a08029fb0b"></a><!-- doxytag: member="itpp::Parser::get_string" ref="90851d056eb05e74e4be61a08029fb0b" args="(const std::string &name, int num=-1)" --> |
---|
| 146 | std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Parser.html#90851d056eb05e74e4be61a08029fb0b">get_string</a> (const std::string &name, int num=-1)</td></tr> |
---|
| 147 | |
---|
| 148 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Interpret variable <em>name</em> as a string. <br></td></tr> |
---|
| 149 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c309bc0df16f1eb9dc26dfda27c59bfe"></a><!-- doxytag: member="itpp::Parser::get_vec" ref="c309bc0df16f1eb9dc26dfda27c59bfe" args="(const std::string &name, int num=-1)" --> |
---|
| 150 | vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Parser.html#c309bc0df16f1eb9dc26dfda27c59bfe">get_vec</a> (const std::string &name, int num=-1)</td></tr> |
---|
| 151 | |
---|
| 152 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Interpret variable <em>name</em> as a vec. <br></td></tr> |
---|
| 153 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3dc404545cdc1cd456c0e8e6e0139192"></a><!-- doxytag: member="itpp::Parser::get_ivec" ref="3dc404545cdc1cd456c0e8e6e0139192" args="(const std::string &name, int num=-1)" --> |
---|
| 154 | ivec </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Parser.html#3dc404545cdc1cd456c0e8e6e0139192">get_ivec</a> (const std::string &name, int num=-1)</td></tr> |
---|
| 155 | |
---|
| 156 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Interpret variable <em>name</em> as a ivec. <br></td></tr> |
---|
| 157 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="27d53f6423d986ed44380be9bc23d35e"></a><!-- doxytag: member="itpp::Parser::get_svec" ref="27d53f6423d986ed44380be9bc23d35e" args="(const std::string &name, int num=-1)" --> |
---|
| 158 | svec </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Parser.html#27d53f6423d986ed44380be9bc23d35e">get_svec</a> (const std::string &name, int num=-1)</td></tr> |
---|
| 159 | |
---|
| 160 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Interpret variable <em>name</em> as a svec. <br></td></tr> |
---|
| 161 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4d242789174b3ec5343927122d8b883e"></a><!-- doxytag: member="itpp::Parser::get_bvec" ref="4d242789174b3ec5343927122d8b883e" args="(const std::string &name, int num=-1)" --> |
---|
| 162 | bvec </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Parser.html#4d242789174b3ec5343927122d8b883e">get_bvec</a> (const std::string &name, int num=-1)</td></tr> |
---|
| 163 | |
---|
| 164 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Interpret variable <em>name</em> as a bvec. <br></td></tr> |
---|
| 165 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2da1079bcbc37284f522873f80f091d8"></a><!-- doxytag: member="itpp::Parser::get_mat" ref="2da1079bcbc37284f522873f80f091d8" args="(const std::string &name, int num=-1)" --> |
---|
| 166 | mat </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Parser.html#2da1079bcbc37284f522873f80f091d8">get_mat</a> (const std::string &name, int num=-1)</td></tr> |
---|
| 167 | |
---|
| 168 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Interpret variable <em>name</em> as a mat. <br></td></tr> |
---|
| 169 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="67c31088c73a21875b17326260a8be14"></a><!-- doxytag: member="itpp::Parser::get_imat" ref="67c31088c73a21875b17326260a8be14" args="(const std::string &name, int num=-1)" --> |
---|
| 170 | imat </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Parser.html#67c31088c73a21875b17326260a8be14">get_imat</a> (const std::string &name, int num=-1)</td></tr> |
---|
| 171 | |
---|
| 172 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Interpret variable <em>name</em> as a imat. <br></td></tr> |
---|
| 173 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="862c8f572d15e907f7214ccb7fdd3a9f"></a><!-- doxytag: member="itpp::Parser::get_smat" ref="862c8f572d15e907f7214ccb7fdd3a9f" args="(const std::string &name, int num=-1)" --> |
---|
| 174 | smat </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Parser.html#862c8f572d15e907f7214ccb7fdd3a9f">get_smat</a> (const std::string &name, int num=-1)</td></tr> |
---|
| 175 | |
---|
| 176 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Interpret variable <em>name</em> as a smat. <br></td></tr> |
---|
| 177 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f09b3a0b1190e4595c6b5a1cb85f7c7d"></a><!-- doxytag: member="itpp::Parser::get_bmat" ref="f09b3a0b1190e4595c6b5a1cb85f7c7d" args="(const std::string &name, int num=-1)" --> |
---|
| 178 | <a class="el" href="mat_8h.html#f90acd1af41bf2d1d8a4bb23662fff69">bmat</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Parser.html#f09b3a0b1190e4595c6b5a1cb85f7c7d">get_bmat</a> (const std::string &name, int num=-1)</td></tr> |
---|
| 179 | |
---|
| 180 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Interpret variable <em>name</em> as a bmat. <br></td></tr> |
---|
| 181 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="bd3dc018331e81ac8f09b1250fa9dba4"></a><!-- doxytag: member="itpp::Parser::get" ref="bd3dc018331e81ac8f09b1250fa9dba4" args="(std::string &var, const std::string &name, int num)" --> |
---|
| 182 | template<> </td></tr> |
---|
| 183 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">bool </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classitpp_1_1Parser.html#bd3dc018331e81ac8f09b1250fa9dba4">get</a> (std::string &var, const std::string &name, int num)</td></tr> |
---|
| 184 | |
---|
| 185 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Specialization or <code><a class="el" href="classitpp_1_1Parser.html#e9d251acac7dbb48e60f614105d047cf" title="Get variable value if name can be found (and return true), otherwise keep old value...">get()</a></code> for std::string. <br></td></tr> |
---|
| 186 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="0d00a3add5e3917c74d82b43ebfdeec9"></a><!-- doxytag: member="itpp::Parser::get" ref="0d00a3add5e3917c74d82b43ebfdeec9" args="(int &var, const std::string &name, int num)" --> |
---|
| 187 | template<> </td></tr> |
---|
| 188 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">bool </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classitpp_1_1Parser.html#0d00a3add5e3917c74d82b43ebfdeec9">get</a> (int &var, const std::string &name, int num)</td></tr> |
---|
| 189 | |
---|
| 190 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Specialization of <code><a class="el" href="classitpp_1_1Parser.html#e9d251acac7dbb48e60f614105d047cf" title="Get variable value if name can be found (and return true), otherwise keep old value...">get()</a></code> for int. <br></td></tr> |
---|
| 191 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="6543a437f579494a13e1d8b59a3fecac"></a><!-- doxytag: member="itpp::Parser::get" ref="6543a437f579494a13e1d8b59a3fecac" args="(bool &var, const std::string &name, int num)" --> |
---|
| 192 | template<> </td></tr> |
---|
| 193 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">bool </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classitpp_1_1Parser.html#6543a437f579494a13e1d8b59a3fecac">get</a> (bool &var, const std::string &name, int num)</td></tr> |
---|
| 194 | |
---|
| 195 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Specialization of <code><a class="el" href="classitpp_1_1Parser.html#e9d251acac7dbb48e60f614105d047cf" title="Get variable value if name can be found (and return true), otherwise keep old value...">get()</a></code> for bool. <br></td></tr> |
---|
| 196 | </table> |
---|
| 197 | <hr><a name="_details"></a><h2>Detailed Description</h2> |
---|
| 198 | Argument <a class="el" href="classitpp_1_1Parser.html" title="Argument Parser Class.">Parser</a> Class. |
---|
| 199 | <p> |
---|
| 200 | <dl class="author" compact><dt><b>Author:</b></dt><dd>Thomas Eriksson and Pal Frenger (Thanks to Svante Signell for valuable input)</dd></dl> |
---|
| 201 | This class parses strings to variables. The syntax is compatible with Matlab and Octave. It can be used in several different ways. See the Detailed Description in the <a class="el" href="group__parser.html">Argument Parser</a> module. <hr>The documentation for this class was generated from the following files:<ul> |
---|
| 202 | <li><a class="el" href="parser_8h-source.html">parser.h</a><li><a class="el" href="parser_8cpp.html">parser.cpp</a></ul> |
---|
| 203 | </div> |
---|
| 204 | <hr size="1"><address style="text-align: right;"><small>Generated on Tue Jun 2 10:02:19 2009 for mixpp by |
---|
| 205 | <a href="http://www.doxygen.org/index.html"> |
---|
| 206 | <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> |
---|
| 207 | </body> |
---|
| 208 | </html> |
---|