Go to the source code of this file.
|#define||MYSQLPP_VERSION(major, minor, bugfix) (((major) << 16) | ((minor) << 8) | (bugfix))|
|Encode MySQL++ library version number. |
|#define||MYSQLPP_HEADER_VERSION MYSQLPP_VERSION(3, 1, 0)|
|Get the library version number that mysql++.h comes from. |
|unsigned int||mysqlpp::get_library_version ()|
|Get the current MySQL++ library version number. |
This file brings in all MySQL++ headers except for custom.h and custom-macros.h which are a strictly optional feature of MySQL++.
There is no point in trying to optimize which headers you include, because the MySQL++ headers are so intertwined. You can only get trivial compile time benefits, at the expense of clarity.
|#define MYSQLPP_HEADER_VERSION MYSQLPP_VERSION(3, 1, 0)|
Get the library version number that mysql++.h comes from.
MySQL++ Version number that the mysql++.h header file comes from, encoded by MYSQLPP_VERSION macro. Compare this value to what mysqlpp_lib_version() returns in order to ensure that your program is using header files from the same version of MySQL++ as the actual library you're linking to.
|bugfix||)||(((major) << 16) | ((minor) << 8) | (bugfix))|
Encode MySQL++ library version number.
This macro takes major, minor and bugfix numbers (e.g. 1, 2, and 3) and encodes them like 0x010203.