MySQL++ Reference Manual

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

# mysql++.h

Go to the documentation of this file.

    00001
    00002
    00003
    00004
    00005
    00006
    00007
    00008
    00009
    00010
    00011
    00012
    00013
    00014
    00015
    00016 /***********************************************************************
    00017  Copyright (c) 1998 by Kevin Atkinson, (c) 1999, 2000 and 2001 by
    00018  MySQL AB, and (c) 2004, 2005 by Educational Technology Resources, Inc.
    00019  Others may also hold copyrights on code in this file.  See the CREDITS
    00020  file in the top directory of the distribution for details.
    00021
    00022  This file is part of MySQL++.
    00023
    00024  MySQL++ is free software; you can redistribute it and/or modify it
    00025  under the terms of the GNU Lesser General Public License as published
    00026  by the Free Software Foundation; either version 2.1 of the License, or
    00027  (at your option) any later version.
    00028
    00029  MySQL++ is distributed in the hope that it will be useful, but WITHOUT
    00030  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
    00031  FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public
    00032  License for more details.
    00033
    00034  You should have received a copy of the GNU Lesser General Public
    00035  License along with MySQL++; if not, write to the Free Software
    00036  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301
    00037  USA
    00038 ***********************************************************************/
    00039
    00040 #if !defined(MYSQLPP_MYSQLPP_H)
    00041 #define MYSQLPP_MYSQLPP_H
    00042
    00043 // Encode MySQL++ library version number.  MYSQLPP_VERSION macro takes
    00044 // major, minor and bugfix numbers (e.g. 1, 2, and 3) and encodes them
    00045 // like 0x010203.  MYSQLPP_LIB_VERSION is the current library version
    00046 // in the same scheme, so between these two macros you can create
    00047 // conditional code based on the MySQL++ library version.
    00048 #define MYSQLPP_VERSION(major, minor, bugfix) \
    00049                 (((major) << 16) | ((minor) << 8) | (bugfix))
    00050 #define MYSQLPP_LIB_VERSION MYSQLPP_VERSION(2, 0, 6)
    00051
    00052 // This #include order gives the fewest redundancies in the #include
    00053 // dependency chain.
    00054 #include "connection.h"
    00055 #include "query.h"
    00056 #include "compare.h"
    00057
    00058 #endif // !defined(MYSQLPP_MYSQLPP_H)
    00059
    00060