Bites
A small library of miscellaneous C++ codes.
 All Classes Namespaces Functions Friends Pages
String.hpp
1 #ifndef BITES_STRING_HPP_INCLUDED
2 #define BITES_STRING_HPP_INCLUDED
3 
4 #include <chrono>
5 #include <string>
6 #include <vector>
7 #include <boost/filesystem.hpp>
8 
14 namespace bites {
15 
21 std::string time2string(
22  const std::chrono::time_point<std::chrono::high_resolution_clock>& given_time,
23  const std::string& format);
24 
32 std::vector<std::string> time2levels(
33  const std::chrono::time_point <std::chrono::high_resolution_clock>&);
34 
39 boost::filesystem::path time2dir(
40  const std::chrono::time_point <std::chrono::high_resolution_clock>&);
41 
42 } // namespace bites.
43 
44 #endif // BITES_STRING_HPP_INCLUDED
boost::filesystem::path time2dir(const std::chrono::time_point< std::chrono::high_resolution_clock > &)
Definition: String.cpp:60
std::vector< std::string > time2levels(const std::chrono::time_point< std::chrono::high_resolution_clock > &)
Definition: String.cpp:47
std::string time2string(const std::chrono::time_point< std::chrono::high_resolution_clock > &given_time, const std::string &format)
Definition: String.cpp:15