00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027 #if !defined(MYSQLPP_SQL_TYPES_H)
00028 #define MYSQLPP_SQL_TYPES_H
00029
00030 #include "common.h"
00031 #include "myset.h"
00032
00033 #include <string>
00034
00035 namespace mysqlpp {
00036
00037 #if !defined(DOXYGEN_IGNORE)
00038
00039
00040
00041
00042
00043 typedef signed char sql_tinyint;
00044 typedef unsigned char sql_tinyint_unsigned;
00045 typedef short sql_smallint;
00046 typedef unsigned short sql_smallint_unsigned;
00047 typedef int sql_int;
00048 typedef unsigned int sql_int_unsigned;
00049 typedef int sql_mediumint;
00050 typedef unsigned int sql_mediumint_unsigned;
00051 typedef longlong sql_bigint;
00052 typedef ulonglong sql_bigint_unsigned;
00053
00054 typedef float sql_float;
00055 typedef double sql_double;
00056 typedef double sql_decimal;
00057
00058 typedef Date sql_date;
00059 typedef Time sql_time;
00060 typedef Time sql_timestamp;
00061 typedef DateTime sql_datetime;
00062
00063 typedef std::string sql_enum;
00064
00065 typedef Set<> sql_set;
00066
00067 typedef std::string sql_blob;
00068 typedef std::string sql_tinyblob;
00069 typedef std::string sql_mediumblob;
00070 typedef std::string sql_longblob;
00071
00072 typedef std::string sql_char;
00073 typedef std::string sql_varchar;
00074
00075 #endif // !defined(DOXYGEN_IGNORE)
00076
00077 }
00078
00079 #endif // !defined(MYSQLPP_SQL_TYPES_H)
00080