$search

database_interface::DBStreamable< T > Struct Template Reference

#include <db_field.h>

List of all members.

Static Public Member Functions

static bool streamableFromString (T &data, const std::string &str)
 Helper function for converting a string to a datatype through the STL istream operator >>
static bool streamableToString (const T &data, std::string &str)
 Helper function for converting a datatype to a string through the STL ostream operator <<.

Detailed Description

template<typename T>
struct database_interface::DBStreamable< T >

Definition at line 218 of file db_field.h.


Member Function Documentation

template<typename T >
static bool database_interface::DBStreamable< T >::streamableFromString ( T &  data,
const std::string &  str 
) [inline, static]

Helper function for converting a string to a datatype through the STL istream operator >>

Definition at line 221 of file db_field.h.

template<typename T >
static bool database_interface::DBStreamable< T >::streamableToString ( const T &  data,
std::string &  str 
) [inline, static]

Helper function for converting a datatype to a string through the STL ostream operator <<.

Definition at line 228 of file db_field.h.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends


database_interface
Author(s): Matei Ciocarlie and Lorenz Mosenlechner
autogenerated on Wed Jan 16 12:14:42 2013