Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

null.h File Reference

Declares classes that implement SQL "null" semantics within C++'s type system. More...

#include "exceptions.h"
#include <iostream>

Include dependency graph for null.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Namespaces

namespace  mysqlpp

Classes

class  mysqlpp::null_type
 The type of the global mysqlpp::null object. More...
struct  mysqlpp::NullisNull
 Class for objects that define SQL null in terms of MySQL++'s null_type. More...
struct  mysqlpp::NullisZero
 Class for objects that define SQL null as 0. More...
struct  mysqlpp::NullisBlank
 Class for objects that define SQL null as a blank C string. More...
class  mysqlpp::Null< Type, Behavior >
 Class for holding data from a SQL column with the NULL attribute. More...

Functions

template<class Type, class Behavior>
std::ostream & operator<< (std::ostream &o, const Null< Type, Behavior > &n)
 Inserts null-able data into a C++ stream if it is not actually null. Otherwise, insert something appropriate for null data.

Variables

const null_type null = null_type()
 Global 'null' instance. Use wherever you need a SQL null. (As opposed to a C++ language null pointer or null character.).


Detailed Description

Declares classes that implement SQL "null" semantics within C++'s type system.

This is required because C++'s own NULL type is not semantically the same as SQL nulls.


Generated on Tue Aug 16 12:53:49 2005 for MySQL++ by  doxygen 1.3.9.1