Menu

[r1519]: / cppdb / trunk / utils.h  Maximize  Restore  History

Download this file

19 lines (17 with data), 424 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
#ifndef CPPDB_UTIL_H
#define CPPDB_UTIL_H
#include <string>
#include <ctime>
#include <map>
namespace cppdb {
std::tm parse_time(char const *value);
std::string format_time(std::tm const &v);
inline std::tm parse_time(std::string const &v)
{
return parse_time(v.c_str());
}
void parse_connection_string( std::string const &cs,
std::string &driver_name,
std::map<std::string,std::string> &props);
}
#endif
MongoDB Logo MongoDB