- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

Classes | Functions
vallist.h File Reference

Declares templates for holding lists of values. More...

`#include "manip.h"`
`#include <string>`
`#include <vector>`

Go to the source code of this file.

## Classes
struct | mysqlpp::equal_list_ba< Seq1, Seq2, Manip >
| Holds two lists of items, typically used to construct a SQL "equals clause". More...
struct | mysqlpp::equal_list_b< Seq1, Seq2, Manip >
| Same as equal_list_ba, plus the option to have some elements of the equals clause suppressed. More...
struct | mysqlpp::value_list_ba< Seq, Manip >
| Holds a list of items, typically used to construct a SQL "value list". More...
struct | mysqlpp::value_list_b< Seq, Manip >
| Same as value_list_ba, plus the option to have some elements of the list suppressed. More...

## Functions
template<class Seq1 , class Seq2 , class Manip >
std::ostream & | mysqlpp::operator<< (std::ostream &o, const equal_list_ba< Seq1, Seq2, Manip > &el)
| Inserts an equal_list_ba into an std::ostream. More...
template<class Seq1 , class Seq2 , class Manip >
std::ostream & | mysqlpp::operator<< (std::ostream &o, const equal_list_b< Seq1, Seq2, Manip > &el)
| Same as operator<< for equal_list_ba, plus the option to suppress insertion of some list items in the stream. More...
template<class Seq , class Manip >
std::ostream & | mysqlpp::operator<< (std::ostream &o, const value_list_ba< Seq, Manip > &cl)
| Inserts a value_list_ba into an std::ostream. More...
template<class Seq , class Manip >
std::ostream & | mysqlpp::operator<< (std::ostream &o, const value_list_b< Seq, Manip > &cl)
| Same as operator<< for value_list_ba, plus the option to suppress insertion of some list items in the stream. More...
void | mysqlpp::create_vector (size_t size, std::vector< bool > &v, bool t0, bool t1=false, bool t2=false, bool t3=false, bool t4=false, bool t5=false, bool t6=false, bool t7=false, bool t8=false, bool t9=false, bool ta=false, bool tb=false, bool tc=false)
| Create a vector of bool with the given arguments as values. More...
template<class Container >
void | mysqlpp::create_vector (const Container &c, std::vector< bool > &v, std::string s0, std::string s1, std::string s2, std::string s3, std::string s4, std::string s5, std::string s6, std::string s7, std::string s8, std::string s9, std::string sa, std::string sb, std::string sc)
| Create a vector of bool using a list of named fields. More...
template<class Seq >
value_list_ba< Seq, do_nothing_type0 > | mysqlpp::value_list (const Seq &s, const char *d=",")
| Constructs a value_list_ba. More...
template<class Seq , class Manip >
value_list_ba< Seq, Manip > | mysqlpp::value_list (const Seq &s, const char *d, Manip m)
| Constructs a value_list_ba. More...
template<class Seq , class Manip >
value_list_b< Seq, Manip > | mysqlpp::value_list (const Seq &s, const char *d, Manip m, const std::vector< bool > &vb)
| Constructs a value_list_b (sparse value list) More...
template<class Seq , class Manip >
value_list_b< Seq, Manip > | mysqlpp::value_list (const Seq &s, const char *d, Manip m, bool t0, bool t1=false, bool t2=false, bool t3=false, bool t4=false, bool t5=false, bool t6=false, bool t7=false, bool t8=false, bool t9=false, bool ta=false, bool tb=false, bool tc=false)
| Constructs a value_list_b (sparse value list) More...
template<class Seq >
value_list_b< Seq, do_nothing_type0 > | mysqlpp::value_list (const Seq &s, const char *d, bool t0, bool t1=false, bool t2=false, bool t3=false, bool t4=false, bool t5=false, bool t6=false, bool t7=false, bool t8=false, bool t9=false, bool ta=false, bool tb=false, bool tc=false)
| Constructs a sparse value list. More...
template<class Seq >
value_list_b< Seq, do_nothing_type0 > | mysqlpp::value_list (const Seq &s, bool t0, bool t1=false, bool t2=false, bool t3=false, bool t4=false, bool t5=false, bool t6=false, bool t7=false, bool t8=false, bool t9=false, bool ta=false, bool tb=false, bool tc=false)
| Constructs a sparse value list. More...
template<class Seq1 , class Seq2 >
equal_list_ba< Seq1, Seq2, do_nothing_type0 > | mysqlpp::equal_list (const Seq1 &s1, const Seq2 &s2, const char *d=",", const char *e=" = ")
| Constructs an equal_list_ba. More...
template<class Seq1 , class Seq2 , class Manip >
equal_list_ba< Seq1, Seq2, Manip > | mysqlpp::equal_list (const Seq1 &s1, const Seq2 &s2, const char *d, const char *e, Manip m)
| Constructs an equal_list_ba. More...
template<class Seq1 , class Seq2 , class Manip >
equal_list_b< Seq1, Seq2, Manip > | mysqlpp::equal_list (const Seq1 &s1, const Seq2 &s2, const char *d, const char *e, Manip m, const std::vector< bool > &vb)
| Constructs a equal_list_b (sparse equal list) More...
template<class Seq1 , class Seq2 , class Manip >
equal_list_b< Seq1, Seq2, Manip > | mysqlpp::equal_list (const Seq1 &s1, const Seq2 &s2, const char *d, const char *e, Manip m, bool t0, bool t1=false, bool t2=false, bool t3=false, bool t4=false, bool t5=false, bool t6=false, bool t7=false, bool t8=false, bool t9=false, bool ta=false, bool tb=false, bool tc=false)
| Constructs a equal_list_b (sparse equal list) More...
template<class Seq1 , class Seq2 >
equal_list_b< Seq1, Seq2, do_nothing_type0 > | mysqlpp::equal_list (const Seq1 &s1, const Seq2 &s2, const char *d, const char *e, bool t0, bool t1=false, bool t2=false, bool t3=false, bool t4=false, bool t5=false, bool t6=false, bool t7=false, bool t8=false, bool t9=false, bool ta=false, bool tb=false, bool tc=false)
| Constructs a equal_list_b (sparse equal list) More...
template<class Seq1 , class Seq2 >
equal_list_b< Seq1, Seq2, do_nothing_type0 > | mysqlpp::equal_list (const Seq1 &s1, const Seq2 &s2, const char *d, bool t0, bool t1=false, bool t2=false, bool t3=false, bool t4=false, bool t5=false, bool t6=false, bool t7=false, bool t8=false, bool t9=false, bool ta=false, bool tb=false, bool tc=false)
| Constructs a equal_list_b (sparse equal list) More...
template<class Seq1 , class Seq2 >
equal_list_b< Seq1, Seq2, do_nothing_type0 > | mysqlpp::equal_list (const Seq1 &s1, const Seq2 &s2, bool t0, bool t1=false, bool t2=false, bool t3=false, bool t4=false, bool t5=false, bool t6=false, bool t7=false, bool t8=false, bool t9=false, bool ta=false, bool tb=false, bool tc=false)
| Constructs a equal_list_b (sparse equal list) More...

## Detailed Description

Declares templates for holding lists of values.