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.

348 lines
16 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 File Reference</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.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="summary">
<a href="#define-members">Macros</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#func-members">Functions</a> </div>
<div class="headertitle">
<div class="title">std.h File Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;ios&gt;</code><br/>
<code>#include &lt;sstream&gt;</code><br/>
<code>#include &lt;string&gt;</code><br/>
<code>#include &lt;vector&gt;</code><br/>
</div>
<p><a href="std_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:a0d2f37137ee1fd6ff4a0ef803849dd63"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="std_8h.html#a0d2f37137ee1fd6ff4a0ef803849dd63">SSTR</a>(x)&#160;&#160;&#160;static_cast&lt; std::ostringstream &amp; &gt;(( std::ostringstream() &lt;&lt; std::dec &lt;&lt; x ) ).str()</td></tr>
<tr class="separator:a0d2f37137ee1fd6ff4a0ef803849dd63"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:a2834615d491c11fba337095447f25886"><td class="memItemLeft" align="right" valign="top">typedef unsigned long long int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="std_8h.html#a2834615d491c11fba337095447f25886">uint64</a></td></tr>
<tr class="separator:a2834615d491c11fba337095447f25886"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a03845e6551d4ffa438067407dc862ae7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="std_8h.html#a2834615d491c11fba337095447f25886">uint64</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="std_8h.html#a03845e6551d4ffa438067407dc862ae7">stoi</a> (std::string)</td></tr>
<tr class="separator:a03845e6551d4ffa438067407dc862ae7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab759d0531efcdac4d10c966f785d200a"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="std_8h.html#ab759d0531efcdac4d10c966f785d200a">itos</a> (<a class="el" href="std_8h.html#a2834615d491c11fba337095447f25886">uint64</a>)</td></tr>
<tr class="separator:ab759d0531efcdac4d10c966f785d200a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9362a88e9b672f9ec4431f148e0198e0"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="std_8h.html#a9362a88e9b672f9ec4431f148e0198e0">currentDate</a> ()</td></tr>
<tr class="separator:a9362a88e9b672f9ec4431f148e0198e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a283fc24c6ba72b945193ea6994256667"><td class="memItemLeft" align="right" valign="top">std::vector&lt; std::string &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="std_8h.html#a283fc24c6ba72b945193ea6994256667">split</a> (const std::string &amp;text, char sep= ' ')</td></tr>
<tr class="separator:a283fc24c6ba72b945193ea6994256667"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5fbfbda033e5ed44376f04e10ee1398d"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="std_8h.html#a5fbfbda033e5ed44376f04e10ee1398d">stof</a> (std::string)</td></tr>
<tr class="separator:a5fbfbda033e5ed44376f04e10ee1398d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1fd2890e4baae769302e1537f7b6f90c"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="std_8h.html#a1fd2890e4baae769302e1537f7b6f90c">trim</a> (const std::string &amp;)</td></tr>
<tr class="separator:a1fd2890e4baae769302e1537f7b6f90c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac4b125d7c350b2302931e3555ab389fc"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="std_8h.html#ac4b125d7c350b2302931e3555ab389fc">gethome</a> ()</td></tr>
<tr class="separator:ac4b125d7c350b2302931e3555ab389fc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a43d4a0b214d7948a4ba43696b9dd9f4d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="std_8h.html#a43d4a0b214d7948a4ba43696b9dd9f4d">Log</a> (std::string)</td></tr>
<tr class="separator:a43d4a0b214d7948a4ba43696b9dd9f4d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a class="anchor" id="a0d2f37137ee1fd6ff4a0ef803849dd63"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define SSTR</td>
<td>(</td>
<td class="paramtype">&#160;</td>
<td class="paramname">x</td><td>)</td>
<td>&#160;&#160;&#160;static_cast&lt; std::ostringstream &amp; &gt;(( std::ostringstream() &lt;&lt; std::dec &lt;&lt; x ) ).str()</td>
</tr>
</table>
</div><div class="memdoc">
9 years ago
<p>Definition at line <a class="el" href="std_8h_source.html#l00010">10</a> of file <a class="el" href="std_8h_source.html">std.h</a>.</p>
</div>
</div>
<h2 class="groupheader">Typedef Documentation</h2>
<a class="anchor" id="a2834615d491c11fba337095447f25886"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef unsigned long long int <a class="el" href="std_8h.html#a2834615d491c11fba337095447f25886">uint64</a></td>
</tr>
</table>
</div><div class="memdoc">
9 years ago
<p>Definition at line <a class="el" href="std_8h_source.html#l00012">12</a> of file <a class="el" href="std_8h_source.html">std.h</a>.</p>
</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="a9362a88e9b672f9ec4431f148e0198e0"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">std::string currentDate </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
9 years ago
<p>Definition at line <a class="el" href="std_8cc_source.html#l00030">30</a> of file <a class="el" href="std_8cc_source.html">std.cc</a>.</p>
</div>
</div>
<a class="anchor" id="ac4b125d7c350b2302931e3555ab389fc"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">std::string gethome </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
9 years ago
<p>Definition at line <a class="el" href="std_8cc_source.html#l00080">80</a> of file <a class="el" href="std_8cc_source.html">std.cc</a>.</p>
</div>
</div>
<a class="anchor" id="ab759d0531efcdac4d10c966f785d200a"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">std::string itos </td>
<td>(</td>
<td class="paramtype"><a class="el" href="std_8h.html#a2834615d491c11fba337095447f25886">uint64</a>&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
9 years ago
<p>Definition at line <a class="el" href="std_8cc_source.html#l00025">25</a> of file <a class="el" href="std_8cc_source.html">std.cc</a>.</p>
</div>
</div>
<a class="anchor" id="a43d4a0b214d7948a4ba43696b9dd9f4d"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Log </td>
<td>(</td>
<td class="paramtype">std::string&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
9 years ago
<p>Definition at line <a class="el" href="std_8cc_source.html#l00091">91</a> of file <a class="el" href="std_8cc_source.html">std.cc</a>.</p>
</div>
</div>
<a class="anchor" id="a283fc24c6ba72b945193ea6994256667"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">std::vector&lt;std::string&gt; split </td>
<td>(</td>
<td class="paramtype">const std::string &amp;&#160;</td>
<td class="paramname"><em>text</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">char&#160;</td>
<td class="paramname"><em>sep</em> = <code>'&#160;'</code>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
9 years ago
<p>Definition at line <a class="el" href="std_8cc_source.html#l00042">42</a> of file <a class="el" href="std_8cc_source.html">std.cc</a>.</p>
</div>
</div>
<a class="anchor" id="a5fbfbda033e5ed44376f04e10ee1398d"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">float stof </td>
<td>(</td>
<td class="paramtype">std::string&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
9 years ago
<p>Definition at line <a class="el" href="std_8cc_source.html#l00059">59</a> of file <a class="el" href="std_8cc_source.html">std.cc</a>.</p>
</div>
</div>
<a class="anchor" id="a03845e6551d4ffa438067407dc862ae7"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="std_8h.html#a2834615d491c11fba337095447f25886">uint64</a> stoi </td>
<td>(</td>
<td class="paramtype">std::string&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
9 years ago
<p>Definition at line <a class="el" href="std_8cc_source.html#l00011">11</a> of file <a class="el" href="std_8cc_source.html">std.cc</a>.</p>
</div>
</div>
<a class="anchor" id="a1fd2890e4baae769302e1537f7b6f90c"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">std::string trim </td>
<td>(</td>
<td class="paramtype">const std::string &amp;&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
9 years ago
<p>Definition at line <a class="el" href="std_8cc_source.html#l00067">67</a> of file <a class="el" href="std_8cc_source.html">std.cc</a>.</p>
</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
9 years ago
<li class="navelem"><a class="el" href="dir_8eb10e03c11ffa27f12b298464ec3629.html">src</a></li><li class="navelem"><a class="el" href="std_8h.html">std.h</a></li>
<li class="footer">Generated on Tue May 3 2016 09:46:46 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>