~drizzle-trunk/drizzle/development

390.1.2 by Monty Taylor
Fixed copyright headers in drizzled/
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
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
 */
1 by brian
clean slate
19
1122.2.10 by Monty Taylor
Fixed all of the include guards.
20
#ifndef DRIZZLED_ITEM_FUNC_H
21
#define DRIZZLED_ITEM_FUNC_H
1 by brian
clean slate
22
23
648 by Brian Aker
Fix for create to keep its include files (which speeds up recompiles).
24
/* If you fix the parser to no longer create functions these can be moved to create.cc */
642.1.30 by Lee
move math functions to drizzled/function/math directory
25
#include <drizzled/function/math/divide.h>
670.1.20 by Monty Taylor
Renamed functions to function... everything else is singular.
26
#include <drizzled/function/get_user_var.h>
642.1.30 by Lee
move math functions to drizzled/function/math directory
27
#include <drizzled/function/math/int.h>
28
#include <drizzled/function/math/int_divide.h>
29
#include <drizzled/function/math/minus.h>
30
#include <drizzled/function/math/mod.h>
31
#include <drizzled/function/math/multiply.h>
32
#include <drizzled/function/math/neg.h>
33
#include <drizzled/function/math/plus.h>
670.1.20 by Monty Taylor
Renamed functions to function... everything else is singular.
34
#include <drizzled/function/rollup_const.h>
642.1.30 by Lee
move math functions to drizzled/function/math directory
35
#include <drizzled/function/math/round.h>
670.1.20 by Monty Taylor
Renamed functions to function... everything else is singular.
36
#include <drizzled/function/user_var_as_out_param.h>
1 by brian
clean slate
37
38
/* For type casts */
39
40
enum Cast_target
41
{
42
  ITEM_CAST_BINARY, ITEM_CAST_SIGNED_INT, ITEM_CAST_UNSIGNED_INT,
43
  ITEM_CAST_DATE, ITEM_CAST_TIME, ITEM_CAST_DATETIME, ITEM_CAST_CHAR,
44
  ITEM_CAST_DECIMAL
45
};
46
1122.2.10 by Monty Taylor
Fixed all of the include guards.
47
#endif /* DRIZZLED_ITEM_FUNC_H */