|
|
|
<!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"/>
|
|
|
|
<title>LibTgBotPP: std.cc 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 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 List</span></a></li>
|
|
|
|
<li><a href="globals.html"><span>File 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_8cc.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"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </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="#func-members">Functions</a> </div>
|
|
|
|
<div class="headertitle">
|
|
|
|
<div class="title">std.cc File Reference</div> </div>
|
|
|
|
</div><!--header-->
|
|
|
|
<div class="contents">
|
|
|
|
<div class="textblock"><code>#include "<a class="el" href="std_8h_source.html">std.h</a>"</code><br/>
|
|
|
|
<code>#include <pwd.h></code><br/>
|
|
|
|
<code>#include <time.h></code><br/>
|
|
|
|
<code>#include <unistd.h></code><br/>
|
|
|
|
<code>#include <algorithm></code><br/>
|
|
|
|
<code>#include <fstream></code><br/>
|
|
|
|
<code>#include <sstream></code><br/>
|
|
|
|
</div>
|
|
|
|
<p><a href="std_8cc_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="func-members"></a>
|
|
|
|
Functions</h2></td></tr>
|
|
|
|
<tr class="memitem:a9637d86cdcad5363e2b2cc4cdc5af182"><td class="memItemLeft" align="right" valign="top"><a class="el" href="std_8h.html#a2834615d491c11fba337095447f25886">uint64</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="std_8cc.html#a9637d86cdcad5363e2b2cc4cdc5af182">stoi</a> (std::string st)</td></tr>
|
|
|
|
<tr class="separator:a9637d86cdcad5363e2b2cc4cdc5af182"><td class="memSeparator" colspan="2"> </td></tr>
|
|
|
|
<tr class="memitem:a230811235a7175a778aae192178288b9"><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="std_8cc.html#a230811235a7175a778aae192178288b9">itos</a> (<a class="el" href="std_8h.html#a2834615d491c11fba337095447f25886">uint64</a> i)</td></tr>
|
|
|
|
<tr class="separator:a230811235a7175a778aae192178288b9"><td class="memSeparator" colspan="2"> </td></tr>
|
|
|
|
<tr class="memitem:a9362a88e9b672f9ec4431f148e0198e0"><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="std_8cc.html#a9362a88e9b672f9ec4431f148e0198e0">currentDate</a> ()</td></tr>
|
|
|
|
<tr class="separator:a9362a88e9b672f9ec4431f148e0198e0"><td class="memSeparator" colspan="2"> </td></tr>
|
|
|
|
<tr class="memitem:ae7427d6dcae9b9190db26d2e1b6700af"><td class="memItemLeft" align="right" valign="top">std::vector< std::string > </td><td class="memItemRight" valign="bottom"><a class="el" href="std_8cc.html#ae7427d6dcae9b9190db26d2e1b6700af">split</a> (const std::string &text, char sep)</td></tr>
|
|
|
|
<tr class="separator:ae7427d6dcae9b9190db26d2e1b6700af"><td class="memSeparator" colspan="2"> </td></tr>
|
|
|
|
<tr class="memitem:ae18e39c996053e1ded0c8d88a8f40460"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="std_8cc.html#ae18e39c996053e1ded0c8d88a8f40460">stof</a> (std::string st)</td></tr>
|
|
|
|
<tr class="separator:ae18e39c996053e1ded0c8d88a8f40460"><td class="memSeparator" colspan="2"> </td></tr>
|
|
|
|
<tr class="memitem:a1a32c4d3bd87256731e67936766c65ca"><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="std_8cc.html#a1a32c4d3bd87256731e67936766c65ca">trim</a> (const std::string &s)</td></tr>
|
|
|
|
<tr class="separator:a1a32c4d3bd87256731e67936766c65ca"><td class="memSeparator" colspan="2"> </td></tr>
|
|
|
|
<tr class="memitem:ac4b125d7c350b2302931e3555ab389fc"><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="std_8cc.html#ac4b125d7c350b2302931e3555ab389fc">gethome</a> ()</td></tr>
|
|
|
|
<tr class="separator:ac4b125d7c350b2302931e3555ab389fc"><td class="memSeparator" colspan="2"> </td></tr>
|
|
|
|
<tr class="memitem:a55fa50be9360d756a7cf448d7e9e0cc9"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="std_8cc.html#a55fa50be9360d756a7cf448d7e9e0cc9">Log</a> (std::string msg)</td></tr>
|
|
|
|
<tr class="separator:a55fa50be9360d756a7cf448d7e9e0cc9"><td class="memSeparator" colspan="2"> </td></tr>
|
|
|
|
</table>
|
|
|
|
<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">
|
|
|
|
|
|
|
|
<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">
|
|
|
|
|
|
|
|
<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="a230811235a7175a778aae192178288b9"></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> </td>
|
|
|
|
<td class="paramname"><em>i</em></td><td>)</td>
|
|
|
|
<td></td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</div><div class="memdoc">
|
|
|
|
|
|
|
|
<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="a55fa50be9360d756a7cf448d7e9e0cc9"></a>
|
|
|
|
<div class="memitem">
|
|
|
|
<div class="memproto">
|
|
|
|
<table class="memname">
|
|
|
|
<tr>
|
|
|
|
<td class="memname">void Log </td>
|
|
|
|
<td>(</td>
|
|
|
|
<td class="paramtype">std::string </td>
|
|
|
|
<td class="paramname"><em>msg</em></td><td>)</td>
|
|
|
|
<td></td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</div><div class="memdoc">
|
|
|
|
|
|
|
|
<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="ae7427d6dcae9b9190db26d2e1b6700af"></a>
|
|
|
|
<div class="memitem">
|
|
|
|
<div class="memproto">
|
|
|
|
<table class="memname">
|
|
|
|
<tr>
|
|
|
|
<td class="memname">std::vector<std::string> split </td>
|
|
|
|
<td>(</td>
|
|
|
|
<td class="paramtype">const std::string & </td>
|
|
|
|
<td class="paramname"><em>text</em>, </td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="paramkey"></td>
|
|
|
|
<td></td>
|
|
|
|
<td class="paramtype">char </td>
|
|
|
|
<td class="paramname"><em>sep</em> </td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td></td>
|
|
|
|
<td>)</td>
|
|
|
|
<td></td><td></td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</div><div class="memdoc">
|
|
|
|
|
|
|
|
<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="ae18e39c996053e1ded0c8d88a8f40460"></a>
|
|
|
|
<div class="memitem">
|
|
|
|
<div class="memproto">
|
|
|
|
<table class="memname">
|
|
|
|
<tr>
|
|
|
|
<td class="memname">float stof </td>
|
|
|
|
<td>(</td>
|
|
|
|
<td class="paramtype">std::string </td>
|
|
|
|
<td class="paramname"><em>st</em></td><td>)</td>
|
|
|
|
<td></td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</div><div class="memdoc">
|
|
|
|
|
|
|
|
<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="a9637d86cdcad5363e2b2cc4cdc5af182"></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 </td>
|
|
|
|
<td class="paramname"><em>st</em></td><td>)</td>
|
|
|
|
<td></td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</div><div class="memdoc">
|
|
|
|
|
|
|
|
<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="a1a32c4d3bd87256731e67936766c65ca"></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 & </td>
|
|
|
|
<td class="paramname"><em>s</em></td><td>)</td>
|
|
|
|
<td></td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</div><div class="memdoc">
|
|
|
|
|
|
|
|
<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>
|
|
|
|
<li class="navelem"><a class="el" href="dir_8eb10e03c11ffa27f12b298464ec3629.html">src</a></li><li class="navelem"><a class="el" href="std_8cc.html">std.cc</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>
|