#include <stdio.h>
#include <vector>
#include <map>
#include <string>
#include <sstream>
#include <iostream>
#include <iomanip>
#include <boost/format.hpp>
#include <cstring>
Go to the source code of this file.
Classes | |
class | database_interface::DBField< T > |
The base class for a usable DBField. More... | |
class | database_interface::DBField< bool > |
Specialized version for the bool data type, converts to / from string as SQL expects it. More... | |
class | database_interface::DBField< std::string > |
Specialized version for std::string data type, trivial conversion to/from string. More... | |
class | database_interface::DBField< std::vector< char > > |
Specialized version for std::vector<char>, the ONLY datatype that provides binary conversion. More... | |
class | database_interface::DBField< std::vector< std::string > > |
Specialized version for std::vector<std::string> More... | |
class | database_interface::DBFieldBase |
The base class for a field of a class stored in the database, corresponding to a column in a table. More... | |
class | database_interface::DBFieldData< T > |
A DBFieldBase that also contains data and perform implicit conversion to and from string. More... | |
struct | database_interface::DBStreamable< T > |
struct | database_interface::DBStreamable< double > |
Namespaces | |
namespace | database_interface |
Functions | |
template<class V > | |
std::ostream & | database_interface::operator<< (std::ostream &str, const std::vector< V > &vec) |
Streaming of a vector into a string in accordance to database formatting. | |
template<class V > | |
std::istream & | database_interface::operator>> (std::istream &iss, std::vector< V > &vec) |
Streaming of a vector from a string in accordance to database formatting. |