mysql++.h

Go to the documentation of this file.
00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 /***********************************************************************
00012  Copyright (c) 1998 by Kevin Atkinson, (c) 1999-2001 by MySQL AB, and
00013  (c) 2004-2010 by Educational Technology Resources, Inc.  Others may
00014  also hold copyrights on code in this file.  See the CREDITS.txt file
00015  in the top directory of the distribution for details.
00016 
00017  This file is part of MySQL++.
00018 
00019  MySQL++ is free software; you can redistribute it and/or modify it
00020  under the terms of the GNU Lesser General Public License as published
00021  by the Free Software Foundation; either version 2.1 of the License, or
00022  (at your option) any later version.
00023 
00024  MySQL++ is distributed in the hope that it will be useful, but WITHOUT
00025  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
00026  FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public
00027  License for more details.
00028 
00029  You should have received a copy of the GNU Lesser General Public
00030  License along with MySQL++; if not, write to the Free Software
00031  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301
00032  USA
00033 ***********************************************************************/
00034 
00035 #ifndef MYSQLPP_MYSQLPP_H
00036 #define MYSQLPP_MYSQLPP_H
00037 
00042 #define MYSQLPP_VERSION(major, minor, bugfix) \
00043                 (((major) << 16) | ((minor) << 8) | (bugfix))
00044 
00052 #define MYSQLPP_HEADER_VERSION MYSQLPP_VERSION(3, 2, 1)
00053 
00054 // This #include order gives the fewest redundancies in the #include
00055 // dependency chain.
00056 #include "connection.h"
00057 #include "cpool.h"
00058 #include "query.h"
00059 #include "scopedconnection.h"
00060 #include "sql_types.h"
00061 #include "transaction.h"
00062 
00063 namespace mysqlpp {
00064 
00072 MYSQLPP_EXPORT unsigned int get_library_version();
00073 
00074 // This won't exist forever!  Wean yourself away from these as soon as
00075 // you can!
00076 #if defined(MYSQLPP_OLD_CLASS_NAMES)
00077 #       define ColData String
00078 #       define NullisBlank NullIsBlank
00079 #       define NullisNull NullIsNull
00080 #       define NullisZero NullIsZero
00081 #       define ResNSel SimpleResult
00082 #       define Result StoreQueryResult
00083 #       define ResUse UseQueryResult
00084 #       define SQLString SQLTypeAdapter
00085 #endif
00086 
00087 } // end namespace mysqlpp
00088 
00089 #endif // !defined(MYSQLPP_MYSQLPP_H)
00090 
00091 

Generated on 10 Dec 2013 for MySQL++ by  doxygen 1.4.7