~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
 *
1999.6.1 by kalebral at gmail
update Copyright strings to a more common format to help with creating the master debian copyright file
4
 *  Copyright (C) 2008 Sun Microsystems, Inc.
390.1.2 by Monty Taylor
Fixed copyright headers in drizzled/
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
1280.1.10 by Monty Taylor
Put everything in drizzled into drizzled namespace.
40
namespace drizzled
41
{
42
1 by brian
clean slate
43
enum Cast_target
44
{
1237.6.11 by Brian Aker
Dead functions.
45
  ITEM_CAST_BINARY,
2015.1.3 by Brian Aker
Merge in CAST operators for SIGNED/UNSIGNED
46
  ITEM_CAST_SIGNED,
47
  ITEM_CAST_UNSIGNED,
1237.6.11 by Brian Aker
Dead functions.
48
  ITEM_CAST_DATE,
49
  ITEM_CAST_TIME,
50
  ITEM_CAST_DATETIME,
51
  ITEM_CAST_CHAR,
2023.2.4 by Brian Aker
Merge in cast() for BOOLEAN.
52
  ITEM_CAST_BOOLEAN,
1 by brian
clean slate
53
  ITEM_CAST_DECIMAL
54
};
55
1280.1.10 by Monty Taylor
Put everything in drizzled into drizzled namespace.
56
} /* namespace drizzled */
57
1122.2.10 by Monty Taylor
Fixed all of the include guards.
58
#endif /* DRIZZLED_ITEM_FUNC_H */