File: null_8h.html

package info (click to toggle)
mysql%2B%2B 3.0.0-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 10,328 kB
  • ctags: 9,487
  • sloc: cpp: 33,486; sh: 3,091; perl: 809; makefile: 683
file content (94 lines) | stat: -rw-r--r-- 7,228 bytes parent folder | download
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
<!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&nbsp;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&nbsp;List</span></a></li>
    <li><a href="globals.html"><span>File&nbsp;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 &quot;<a class="el" href="exceptions_8h-source.html">exceptions.h</a>&quot;</code><br>
<code>#include &lt;iostream&gt;</code><br>
<code>#include &lt;string&gt;</code><br>

<p>
Include dependency graph for null.h:<p><center><img src="null_8h__incl.png" border="0" usemap="#null.h_map" alt=""></center>
<map name="null.h_map">
<area href="exceptions_8h.html" shape="rect" coords="113,127,217,151" alt="">
<area href="options_8h.html" shape="rect" coords="269,52,352,76" alt="">
<area href="common_8h.html" shape="rect" coords="404,5,495,29" alt="">
</map>

<p>
This graph shows which files directly or indirectly include this file:<p><center><img src="null_8h__dep__incl.png" border="0" usemap="#null.hdep_map" alt=""></center>
<map name="null.hdep_map">
<area href="stadapter_8h.html" shape="rect" coords="253,56,349,80" alt="">
<area href="mystring_8h.html" shape="rect" coords="113,105,204,129" alt="">
<area href="qparms_8h.html" shape="rect" coords="524,5,607,29" alt="">
<area href="query_8h.html" shape="rect" coords="764,56,833,80" alt="">
<area href="manip_8h.html" shape="rect" coords="399,105,473,129" alt="">
<area href="mysql++_8h.html" shape="rect" coords="883,56,979,80" alt="">
<area href="vallist_8h.html" shape="rect" coords="529,105,601,129" alt="">
<area href="row_8h.html" shape="rect" coords="657,105,713,129" alt="">
<area href="myset_8h.html" shape="rect" coords="264,105,339,129" alt="">
</map>

<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 &nbsp;</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 &nbsp;</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">&nbsp;</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 &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structmysqlpp_1_1NullIsNull.html">mysqlpp::NullIsNull</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</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 &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structmysqlpp_1_1NullIsZero.html">mysqlpp::NullIsZero</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</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 &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structmysqlpp_1_1NullIsBlank.html">mysqlpp::NullIsBlank</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</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 &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1Null.html">mysqlpp::Null&lt; Type, Behavior &gt;</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</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&lt;&lt;" ref="4424fb57a1eb0d512118ba51913f90c4" args="(std::ostream &amp;o, const Null&lt; Type, Behavior &gt; &amp;n)" -->
template&lt;class Type, class Behavior&gt; </td></tr>
<tr><td class="memTemplItemLeft" nowrap align="right" valign="top">std::ostream &amp;&nbsp;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacemysqlpp.html#4424fb57a1eb0d512118ba51913f90c4">mysqlpp::operator&lt;&lt;</a> (std::ostream &amp;o, const Null&lt; Type, Behavior &gt; &amp;n)</td></tr>

<tr><td class="mdescLeft">&nbsp;</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&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemysqlpp.html#fe6d3a4c5d24603fa2bde1a36fbc6b86">mysqlpp::null_str</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">"NULL" string constant <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">const null_type&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemysqlpp.html#1a8f2c546401c800672ddcc7fc9abd62">mysqlpp::null</a> = null_type()</td></tr>

<tr><td class="mdescLeft">&nbsp;</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 Fri Feb 29 16:26:09 2008 for MySQL++ by&nbsp;
<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>