summaryrefslogtreecommitdiffstats
path: root/_convenience_8h_source.html
diff options
context:
space:
mode:
Diffstat (limited to '_convenience_8h_source.html')
-rw-r--r--_convenience_8h_source.html58
1 files changed, 20 insertions, 38 deletions
diff --git a/_convenience_8h_source.html b/_convenience_8h_source.html
index 107224f..390f9d6 100644
--- a/_convenience_8h_source.html
+++ b/_convenience_8h_source.html
@@ -89,7 +89,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div id="nav-path" class="navpath">
<ul>
-<li class="navelem"><a class="el" href="dir_23ec12649285f9fabf3a6b7380226c28.html">util</a></li> </ul>
+<li class="navelem"><a class="el" href="dir_92105864f9e085ad080aaeef739227b1.html">util</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
@@ -126,42 +126,24 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160;</div>
<div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="classuscxml_1_1_num_attr.html"> 46</a></span>&#160;<span class="keyword">class </span>USCXML_API <a class="code" href="classuscxml_1_1_num_attr.html">NumAttr</a> {</div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160;<span class="keyword">public</span>:</div>
-<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160; <a class="code" href="classuscxml_1_1_num_attr.html">NumAttr</a>(<span class="keyword">const</span> std::string&amp; str) {</div>
-<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160; <span class="keywordtype">size_t</span> valueStart = str.find_first_of(<span class="stringliteral">&quot;0123456789.&quot;</span>);</div>
-<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160; <span class="keywordflow">if</span> (valueStart != std::string::npos) {</div>
-<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160; <span class="keywordtype">size_t</span> valueEnd = str.find_last_of(<span class="stringliteral">&quot;0123456789.&quot;</span>);</div>
-<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160; <span class="keywordflow">if</span> (valueEnd != std::string::npos) {</div>
-<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160; value = str.substr(valueStart, (valueEnd - valueStart) + 1);</div>
-<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160; <span class="keywordtype">size_t</span> unitStart = str.find_first_not_of(<span class="stringliteral">&quot; \t&quot;</span>, valueEnd + 1);</div>
-<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160; <span class="keywordflow">if</span> (unitStart != std::string::npos) {</div>
-<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160; <span class="keywordtype">size_t</span> unitEnd = str.find_last_of(<span class="stringliteral">&quot; \t&quot;</span>);</div>
-<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160; <span class="keywordflow">if</span> (unitEnd != std::string::npos &amp;&amp; unitEnd &gt; unitStart) {</div>
-<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160; unit = str.substr(unitStart, unitEnd - unitStart);</div>
-<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160; } <span class="keywordflow">else</span> {</div>
-<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160; unit = str.substr(unitStart, str.length() - unitStart);</div>
-<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160; }</div>
-<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160; }</div>
-<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160; }</div>
-<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160; }</div>
-<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160; }</div>
-<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160;</div>
-<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160; std::string value;</div>
-<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160; std::string unit;</div>
-<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160;};</div>
-<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160;</div>
-<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160;<span class="keywordtype">bool</span> isNumeric(<span class="keyword">const</span> <span class="keywordtype">char</span>* pszInput, <span class="keywordtype">int</span> nNumberBase);</div>
-<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160;<span class="keywordtype">bool</span> isInteger( <span class="keyword">const</span> <span class="keywordtype">char</span>* pszInput, <span class="keywordtype">int</span> nNumberBase);</div>
-<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160;<span class="keywordtype">bool</span> iequals(<span class="keyword">const</span> std::string&amp; a, <span class="keyword">const</span> std::string&amp; b);</div>
-<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160;<span class="keywordtype">bool</span> equals(<span class="keyword">const</span> std::string&amp; a, <span class="keyword">const</span> std::string&amp; b);</div>
-<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160;<span class="keywordtype">bool</span> stringIsTrue(<span class="keyword">const</span> std::string&amp; value);</div>
-<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160;<span class="keywordtype">bool</span> envVarIsTrue(<span class="keyword">const</span> <span class="keywordtype">char</span>* name);</div>
-<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160;<span class="keywordtype">bool</span> envVarIEquals(<span class="keyword">const</span> <span class="keywordtype">char</span>* name, <span class="keyword">const</span> <span class="keywordtype">char</span>* value);</div>
-<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160;</div>
-<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160;std::string escape(<span class="keyword">const</span> std::string&amp; a);</div>
-<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160;std::string unescape(<span class="keyword">const</span> std::string&amp; a);</div>
-<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160;</div>
-<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160;}</div>
-<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* end of include guard: CONVENIENCE_H_LU7GZ6CB */</span><span class="preprocessor"></span></div>
+<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160; <a class="code" href="classuscxml_1_1_num_attr.html">NumAttr</a>(<span class="keyword">const</span> std::string&amp; str);</div>
+<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160; std::string value;</div>
+<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160; std::string unit;</div>
+<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160;};</div>
+<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160;</div>
+<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160;<span class="keywordtype">bool</span> isNumeric(<span class="keyword">const</span> <span class="keywordtype">char</span>* pszInput, <span class="keywordtype">int</span> nNumberBase);</div>
+<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160;<span class="keywordtype">bool</span> isInteger( <span class="keyword">const</span> <span class="keywordtype">char</span>* pszInput, <span class="keywordtype">int</span> nNumberBase);</div>
+<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160;<span class="keywordtype">bool</span> iequals(<span class="keyword">const</span> std::string&amp; a, <span class="keyword">const</span> std::string&amp; b);</div>
+<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160;<span class="keywordtype">bool</span> equals(<span class="keyword">const</span> std::string&amp; a, <span class="keyword">const</span> std::string&amp; b);</div>
+<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160;<span class="keywordtype">bool</span> stringIsTrue(<span class="keyword">const</span> std::string&amp; value);</div>
+<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160;<span class="keywordtype">bool</span> envVarIsTrue(<span class="keyword">const</span> <span class="keywordtype">char</span>* name);</div>
+<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160;<span class="keywordtype">bool</span> envVarIEquals(<span class="keyword">const</span> <span class="keywordtype">char</span>* name, <span class="keyword">const</span> <span class="keywordtype">char</span>* value);</div>
+<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160;</div>
+<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160;std::string escape(<span class="keyword">const</span> std::string&amp; a);</div>
+<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160;std::string unescape(<span class="keyword">const</span> std::string&amp; a);</div>
+<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160;</div>
+<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160;}</div>
+<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* end of include guard: CONVENIENCE_H_LU7GZ6CB */</span><span class="preprocessor"></span></div>
<div class="ttc" id="namespaceuscxml_html"><div class="ttname"><a href="namespaceuscxml.html">uscxml</a></div><div class="ttdef"><b>Definition:</b> Breakpoint.cpp:26</div></div>
<div class="ttc" id="classuscxml_1_1_num_attr_html"><div class="ttname"><a href="classuscxml_1_1_num_attr.html">uscxml::NumAttr</a></div><div class="ttdef"><b>Definition:</b> Convenience.h:46</div></div>
<div class="ttc" id="_common_8h_html"><div class="ttname"><a href="_common_8h.html">Common.h</a></div></div>
@@ -174,7 +156,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
</div>
</div>
<!-- <hr class="footer"/><address class="footer"><small>
-Generated on Mon Dec 12 2016 19:50:04 for uSCXML by &#160;<a href="http://www.doxygen.org/index.html">
+Generated on Sun Apr 30 2017 22:52:19 for uSCXML by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.10
</small></address> -->