diff options
Diffstat (limited to '_convenience_8h_source.html')
-rw-r--r-- | _convenience_8h_source.html | 58 |
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> </div> <div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="classuscxml_1_1_num_attr.html"> 46</a></span> <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> <span class="keyword">public</span>:</div> -<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  <a class="code" href="classuscxml_1_1_num_attr.html">NumAttr</a>(<span class="keyword">const</span> std::string& str) {</div> -<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  <span class="keywordtype">size_t</span> valueStart = str.find_first_of(<span class="stringliteral">"0123456789."</span>);</div> -<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  <span class="keywordflow">if</span> (valueStart != std::string::npos) {</div> -<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  <span class="keywordtype">size_t</span> valueEnd = str.find_last_of(<span class="stringliteral">"0123456789."</span>);</div> -<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  <span class="keywordflow">if</span> (valueEnd != std::string::npos) {</div> -<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  value = str.substr(valueStart, (valueEnd - valueStart) + 1);</div> -<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  <span class="keywordtype">size_t</span> unitStart = str.find_first_not_of(<span class="stringliteral">" \t"</span>, valueEnd + 1);</div> -<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  <span class="keywordflow">if</span> (unitStart != std::string::npos) {</div> -<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  <span class="keywordtype">size_t</span> unitEnd = str.find_last_of(<span class="stringliteral">" \t"</span>);</div> -<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  <span class="keywordflow">if</span> (unitEnd != std::string::npos && unitEnd > unitStart) {</div> -<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  unit = str.substr(unitStart, unitEnd - unitStart);</div> -<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  } <span class="keywordflow">else</span> {</div> -<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  unit = str.substr(unitStart, str.length() - unitStart);</div> -<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  }</div> -<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  }</div> -<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  }</div> -<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  }</div> -<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  }</div> -<div class="line"><a name="l00066"></a><span class="lineno"> 66</span> </div> -<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  std::string value;</div> -<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  std::string unit;</div> -<div class="line"><a name="l00069"></a><span class="lineno"> 69</span> };</div> -<div class="line"><a name="l00070"></a><span class="lineno"> 70</span> </div> -<div class="line"><a name="l00071"></a><span class="lineno"> 71</span> <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> <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> <span class="keywordtype">bool</span> iequals(<span class="keyword">const</span> std::string& a, <span class="keyword">const</span> std::string& b);</div> -<div class="line"><a name="l00074"></a><span class="lineno"> 74</span> <span class="keywordtype">bool</span> equals(<span class="keyword">const</span> std::string& a, <span class="keyword">const</span> std::string& b);</div> -<div class="line"><a name="l00075"></a><span class="lineno"> 75</span> <span class="keywordtype">bool</span> stringIsTrue(<span class="keyword">const</span> std::string& value);</div> -<div class="line"><a name="l00076"></a><span class="lineno"> 76</span> <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> <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> </div> -<div class="line"><a name="l00079"></a><span class="lineno"> 79</span> std::string escape(<span class="keyword">const</span> std::string& a);</div> -<div class="line"><a name="l00080"></a><span class="lineno"> 80</span> std::string unescape(<span class="keyword">const</span> std::string& a);</div> -<div class="line"><a name="l00081"></a><span class="lineno"> 81</span> </div> -<div class="line"><a name="l00082"></a><span class="lineno"> 82</span> }</div> -<div class="line"><a name="l00083"></a><span class="lineno"> 83</span> <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>  <a class="code" href="classuscxml_1_1_num_attr.html">NumAttr</a>(<span class="keyword">const</span> std::string& str);</div> +<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  std::string value;</div> +<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  std::string unit;</div> +<div class="line"><a name="l00051"></a><span class="lineno"> 51</span> };</div> +<div class="line"><a name="l00052"></a><span class="lineno"> 52</span> </div> +<div class="line"><a name="l00053"></a><span class="lineno"> 53</span> <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> <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> <span class="keywordtype">bool</span> iequals(<span class="keyword">const</span> std::string& a, <span class="keyword">const</span> std::string& b);</div> +<div class="line"><a name="l00056"></a><span class="lineno"> 56</span> <span class="keywordtype">bool</span> equals(<span class="keyword">const</span> std::string& a, <span class="keyword">const</span> std::string& b);</div> +<div class="line"><a name="l00057"></a><span class="lineno"> 57</span> <span class="keywordtype">bool</span> stringIsTrue(<span class="keyword">const</span> std::string& value);</div> +<div class="line"><a name="l00058"></a><span class="lineno"> 58</span> <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> <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> </div> +<div class="line"><a name="l00061"></a><span class="lineno"> 61</span> std::string escape(<span class="keyword">const</span> std::string& a);</div> +<div class="line"><a name="l00062"></a><span class="lineno"> 62</span> std::string unescape(<span class="keyword">const</span> std::string& a);</div> +<div class="line"><a name="l00063"></a><span class="lineno"> 63</span> </div> +<div class="line"><a name="l00064"></a><span class="lineno"> 64</span> }</div> +<div class="line"><a name="l00065"></a><span class="lineno"> 65</span> <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  <a href="http://www.doxygen.org/index.html"> +Generated on Sun Apr 30 2017 22:52:19 for uSCXML by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.10 </small></address> --> |