Drizzled Public API Documentation

func.h

00001 /* -*- mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; -*-
00002  *  vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
00003  *
00004  *  Copyright (C) 2008 Sun Microsystems, Inc.
00005  *
00006  *  This program is free software; you can redistribute it and/or modify
00007  *  it under the terms of the GNU General Public License as published by
00008  *  the Free Software Foundation; version 2 of the License.
00009  *
00010  *  This program is distributed in the hope that it will be useful,
00011  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00012  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00013  *  GNU General Public License for more details.
00014  *
00015  *  You should have received a copy of the GNU General Public License
00016  *  along with this program; if not, write to the Free Software
00017  *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
00018  */
00019 
00020 #pragma once
00021 
00022 
00023 /* If you fix the parser to no longer create functions these can be moved to create.cc */
00024 #include <drizzled/function/math/divide.h>
00025 #include <drizzled/function/get_user_var.h>
00026 #include <drizzled/function/math/int.h>
00027 #include <drizzled/function/math/int_divide.h>
00028 #include <drizzled/function/math/minus.h>
00029 #include <drizzled/function/math/mod.h>
00030 #include <drizzled/function/math/multiply.h>
00031 #include <drizzled/function/math/neg.h>
00032 #include <drizzled/function/math/plus.h>
00033 #include <drizzled/function/rollup_const.h>
00034 #include <drizzled/function/math/round.h>
00035 #include <drizzled/function/user_var_as_out_param.h>
00036 
00037 /* For type casts */
00038 
00039 namespace drizzled
00040 {
00041 
00042 enum Cast_target
00043 {
00044   ITEM_CAST_BINARY,
00045   ITEM_CAST_SIGNED,
00046   ITEM_CAST_UNSIGNED,
00047   ITEM_CAST_DATE,
00048   ITEM_CAST_TIME,
00049   ITEM_CAST_DATETIME,
00050   ITEM_CAST_CHAR,
00051   ITEM_CAST_BOOLEAN,
00052   ITEM_CAST_DECIMAL
00053 };
00054 
00055 } /* namespace drizzled */
00056