You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

153 lines
13 KiB

<!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"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
9 years ago
<title>LibTgBotPP: std.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
$(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
$(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
<div id="projectname">LibTgBotPP
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.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)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="files.html"><span>File&#160;List</span></a></li>
<li><a href="globals.html"><span>File&#160;Members</span></a></li>
</ul>
</div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('std_8h_source.html','');});
</script>
<div id="doc-content">
<!-- 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">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Macros</a></div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div class="header">
<div class="headertitle">
<div class="title">std.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="std_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="preprocessor">#ifndef __STD_H__</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define __STD_H__</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="preprocessor">#include &lt;ios&gt;</span></div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="preprocessor">#include &lt;sstream&gt;</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="preprocessor">#include &lt;vector&gt;</span></div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;</div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="comment">// Makro(s)</span></div>
<div class="line"><a name="l00010"></a><span class="lineno"><a class="line" href="std_8h.html#a0d2f37137ee1fd6ff4a0ef803849dd63"> 10</a></span>&#160;<span class="preprocessor">#define SSTR( x ) static_cast&lt; std::ostringstream &amp; &gt;(( std::ostringstream() &lt;&lt; std::dec &lt;&lt; x ) ).str()</span></div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00012"></a><span class="lineno"><a class="line" href="std_8h.html#a2834615d491c11fba337095447f25886"> 12</a></span>&#160;<span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <span class="keywordtype">long</span> <span class="keywordtype">int</span> <a class="code" href="std_8h.html#a2834615d491c11fba337095447f25886">uint64</a>;</div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;</div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<a class="code" href="std_8h.html#a2834615d491c11fba337095447f25886">uint64</a> <a class="code" href="std_8h.html#a03845e6551d4ffa438067407dc862ae7">stoi</a>(std::string);</div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;std::string <a class="code" href="std_8h.html#ab759d0531efcdac4d10c966f785d200a">itos</a>(<a class="code" href="std_8h.html#a2834615d491c11fba337095447f25886">uint64</a>);</div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;std::string <a class="code" href="std_8h.html#a9362a88e9b672f9ec4431f148e0198e0">currentDate</a>();</div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;std::vector&lt;std::string&gt; <a class="code" href="std_8h.html#a283fc24c6ba72b945193ea6994256667">split</a>(<span class="keyword">const</span> std::string &amp;text, <span class="keywordtype">char</span> sep = <span class="charliteral">&#39; &#39;</span>);</div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="keywordtype">float</span> <a class="code" href="std_8h.html#a5fbfbda033e5ed44376f04e10ee1398d">stof</a>(std::string);</div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;std::string <a class="code" href="std_8h.html#a1fd2890e4baae769302e1537f7b6f90c">trim</a>(<span class="keyword">const</span> std::string&amp;);</div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;std::string <a class="code" href="std_8h.html#ac4b125d7c350b2302931e3555ab389fc">gethome</a>();</div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="keywordtype">void</span> <a class="code" href="std_8h.html#a43d4a0b214d7948a4ba43696b9dd9f4d">Log</a>(std::string);</div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;</div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<span class="preprocessor">#endif</span></div>
9 years ago
<div class="ttc" id="std_8h_html_a43d4a0b214d7948a4ba43696b9dd9f4d"><div class="ttname"><a href="std_8h.html#a43d4a0b214d7948a4ba43696b9dd9f4d">Log</a></div><div class="ttdeci">void Log(std::string)</div><div class="ttdef"><b>Definition:</b> <a href="std_8cc_source.html#l00091">std.cc:91</a></div></div>
<div class="ttc" id="std_8h_html_a5fbfbda033e5ed44376f04e10ee1398d"><div class="ttname"><a href="std_8h.html#a5fbfbda033e5ed44376f04e10ee1398d">stof</a></div><div class="ttdeci">float stof(std::string)</div><div class="ttdef"><b>Definition:</b> <a href="std_8cc_source.html#l00059">std.cc:59</a></div></div>
<div class="ttc" id="std_8h_html_ac4b125d7c350b2302931e3555ab389fc"><div class="ttname"><a href="std_8h.html#ac4b125d7c350b2302931e3555ab389fc">gethome</a></div><div class="ttdeci">std::string gethome()</div><div class="ttdef"><b>Definition:</b> <a href="std_8cc_source.html#l00080">std.cc:80</a></div></div>
<div class="ttc" id="std_8h_html_a2834615d491c11fba337095447f25886"><div class="ttname"><a href="std_8h.html#a2834615d491c11fba337095447f25886">uint64</a></div><div class="ttdeci">unsigned long long int uint64</div><div class="ttdef"><b>Definition:</b> <a href="std_8h_source.html#l00012">std.h:12</a></div></div>
<div class="ttc" id="std_8h_html_a1fd2890e4baae769302e1537f7b6f90c"><div class="ttname"><a href="std_8h.html#a1fd2890e4baae769302e1537f7b6f90c">trim</a></div><div class="ttdeci">std::string trim(const std::string &amp;)</div><div class="ttdef"><b>Definition:</b> <a href="std_8cc_source.html#l00067">std.cc:67</a></div></div>
<div class="ttc" id="std_8h_html_a03845e6551d4ffa438067407dc862ae7"><div class="ttname"><a href="std_8h.html#a03845e6551d4ffa438067407dc862ae7">stoi</a></div><div class="ttdeci">uint64 stoi(std::string)</div><div class="ttdef"><b>Definition:</b> <a href="std_8cc_source.html#l00011">std.cc:11</a></div></div>
<div class="ttc" id="std_8h_html_a9362a88e9b672f9ec4431f148e0198e0"><div class="ttname"><a href="std_8h.html#a9362a88e9b672f9ec4431f148e0198e0">currentDate</a></div><div class="ttdeci">std::string currentDate()</div><div class="ttdef"><b>Definition:</b> <a href="std_8cc_source.html#l00030">std.cc:30</a></div></div>
<div class="ttc" id="std_8h_html_ab759d0531efcdac4d10c966f785d200a"><div class="ttname"><a href="std_8h.html#ab759d0531efcdac4d10c966f785d200a">itos</a></div><div class="ttdeci">std::string itos(uint64)</div><div class="ttdef"><b>Definition:</b> <a href="std_8cc_source.html#l00025">std.cc:25</a></div></div>
<div class="ttc" id="std_8h_html_a283fc24c6ba72b945193ea6994256667"><div class="ttname"><a href="std_8h.html#a283fc24c6ba72b945193ea6994256667">split</a></div><div class="ttdeci">std::vector&lt; std::string &gt; split(const std::string &amp;text, char sep= ' ')</div><div class="ttdef"><b>Definition:</b> <a href="std_8cc_source.html#l00042">std.cc:42</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
8 years ago
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="std_8h.html">std.h</a></li>
<li class="footer">Generated on Wed Jun 7 2017 20:28:17 for LibTgBotPP by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.6 </li>
</ul>
</div>
</body>
</html>