1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>MySQL++ Reference Manual</title>
<meta http-equiv="Content-type" content="text/html;charset=iso-8859-1">
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="refman.css" rel="stylesheet" type="text/css">
</head>
<body>
<!-- Generated by Doxygen 1.4.7 -->
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main Page</span></a></li>
<li id="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
</ul></div>
<div class="tabs">
<ul>
<li><a href="annotated.html"><span>Class List</span></a></li>
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class Members</span></a></li>
</ul></div>
<div class="nav">
<b>mysqlpp</b>::<a class="el" href="structmysqlpp_1_1equal__list__b.html">equal_list_b</a></div>
<h1>mysqlpp::equal_list_b< Seq1, Seq2, Manip > Struct Template Reference</h1><!-- doxytag: class="mysqlpp::equal_list_b" -->Same as <a class="el" href="structmysqlpp_1_1equal__list__ba.html">equal_list_ba</a>, plus the option to have some elements of the equals clause suppressed.
<a href="#_details">More...</a>
<p>
<code>#include <<a class="el" href="vallist_8h-source.html">vallist.h</a>></code>
<p>
Collaboration diagram for mysqlpp::equal_list_b< Seq1, Seq2, Manip >:<p><center><img src="structmysqlpp_1_1equal__list__b__coll__graph.png" border="0" usemap="#mysqlpp_1_1equal__list__b_3_01Seq1_00_01Seq2_00_01Manip_01_4__coll__map" alt="Collaboration graph"></center>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="structmysqlpp_1_1equal__list__b-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="structmysqlpp_1_1equal__list__b.html#39f8de2a70484b8834f7dc8b78f49288">equal_list_b</a> (const Seq1 &s1, const Seq2 &s2, const std::vector< bool > &f, const char *d, const char *e, Manip m)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create object. <a href="#39f8de2a70484b8834f7dc8b78f49288"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7b24538643ef04ca3969f4597a2e9337"></a><!-- doxytag: member="mysqlpp::equal_list_b::list1" ref="7b24538643ef04ca3969f4597a2e9337" args="" -->
const Seq1 * </td><td class="memItemRight" valign="bottom"><a class="el" href="structmysqlpp_1_1equal__list__b.html#7b24538643ef04ca3969f4597a2e9337">list1</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">the list of objects on the left-hand side of the equals sign <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ce8b74187f066eba8ad90b46be681f6b"></a><!-- doxytag: member="mysqlpp::equal_list_b::list2" ref="ce8b74187f066eba8ad90b46be681f6b" args="" -->
const Seq2 * </td><td class="memItemRight" valign="bottom"><a class="el" href="structmysqlpp_1_1equal__list__b.html#ce8b74187f066eba8ad90b46be681f6b">list2</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">the list of objects on the right-hand side of the equals sign <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4b47050126de3e1afbc99cba2f4f37b6"></a><!-- doxytag: member="mysqlpp::equal_list_b::fields" ref="4b47050126de3e1afbc99cba2f4f37b6" args="" -->
const std::vector< bool > </td><td class="memItemRight" valign="bottom"><a class="el" href="structmysqlpp_1_1equal__list__b.html#4b47050126de3e1afbc99cba2f4f37b6">fields</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">for each true item in the list, the pair in that position will be inserted into a C++ stream <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="cc88d6a3d51f9e985641f3931a026c59"></a><!-- doxytag: member="mysqlpp::equal_list_b::delim" ref="cc88d6a3d51f9e985641f3931a026c59" args="" -->
const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="structmysqlpp_1_1equal__list__b.html#cc88d6a3d51f9e985641f3931a026c59">delim</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">delimiter to use between each pair of elements <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5092f431c71217200400c94eed206f6e"></a><!-- doxytag: member="mysqlpp::equal_list_b::equl" ref="5092f431c71217200400c94eed206f6e" args="" -->
const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="structmysqlpp_1_1equal__list__b.html#5092f431c71217200400c94eed206f6e">equl</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">"equal" sign to use between each item in each equal pair; doesn't have to actually be " = " <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0519c5d83b6ded32b258ff58d1972e38"></a><!-- doxytag: member="mysqlpp::equal_list_b::manip" ref="0519c5d83b6ded32b258ff58d1972e38" args="" -->
Manip </td><td class="memItemRight" valign="bottom"><a class="el" href="structmysqlpp_1_1equal__list__b.html#0519c5d83b6ded32b258ff58d1972e38">manip</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">manipulator to use when inserting the equal_list into a C++ stream <br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<h3>template<class Seq1, class Seq2, class Manip><br>
struct mysqlpp::equal_list_b< Seq1, Seq2, Manip ></h3>
Same as <a class="el" href="structmysqlpp_1_1equal__list__ba.html">equal_list_ba</a>, plus the option to have some elements of the equals clause suppressed.
<p>
Imagine an object of this type contains the lists (a, b, c) (d, e, f), that the object's 'fields' list is (true, false, true), and that the object's delimiter and equals symbols are set to " AND " and " = " respectively. When you insert that object into a C++ stream, you would get "a = d AND c = f".<p>
See equal_list_ba's documentation for more details.
<p>
<hr><h2>Constructor & Destructor Documentation</h2>
<a class="anchor" name="39f8de2a70484b8834f7dc8b78f49288"></a><!-- doxytag: member="mysqlpp::equal_list_b::equal_list_b" ref="39f8de2a70484b8834f7dc8b78f49288" args="(const Seq1 &s1, const Seq2 &s2, const std::vector< bool > &f, const char *d, const char *e, Manip m)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template<class Seq1, class Seq2, class Manip> </div>
<table class="memname">
<tr>
<td class="memname"><a class="el" href="structmysqlpp_1_1equal__list__b.html">mysqlpp::equal_list_b</a>< Seq1, Seq2, Manip >::<a class="el" href="structmysqlpp_1_1equal__list__b.html">equal_list_b</a> </td>
<td>(</td>
<td class="paramtype">const Seq1 & </td>
<td class="paramname"> <em>s1</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const Seq2 & </td>
<td class="paramname"> <em>s2</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const std::vector< bool > & </td>
<td class="paramname"> <em>f</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname"> <em>d</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname"> <em>e</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">Manip </td>
<td class="paramname"> <em>m</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Create object.
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>s1</em> </td><td>list of objects on left-hand side of equal sign </td></tr>
<tr><td valign="top"></td><td valign="top"><em>s2</em> </td><td>list of objects on right-hand side of equal sign </td></tr>
<tr><td valign="top"></td><td valign="top"><em>f</em> </td><td>for each true item in the list, the pair of items in that position will be inserted into a C++ stream </td></tr>
<tr><td valign="top"></td><td valign="top"><em>d</em> </td><td>what delimiter to use between each group in the list when inserting the list into a C++ stream </td></tr>
<tr><td valign="top"></td><td valign="top"><em>e</em> </td><td>the "equals" sign between each pair of items in the equal list; doesn't actually have to be " = "! </td></tr>
<tr><td valign="top"></td><td valign="top"><em>m</em> </td><td>manipulator to use when inserting the list into a C++ stream </td></tr>
</table>
</dl>
</div>
</div><p>
<hr>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="vallist_8h-source.html">vallist.h</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Fri Feb 29 16:26:51 2008 for MySQL++ by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.7 </small></address>
</body>
</html>
|