MySQL++ Reference Manual

- Main Page
- Classes
- Files

- File List
- File Members

# 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-2008 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, 0, 9)
    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 "sql_types.h"
    00060 #include "transaction.h"
    00061
    00062 namespace mysqlpp {
    00063
    00071 MYSQLPP_EXPORT unsigned int get_library_version();
    00072
    00073 // This won't exist forever!  Wean yourself away from these as soon as
    00074 // you can!
    00075 #if defined(MYSQLPP_OLD_CLASS_NAMES)
    00076 #       define ColData String
    00077 #       define NullisBlank NullIsBlank
    00078 #       define NullisNull NullIsNull
    00079 #       define NullisZero NullIsZero
    00080 #       define ResNSel SimpleResult
    00081 #       define Result StoreQueryResult
    00082 #       define ResUse UseQueryResult
    00083 #       define SQLString SQLTypeAdapter
    00084 #endif
    00085
    00086 } // end namespace mysqlpp
    00087
    00088 #endif // !defined(MYSQLPP_MYSQLPP_H)
    00089
    00090