Shadowrun: Awakened 29 September 2011 - Build 871
datatype.h
Go to the documentation of this file.
00001 /*
00002    Copyright 2007 - 2008 MySQL AB, 2008 Sun Microsystems, Inc.  All rights reserved.
00003 
00004    The MySQL Connector/C++ is licensed under the terms of the GPL
00005    <http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>, like most
00006    MySQL Connectors. There are special exceptions to the terms and
00007    conditions of the GPL as it is applied to this software, see the
00008    FLOSS License Exception
00009    <http://www.mysql.com/about/legal/licensing/foss-exception.html>.
00010 */
00011 
00012 #ifndef _SQL_DATATYPE_H_
00013 #define _SQL_DATATYPE_H_
00014 
00015 namespace sql
00016 {
00017 
00018 class DataType
00019 {
00020     DataType();
00021 public:
00022     enum {
00023         UNKNOWN = 0,
00024         BIT,
00025         TINYINT,
00026         SMALLINT,
00027         MEDIUMINT,
00028         INTEGER,
00029         BIGINT,
00030         REAL,
00031         DOUBLE,
00032         DECIMAL,
00033         NUMERIC,
00034         CHAR,
00035         BINARY,
00036         VARCHAR,
00037         VARBINARY,
00038         LONGVARCHAR,
00039         LONGVARBINARY,
00040         TIMESTAMP,
00041         DATE,
00042         TIME,
00043         YEAR,
00044         GEOMETRY,
00045         ENUM,
00046         SET,
00047         SQLNULL
00048     };
00049 };
00050 
00051 } /* namespace */
00052 
00053 #endif /* _SQL_DATATYPE_H_ */

Copyright © 2007-2010 by The Shadowrun: Awakened Team. This work is licensed under the GNU Lesser General Public License 3.

GNU Lesser General Public License 3 Sourceforge.net