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
|
<!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><a href="annotated.html"><span>Classes</span></a></li>
<li id="current"><a href="files.html"><span>Files</span></a></li>
</ul></div>
<div class="tabs">
<ul>
<li><a href="files.html"><span>File List</span></a></li>
<li><a href="globals.html"><span>File Members</span></a></li>
</ul></div>
<h1>null.h File Reference</h1>Declares classes that implement SQL "null" semantics within C++'s type system. <a href="#_details">More...</a>
<p>
<code>#include "<a class="el" href="exceptions_8h-source.html">exceptions.h</a>"</code><br>
<code>#include <iostream></code><br>
<code>#include <string></code><br>
<p>
<a href="null_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Namespaces</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">namespace </td><td class="memItemRight" valign="bottom"><b>mysqlpp</b></td></tr>
<tr><td colspan="2"><br><h2>Classes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1null__type.html">mysqlpp::null_type</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">The type of the global mysqlpp::null object. <a href="classmysqlpp_1_1null__type.html#_details">More...</a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structmysqlpp_1_1NullIsNull.html">mysqlpp::NullIsNull</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Class for objects that define SQL null in terms of MySQL++'s <a class="el" href="classmysqlpp_1_1null__type.html">null_type</a>. <a href="structmysqlpp_1_1NullIsNull.html#_details">More...</a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structmysqlpp_1_1NullIsZero.html">mysqlpp::NullIsZero</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Class for objects that define SQL null as 0. <a href="structmysqlpp_1_1NullIsZero.html#_details">More...</a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structmysqlpp_1_1NullIsBlank.html">mysqlpp::NullIsBlank</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Class for objects that define SQL null as a blank C string. <a href="structmysqlpp_1_1NullIsBlank.html#_details">More...</a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1Null.html">mysqlpp::Null< Type, Behavior ></a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Class for holding data from a SQL column with the NULL attribute. <a href="classmysqlpp_1_1Null.html#_details">More...</a><br></td></tr>
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
<tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="4424fb57a1eb0d512118ba51913f90c4"></a><!-- doxytag: member="null.h::operator<<" ref="4424fb57a1eb0d512118ba51913f90c4" args="(std::ostream &o, const Null< Type, Behavior > &n)" -->
template<class Type, class Behavior> </td></tr>
<tr><td class="memTemplItemLeft" nowrap align="right" valign="top">std::ostream & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacemysqlpp.html#4424fb57a1eb0d512118ba51913f90c4">mysqlpp::operator<<</a> (std::ostream &o, const Null< Type, Behavior > &n)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Inserts null-able data into a C++ stream if it is not actually null. Otherwise, insert something appropriate for null data. <br></td></tr>
<tr><td colspan="2"><br><h2>Variables</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="fe6d3a4c5d24603fa2bde1a36fbc6b86"></a><!-- doxytag: member="null.h::null_str" ref="fe6d3a4c5d24603fa2bde1a36fbc6b86" args="" -->
const std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemysqlpp.html#fe6d3a4c5d24603fa2bde1a36fbc6b86">mysqlpp::null_str</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">"NULL" string constant <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">const null_type </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemysqlpp.html#1a8f2c546401c800672ddcc7fc9abd62">mysqlpp::null</a> = null_type()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Global 'null' instance. Use wherever you need a SQL null. <a href="#1a8f2c546401c800672ddcc7fc9abd62"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Declares classes that implement SQL "null" semantics within C++'s type system.
<p>
This is required because C++'s own NULL type is not semantically the same as SQL nulls. <hr size="1"><address style="align: right;"><small>Generated on Wed Feb 4 14:42:56 2009 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>
|