LibTgBotPP
 All Classes Namespaces Files Functions Variables Typedefs Macros
std.h
Go to the documentation of this file.
1 #ifndef __STD_H__
2 #define __STD_H__
3 
4 #include <ios>
5 #include <sstream>
6 #include <string>
7 #include <vector>
8 
9 // Makro(s)
10 #define SSTR( x ) static_cast< std::ostringstream & >(( std::ostringstream() << std::dec << x ) ).str()
11 
12 typedef unsigned long long int uint64;
13 
14 uint64 stoi(std::string);
15 std::string itos(uint64);
16 std::string currentDate();
17 std::vector<std::string> split(const std::string &text, char sep = ' ');
18 float stof(std::string);
19 std::string trim(const std::string&);
20 std::string gethome();
21 void Log(std::string);
22 
23 #endif
void Log(std::string)
Definition: std.cc:91
float stof(std::string)
Definition: std.cc:59
std::string gethome()
Definition: std.cc:80
unsigned long long int uint64
Definition: std.h:12
std::string trim(const std::string &)
Definition: std.cc:67
uint64 stoi(std::string)
Definition: std.cc:11
std::string currentDate()
Definition: std.cc:30
std::string itos(uint64)
Definition: std.cc:25
std::vector< std::string > split(const std::string &text, char sep= ' ')
Definition: std.cc:42