Drizzled Public API Documentation

func.h
1 /* -*- mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; -*-
2  * vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
3  *
4  * Copyright (C) 2008 Sun Microsystems, Inc.
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; version 2 of the License.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with this program; if not, write to the Free Software
17  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18  */
19 
20 #pragma once
21 
22 /* If you fix the parser to no longer create functions these can be moved to create.cc */
23 #include <drizzled/function/math/divide.h>
24 #include <drizzled/function/get_user_var.h>
25 #include <drizzled/function/math/int.h>
26 #include <drizzled/function/math/int_divide.h>
27 #include <drizzled/function/math/minus.h>
28 #include <drizzled/function/math/mod.h>
29 #include <drizzled/function/math/multiply.h>
30 #include <drizzled/function/math/neg.h>
31 #include <drizzled/function/math/plus.h>
32 #include <drizzled/function/rollup_const.h>
33 #include <drizzled/function/math/round.h>
34 #include <drizzled/function/user_var_as_out_param.h>
35 
36 /* For type casts */
37 
38 namespace drizzled {
39 
40 enum Cast_target
41 {
42  ITEM_CAST_BINARY,
43  ITEM_CAST_SIGNED,
44  ITEM_CAST_UNSIGNED,
45  ITEM_CAST_DATE,
46  ITEM_CAST_TIME,
47  ITEM_CAST_DATETIME,
48  ITEM_CAST_CHAR,
49  ITEM_CAST_BOOLEAN,
50  ITEM_CAST_DECIMAL
51 };
52 
53 } /* namespace drizzled */
54 
TODO: Rename this file - func.h is stupid.