TM2IN  0.5.1
/home/dongmin/dev/TriMeshToIndoor/TriangleMeshToClearSolid/util.h
Go to the documentation of this file.
1 #ifndef UTIL_H_INCLUDED
2 #define UTIL_H_INCLUDED
3 
4 #include <string>
5 #include <sstream>
6 #include <vector>
7 #include <utility>
8 
9 #include <iostream>
10 #include <fstream>
11 #include <boost/filesystem.hpp>
12 #include <map>
13 #include <string>
14 
15 typedef long long ll;
16 typedef unsigned long long ull;
17 typedef std::vector<std::pair<ll,ll>> vll;
18 
19 std::vector<std::string> split(const std::string &s, char delim);
20 
21 template<typename Out>
22 void split(const std::string &s, char delim, Out result);
23 void printProcess(ull index, ull size, std::string str);
24 void removeFilesInDirectory(std::string path);
25 void createAndRemoveDir();
26 
27 
28 #endif // UTIL_H_INCLUDED
unsigned long long ull
Definition: util.h:16
void createAndRemoveDir()
Definition: util.cpp:44
void removeFilesInDirectory(std::string path)
Definition: util.cpp:30
void printProcess(ull index, ull size, std::string str)
Definition: util.cpp:26
long long ll
Definition: util.h:15
std::vector< std::string > split(const std::string &s, char delim)
Definition: util.cpp:20
std::vector< std::pair< ll, ll > > vll
Definition: util.h:17